SELECT p.product_id, (SELECT AVG(rating) AS total FROM toptel_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price FROM toptel_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price FROM toptel_product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special FROM toptel_product p LEFT JOIN toptel_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN toptel_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.manufacturer_id = '187' GROUP BY p.product_id ORDER BY p.quantity DESC, p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0,13
T-Phox
Артикул: YG-4356 Защитное стекло T-Phox Glass Screen 5D For Huawei Mate 10 lite Black

349 грн

Артикул: YG-4359 Защитное стекло T-Phox Glass Screen 5D For Huawei P20 Lite Black

349 грн

Артикул: YG-4358 Защитное стекло T-Phox Glass Screen 5D For Huawei P20 Pro Black

349 грн

Артикул: IT-23553 СЗУ PD адаптер T-phox (48W: PD 30W + USB QuickCharge QC 3.0 18W) Black

1 089 грн

Артикул: IT-23358 СЗУ PD адаптер T-phox (48W: PD 30W + USB QuickCharge QC 3.0 18W) White

1 089 грн

Артикул: YG-3841 Чехол T-Phox Huawei Mate 10 Lite - Shiny Black

199 грн

Артикул: YG-3843 Чехол T-Phox Huawei Mate 10 Lite Shiny Gold

199 грн

Артикул: YG-4303 Чехол T-Phox Huawei P20 - Armor TPU Grey

249 грн

Артикул: YG-4304 Чехол T-Phox Huawei P20 - Armor TPU Transparent

249 грн

Артикул: YG-4305 Чехол T-Phox Huawei P20 - Shiny Black

249 грн

Артикул: YG-3842 Чехол силиконовый T-PHOX Huawei Mate 10 Lite Shiny Red

199 грн

Артикул: YG-4317 Чехол силиконовый T-Phox Huawei P20 Lite Armor Grey

249 грн

Артикул: YG-4312 Чехол силиконовый T-Phox Huawei P20 Pro Shiny Black

199 грн

Показать еще
15 товаров