Creme Forest Pharmacy
SELECT distinct p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_available, if(s.status, s.specials_new_products_price, null) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, case when s.status>0 and s.specials_new_products_price>0 then 1 else 0 end as offer FROM products p LEFT JOIN manufacturers m ON (p.manufacturers_id = m.manufacturers_id) LEFT JOIN specials s ON p.products_id = s.products_id, products_description pd, products_to_categories p2c, categories c WHERE p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id and c.categories_id = 736 AND p.products_id = pd.products_id AND pd.language_id = '7' AND p.products_status = '1' ORDER BY final_price ASC, pd.products_name limit 0, 48
[TEP STOP]