Hammam
W7335
226,20€
/ ROLLO
select distinct p.products_id, if(s.status, s.specials_new_products_price, p.products_price) as final_price, if(p.products_quantity > 0, 1, 0) as quantity from products p left join products_description pd on (p.products_id = pd.products_id and pd.language_id = '3') left join specials s on (p.products_id = s.products_id and s.customers_group_id = '0') left join products_to_categories p2c on (p.products_id = p2c.products_id) left join products_to_manufacturer_categories p2mc on (p.products_id = p2mc.products_id) where p.products_status = '1' and p2c.categories_id = '1' order by quantity desc, p2c.products_ordered asc, p.products_id desc