1 (0.292)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://sklad-dverey.com.ua/'
/var/www/skladdve/data/www/sklad-dverey.com.ua/index.php:37
2 (2.983)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/index.php:49
3 (0.182)
SELECT *
FROM `oc_language`
WHERE status = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/index.php:148
4 (0.221)
SELECT *
FROM oc_currency
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/currency.php:13
5 (0.540)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '220' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '0')
ORDER BY tr1.priority ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/tax.php:26
6 (0.365)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '220' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '0')
ORDER BY tr1.priority ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/tax.php:54
7 (0.212)
SELECT *
FROM oc_weight_class wc
LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/weight.php:9
8 (0.231)
SELECT *
FROM oc_length_class mc
LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/length.php:9
9 (0.327)
DELETE
FROM oc_cart
WHERE customer_id = '0' AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:14
10 (0.178)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/openbay.php:117
11 (0.177)
SELECT *
FROM oc_event
/var/www/skladdve/data/www/sklad-dverey.com.ua/index.php:257
12 (0.271)
SELECT `url`
FROM `oc_language`
WHERE `language_id` = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/controller/common/seo_pro.php:32
13 (0.178)
SELECT *
FROM oc_language
WHERE status = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/controller/common/seo_pro.php:36
14 (0.616)
SELECT DISTINCT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '63' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/category.php:4
15 (2.223)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25865' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
16 (0.222)
SELECT *
FROM oc_product_ukrcredits
WHERE product_id = '25865'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/uc/uc56.php:5
17 (0.224)
SELECT *
FROM oc_product_image
WHERE product_id = '25865'
ORDER BY sort_order ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:517
18 (0.282)
SELECT *
FROM oc_product_discount
WHERE product_id = '25865' AND customer_group_id = '1' AND quantity > 1 AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:511
19 (0.794)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '25865' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:455
20 (1.018)
SELECT *
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '25865' AND pov.product_option_id = '291602' AND ovd.language_id = '1'
ORDER BY ov.sort_order
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:460
21 (1.038)
SELECT ag.`attribute_group_id`, agd.`name` AS name_group, a.`attribute_id`, ad.`name`, agd.`tooltip` AS tooltip_group , ad.`tooltip`
FROM `oc_attribute_text_product` atp
LEFT JOIN `oc_attribute` a ON (atp.`attribute_id` = a.`attribute_id`)
LEFT JOIN `oc_attribute_group` ag ON (a.`attribute_group_id` = ag.`attribute_group_id`)
LEFT JOIN `oc_attribute_description` ad ON (a.`attribute_id` = ad.`attribute_id`)
LEFT JOIN `oc_attribute_group_description` agd ON (ag.`attribute_group_id` = agd.`attribute_group_id`)
WHERE atp.`product_id` = 25865 AND agd.`language_id` = 1 AND ad.`language_id` = 1 GROUP BY a.`attribute_id`
ORDER BY ag.`sort_order`, `name_group`, a.`sort_order`, ad.`name`
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:377
22 (1.059)
SELECT at.`text_id`, atl.`text`, at.`image`
FROM `oc_attribute_text_product` atp
LEFT JOIN `oc_attribute_text` at ON (atp.`text_id` = at.`text_id`)
LEFT JOIN `oc_attribute_text_lang` atl ON (at.`text_id` = atl.`text_id`)
WHERE atp.`product_id` = 25865 AND atp.`attribute_id` = 420 AND atl.`language_id` = 1 GROUP BY at.`text_id`
ORDER BY at.`sort_order`, atl.`text`
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:380
23 (1.464)
SELECT at.`text_id`, atl.`text`, at.`image`
FROM `oc_attribute_text_product` atp
LEFT JOIN `oc_attribute_text` at ON (atp.`text_id` = at.`text_id`)
LEFT JOIN `oc_attribute_text_lang` atl ON (at.`text_id` = atl.`text_id`)
WHERE atp.`product_id` = 25865 AND atp.`attribute_id` = 352 AND atl.`language_id` = 1 GROUP BY at.`text_id`
ORDER BY at.`sort_order`, atl.`text`
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:380
24 (1.563)
SELECT at.`text_id`, atl.`text`, at.`image`
FROM `oc_attribute_text_product` atp
LEFT JOIN `oc_attribute_text` at ON (atp.`text_id` = at.`text_id`)
LEFT JOIN `oc_attribute_text_lang` atl ON (at.`text_id` = atl.`text_id`)
WHERE atp.`product_id` = 25865 AND atp.`attribute_id` = 434 AND atl.`language_id` = 1 GROUP BY at.`text_id`
ORDER BY at.`sort_order`, atl.`text`
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:380
25 (1.448)
SELECT at.`text_id`, atl.`text`, at.`image`
FROM `oc_attribute_text_product` atp
LEFT JOIN `oc_attribute_text` at ON (atp.`text_id` = at.`text_id`)
LEFT JOIN `oc_attribute_text_lang` atl ON (at.`text_id` = atl.`text_id`)
WHERE atp.`product_id` = 25865 AND atp.`attribute_id` = 340 AND atl.`language_id` = 1 GROUP BY at.`text_id`
ORDER BY at.`sort_order`, atl.`text`
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:380
26 (1.451)
SELECT at.`text_id`, atl.`text`, at.`image`
FROM `oc_attribute_text_product` atp
LEFT JOIN `oc_attribute_text` at ON (atp.`text_id` = at.`text_id`)
LEFT JOIN `oc_attribute_text_lang` atl ON (at.`text_id` = atl.`text_id`)
WHERE atp.`product_id` = 25865 AND atp.`attribute_id` = 310 AND atl.`language_id` = 1 GROUP BY at.`text_id`
ORDER BY at.`sort_order`, atl.`text`
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:380
27 (2.692)
SELECT `xdsticker_id`
FROM oc_xdstickers_product
WHERE product_id = '25865'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/xdstickers.php:9
28 (0.245)
SELECT *
FROM oc_xdstickers
WHERE xdsticker_id = '4'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/xdstickers.php:4
29 (0.322)
SELECT *
FROM oc_product_related pr
LEFT JOIN oc_product p ON (pr.related_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pr.product_id = '25865' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:525
30 (0.216)
SELECT `pd`.*
FROM `oc_product_recurring` `pp` JOIN `oc_recurring_description` `pd` ON `pd`.`language_id` = 1 AND `pd`.`recurring_id` = `pp`.`recurring_id` JOIN `oc_recurring` `p` ON `p`.`recurring_id` = `pd`.`recurring_id`
WHERE `product_id` = 25865 AND `status` = 1 AND `customer_group_id` = 1
ORDER BY `sort_order` ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:691
31 (0.281)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '25865'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:4
32 (0.177)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '25865' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
33 (0.239)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:4
34 (0.218)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_left'
ORDER BY sort_order
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:14
35 (0.196)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '25865' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
36 (0.230)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:4
37 (0.232)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_right'
ORDER BY sort_order
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:14
38 (0.197)
SELECT *
FROM oc_module
WHERE module_id = '37'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/module.php:4
39 (2.213)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25865'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
40 (0.396)
SELECT *
FROM oc_product_to_category p2c
JOIN oc_product p on p.product_id=p2c.product_id
WHERE p.product_id = '25865'
AND p.status = '1'
AND p.date_available <= NOW()
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:72
41 (5.437)
SELECT p.product_id
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
JOIN oc_product_to_category p2c on p.product_id=p2c.product_id
WHERE p.product_id <> '25865'
AND p.status = '1'
AND p.date_available <= NOW()
AND p.quantity>0
AND p.price>0
AND pa.language_id = '1'
AND ( (pa.attribute_id='310' AND pa.text='Никель/хром') OR (pa.attribute_id='420' AND pa.text='600 - 2000 грн@Оплата частями') )
AND p2c.category_id in (63)
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
group by product_id
order by count(*) DESC, p.price, p.product_id
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:124
42 (1.697)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25768'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
43 (1.132)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25768' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
44 (1.638)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25835'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
45 (1.789)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25835' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
46 (1.773)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25836'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
47 (0.848)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25836' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
48 (1.709)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25838'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
49 (1.031)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25838' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
50 (1.593)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25908'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
51 (1.611)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25908' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
52 (1.511)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25909'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
53 (0.922)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25909' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
54 (1.671)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25860'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
55 (1.463)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25860' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
56 (1.907)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25885'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
57 (1.671)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25885' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
58 (1.706)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25842'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
59 (1.020)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25842' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
60 (1.824)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25861'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
61 (0.794)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25861' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
62 (1.518)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25862'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
63 (0.731)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25862' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
64 (1.658)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25874'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
65 (1.023)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25874' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
66 (1.822)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25910'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
67 (0.949)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25910' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
68 (7.857)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25766'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
69 (1.341)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25766' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
70 (1.700)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25767'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
71 (0.898)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25767' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
72 (1.605)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25817'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
73 (0.975)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25817' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
74 (1.896)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25839'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
75 (0.921)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25839' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
76 (1.792)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25840'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
77 (0.869)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25840' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
78 (1.502)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25845'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
79 (1.439)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25845' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
80 (1.589)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25847'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
81 (1.192)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25847' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
82 (1.587)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25867'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
83 (0.853)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25867' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
84 (2.034)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25876'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
85 (1.275)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25876' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
86 (2.120)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25879'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
87 (1.051)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25879' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
88 (1.785)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25884'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
89 (1.843)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25884' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
90 (1.704)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25887'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
91 (1.306)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25887' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
92 (1.725)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25907'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
93 (0.787)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25907' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
94 (1.836)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25915'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
95 (0.873)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25915' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
96 (1.778)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25916'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
97 (0.805)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25916' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
98 (1.599)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25920'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
99 (0.802)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25920' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
100 (1.761)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25921'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
101 (0.862)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25921' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
102 (1.601)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25844'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
103 (0.788)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25844' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
104 (1.818)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25881'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
105 (0.760)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25881' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
106 (1.615)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25893'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
107 (1.090)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25893' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
108 (1.827)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25864'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
109 (0.880)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25864' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
110 (1.708)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25866'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
111 (0.819)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25866' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
112 (1.680)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25900'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
113 (0.769)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25900' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
114 (1.786)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25901'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
115 (0.876)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25901' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
116 (1.574)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25918'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
117 (0.867)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25918' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
118 (3.379)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25869'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
119 (3.979)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25869' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
120 (2.975)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25873'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
121 (2.724)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25873' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
122 (2.131)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25912'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
123 (1.401)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25912' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
124 (1.789)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25914'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
125 (1.399)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25914' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
126 (1.809)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25928'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
127 (0.825)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25928' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
128 (1.778)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25827'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
129 (0.874)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25827' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
130 (1.568)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25895'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
131 (0.833)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25895' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
132 (1.693)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25859'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
133 (0.746)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25859' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
134 (1.786)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25922'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
135 (0.783)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25922' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
136 (1.615)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25904'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
137 (0.954)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25904' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
138 (2.070)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25905'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
139 (0.814)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25905' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
140 (1.979)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25877'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
141 (0.765)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25877' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
142 (1.566)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25846'
AND p.status = '1'
AND pa.language_id = '1'
AND p.date_available <= NOW()
AND pa.attribute_id not in (358,434,377,425,379,376,413,414,365,311,417,401,416,400,428,421,408,429,409,432,374,340,372,362,368,359,366,364,439,378,415,350,406,431,341,342,380,373,344,426,424,441,398,437,430,381,360,423,427,352,351,419,370,411,367,407,371,440,355,382,349,418,410,402,375,412,353)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:23
143 (0.218)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '25865' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
144 (0.242)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:4
145 (0.187)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_top'
ORDER BY sort_order
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:14
146 (0.149)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '25865' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
147 (0.210)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:4
148 (0.267)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:14
149 (0.192)
SELECT *
FROM oc_module
WHERE module_id = '36'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/module.php:4
150 (1.163)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25865' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
151 (1.510)
SELECT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/information.php:10
152 (0.624)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2024-10-10 22:22:44'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/tool/online.php:4
153 (0.218)
REPLACE INTO `oc_customer_online` SET `ip` = '3.236.86.184', `customer_id` = '0', `url` = 'http://sklad-dverey.com.ua/ruchki-i-furnitura/ruchka_rich-art_lester_306_r64_msn_matovyj_nikel', `referer` = '', `date_added` = '2024-10-10 23:22:44'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/tool/online.php:6
154 (0.907)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_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 oc_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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '25865' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:15
155 (0.213)
SELECT *
FROM oc_product_ukrcredits
WHERE product_id = '25865'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/uc/uc56.php:5
156 (0.700)
SELECT *
FROM oc_xdstickers
ORDER BY xdsticker_id ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/xdstickers.php:42
157 (0.258)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/extension.php:4
158 (0.932)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/category.php:10
159 (0.477)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '62' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/category.php:10
160 (0.613)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '59' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/category.php:10
161 (0.619)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '63' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/category.php:10
162 (0.472)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '137' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/category.php:10
163 (0.464)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '140' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/catalog/category.php:10
164 (0.206)
SELECT *
FROM oc_language
ORDER BY sort_order, name
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/ocd_multilang.php:6
165 (0.837)
SELECT DISTINCT *
FROM oc_megamenuvh
ORDER BY sort_menu ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nsmenu.php:4
166 (0.334)
SELECT *
FROM oc_language
ORDER BY sort_order, name
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/ocd_multilang.php:6
167 (0.261)
SELECT *
FROM oc_language
ORDER BY sort_order, name
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/ocd_multilang.php:6
168 (0.203)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '25865' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
169 (0.205)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:4
170 (0.194)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_filter'
ORDER BY sort_order
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/design/layout.php:14
171 (0.360)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'dm2cnltvaak4m8a1oviesf4g06'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40
172 (0.183)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/extension.php:4
173 (0.215)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'dm2cnltvaak4m8a1oviesf4g06'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40
174 (0.227)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'dm2cnltvaak4m8a1oviesf4g06'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40
175 (0.194)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'dm2cnltvaak4m8a1oviesf4g06'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40