-
select distinct p.products_id, pd.products_name, p.products_image, IFNULL(s.specials_new_products_price,p.products_price) as products_price from products p, products_description pd, products_to_categories p2c, categories c left join specials s on p.products_id = s.products_id where p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '3' and p2c.categories_id = c.categories_id and c.parent_id = '28' and p.products_status = '1' order by p.products_date_added DESC, pd.products_name limit 6
[TEP STOP]
|