Notice: Error: 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 '' at line 1
Error No: 1064
SELECT p.*,, s.description as size, c.description as colour, format(price,2) as sales_price, (select sum(quantity) from product_inventory_locations where product_id = p.product_id) as stock FROM product p left join product_description pd on pd.product_id = p.product_id left join colours c on = p.colour_id left join sizes s on = p.size_id WHERE p.parent_id = in /home/deploy/sites/opencart/public/system/database/mysql.php on line 49