1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[.products_shadow_stock from products p left join specials s on p.products_id = ' at line 1
select distinct p.manufacturers_id, p.products_quantity, p.products_cost_price, p.products_trade_price, p.products_msrp, p.products_rrp_price, p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price, [.products_shadow_stock from products p left join specials s on p.products_id = s.products_id, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '45' and p.products_status = '1' and (p.siteid='fastladflp' or p.siteid='flpdist') order by p.products_date_added desc limit 0, 18