Blaze

select distinct p.products_model, p.products_quantity, p.products_image, pd.products_name, pd.products_description, pd.products_short, if((products_date_added between date_sub(NOW(), interval 3 month) and NOW()),1,0) as new_product, p.products_id, p.fragile, p.box, p.prohibited_item, p.bong, p.manufacturers_id, p.price_opt, p.qty_ramenki, p.qty_store,  p.qty_garage, p.qty_kuzminki, p.qty_krylo, p.qty_serp, p.qty_novokuzneckaya, IF(pd.popular='popular' OR pd.discount='discount',1,0) as galki, pd.products_url, pd.popular, pd.discount, pd.plan, p.products_tax_class_id, p.price_client as specials_new_products_price, p.price_client_shop as final_price,  p.products_price from products_to_categories p2c LEFT JOIN products_description pd ON pd.products_id = p2c.products_id LEFT JOIN products p ON p.products_id = p2c.products_id LEFT JOIN categories tc ON tc.categories_id=p2c.categories_id LEFT JOIN categories tc2 ON tc2.categories_id=tc.parent_id LEFT JOIN categories tc3 ON tc3.categories_id=tc2.parent_id WHERE (p.products_quantity>0 OR p.qty_ramenki>0 OR p.qty_kuzminki>0 OR p.qty_krylo>0 OR p.qty_serp>0 OR p.qty_novokuzneckaya>0) AND p.products_status = '1' and pd.language_id = '4' and (p2c.categories_id = '352' OR tc2.categories_id = '352' OR tc3.categories_id = '352') order by plan DESC, galki DESC, new_product DESC, pd.products_name ASC
Фильтр
 Цена     Наличие  1 | все

Бонг 'Blaze' Oilbong mini 'Die O' (21762)

    • высота 19 см
    • steck-ведро мама 12,5 мм
    • 1 x щелевой перколятор
    • устойчивое основание
    • подходит для масла
Цена для Вас: 4290 рубЦена для постоянных клиентов: 3990 руб
Цена в торговом зале: 4500 руб
SELECT distinct(products.products_id) FROM products_to_categories LEFT JOIN products ON products.products_id=products_to_categories.products_id LEFT JOIN products_description ON products_description.products_id=products_to_categories.products_id WHERE categories_id IN(315,347,348,349,350,351,352,404,405) AND (products_quantity > 0 OR qty_ramenki > 0 OR qty_kuzminki > 0 OR qty_krylo > 0 OR qty_serp > 0 OR qty_novokuzneckaya > 0) AND products.optOnly=0 AND products.products_status=1 AND products.prohibited_item=0 AND products.bong=0 ORDER BY RAND() LIMIT 19
Показано 1 - 1 (всего 1 позиций)  1 | все