1 (0.250)
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.827)
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.313)
SELECT *
FROM `oc_language`
WHERE status = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/index.php:148
4 (0.183)
SELECT *
FROM oc_currency
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/currency.php:13
5 (0.530)
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.465)
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.838)
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.249)
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.240)
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.253)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/library/openbay.php:117
11 (0.187)
SELECT *
FROM oc_event
/var/www/skladdve/data/www/sklad-dverey.com.ua/index.php:257
12 (0.421)
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.233)
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.695)
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 = '59' 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 (1.682)
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 = '21651' 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.321)
SELECT *
FROM oc_product_ukrcredits
WHERE product_id = '21651'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/uc/uc56.php:5
17 (0.464)
SELECT *
FROM oc_product_image
WHERE product_id = '21651'
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.460)
SELECT *
FROM oc_product_discount
WHERE product_id = '21651' 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 (1.033)
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 = '21651' 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 (3.878)
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 = '21651' AND pov.product_option_id = '350073' 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 (0.819)
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 = '21651' AND pov.product_option_id = '350075' 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
22 (0.723)
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 = '21651' AND pov.product_option_id = '350077' 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
23 (0.664)
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 = '21651' AND pov.product_option_id = '350076' 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
24 (0.633)
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 = '21651' AND pov.product_option_id = '350078' 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
25 (0.726)
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 = '21651' AND pov.product_option_id = '350074' 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
26 (4.644)
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 = '21651' AND pov.product_option_id = '350072' 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
27 (1.975)
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` = 21651 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
28 (1.655)
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` = 21651 AND atp.`attribute_id` = 358 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
29 (1.566)
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` = 21651 AND atp.`attribute_id` = 438 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
30 (1.039)
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` = 21651 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
31 (1.206)
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` = 21651 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
32 (1.031)
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` = 21651 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
33 (1.035)
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` = 21651 AND atp.`attribute_id` = 378 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
34 (0.815)
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` = 21651 AND atp.`attribute_id` = 350 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
35 (1.106)
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` = 21651 AND atp.`attribute_id` = 355 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
36 (1.148)
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` = 21651 AND atp.`attribute_id` = 365 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
37 (1.207)
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` = 21651 AND atp.`attribute_id` = 432 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
38 (1.929)
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` = 21651 AND atp.`attribute_id` = 341 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
39 (2.008)
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` = 21651 AND atp.`attribute_id` = 342 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
40 (1.216)
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` = 21651 AND atp.`attribute_id` = 343 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
41 (1.172)
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` = 21651 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
42 (1.182)
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` = 21651 AND atp.`attribute_id` = 311 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
43 (1.151)
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` = 21651 AND atp.`attribute_id` = 359 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
44 (1.007)
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` = 21651 AND atp.`attribute_id` = 363 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
45 (0.982)
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` = 21651 AND atp.`attribute_id` = 346 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
46 (1.140)
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` = 21651 AND atp.`attribute_id` = 347 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
47 (1.053)
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` = 21651 AND atp.`attribute_id` = 348 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
48 (1.002)
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` = 21651 AND atp.`attribute_id` = 381 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
49 (1.329)
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` = 21651 AND atp.`attribute_id` = 382 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
50 (1.884)
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` = 21651 AND atp.`attribute_id` = 353 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
51 (1.092)
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` = 21651 AND atp.`attribute_id` = 412 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
52 (0.986)
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` = 21651 AND atp.`attribute_id` = 414 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
53 (1.408)
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` = 21651 AND atp.`attribute_id` = 413 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
54 (1.013)
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` = 21651 AND atp.`attribute_id` = 366 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
55 (1.276)
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` = 21651 AND atp.`attribute_id` = 367 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
56 (1.148)
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` = 21651 AND atp.`attribute_id` = 368 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
57 (3.010)
SELECT `xdsticker_id`
FROM oc_xdstickers_product
WHERE product_id = '21651'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/xdstickers.php:9
58 (0.258)
SELECT *
FROM oc_xdstickers
WHERE xdsticker_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/xdstickers.php:4
59 (0.440)
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 = '21651' 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
60 (0.328)
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` = 21651 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
61 (0.397)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '21651'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:4
62 (0.229)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '21651' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
63 (0.324)
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
64 (0.221)
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
65 (0.157)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '21651' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
66 (0.194)
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
67 (0.208)
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
68 (0.247)
SELECT *
FROM oc_module
WHERE module_id = '37'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/module.php:4
69 (4.359)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21651'
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
70 (0.767)
SELECT *
FROM oc_product_to_category p2c
JOIN oc_product p on p.product_id=p2c.product_id
WHERE p.product_id = '21651'
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
71 (380.676)
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 <> '21651'
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='343' AND pa.text='Сборные') OR (pa.attribute_id='346' AND pa.text='Минимум стекла') OR (pa.attribute_id='347' AND pa.text='Горизонтальное') OR (pa.attribute_id='348' AND pa.text='Сатин черный') OR (pa.attribute_id='363' AND pa.text='С текстурой дерева') OR (pa.attribute_id='438' AND pa.text='6000 - 7000 грн@Оплата частями') )
AND p2c.category_id in (59)
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
72 (2.799)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21652'
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 (1.206)
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 = '21652' 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 (2.373)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21663'
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 (1.105)
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 = '21663' 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.965)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21664'
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.970)
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 = '21664' 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 (2.110)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21675'
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.178)
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 = '21675' 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.963)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21676'
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 (0.910)
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 = '21676' 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 (2.066)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '11810'
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.972)
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 = '11810' 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.231)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '11822'
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 (0.908)
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 = '11822' 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.104)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '11842'
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.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 = '11842' 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 (2.105)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '11854'
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 (0.972)
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 = '11854' 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 (2.318)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21158'
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.138)
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 = '21158' 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 (2.543)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21170'
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 (1.117)
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 = '21170' 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 (2.336)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21211'
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 (1.085)
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 = '21211' 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 (2.113)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21217'
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.999)
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 = '21217' 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.946)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21220'
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.900)
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 = '21220' 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 (2.100)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21232'
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 (1.069)
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 = '21232' 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 (2.133)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21238'
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 (1.078)
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 = '21238' 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 (2.098)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '21241'
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 (1.045)
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 = '21241' 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 (2.304)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25232'
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 (0.930)
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 = '25232' 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 (2.084)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25238'
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.928)
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 = '25238' 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.879)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '25244'
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 (1.043)
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 = '25244' 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 (2.092)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26180'
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.977)
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 = '26180' 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.862)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26184'
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.865)
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 = '26184' 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.859)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26194'
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.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 = '26194' 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 (2.010)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26198'
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 (0.961)
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 = '26198' 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.016)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26502'
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 (0.956)
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 = '26502' 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.075)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26504'
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 (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 = '26504' 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 (2.037)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26528'
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 (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 = '26528' 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.872)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26530'
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.820)
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 = '26530' 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.970)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26632'
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.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 = '26632' 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.906)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26634'
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.891)
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 = '26634' 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.986)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26684'
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.950)
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 = '26684' 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 (2.140)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26686'
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.944)
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 = '26686' 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 (2.148)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26891'
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.943)
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 = '26891' 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.005)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26895'
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.934)
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 = '26895' 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.970)
SELECT *
FROM oc_product_attribute pa
JOIN oc_product p on p.product_id=pa.product_id
WHERE p.product_id = '26722'
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.231)
SELECT *
FROM oc_attribute_description ad
WHERE ad.attribute_id = '438'
AND ad.language_id = '1'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/nkf_similar_products.php:38
142 (0.355)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '21651' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
143 (0.293)
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
144 (0.293)
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
145 (0.152)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '21651' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
146 (0.241)
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
147 (0.237)
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
148 (0.165)
SELECT *
FROM oc_module
WHERE module_id = '36'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/module.php:4
149 (1.202)
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 = '21651' 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
150 (1.298)
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
151 (0.808)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2024-10-10 22:45:25'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/tool/online.php:4
152 (0.203)
REPLACE INTO `oc_customer_online` SET `ip` = '3.236.86.184', `customer_id` = '0', `url` = 'http://sklad-dverey.com.ua/mejkomnatnye-dveri/vela-dub-naturalniy-steklo-chernoe', `referer` = '', `date_added` = '2024-10-10 23:45:25'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/tool/online.php:6
153 (1.191)
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 = '21651' 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
154 (0.181)
SELECT *
FROM oc_product_ukrcredits
WHERE product_id = '21651'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/uc/uc56.php:5
155 (0.340)
SELECT *
FROM oc_xdstickers
ORDER BY xdsticker_id ASC
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/module/xdstickers.php:42
156 (0.209)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/extension.php:4
157 (0.886)
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
158 (0.468)
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
159 (0.492)
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
160 (0.502)
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
161 (0.508)
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
162 (0.507)
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
163 (0.254)
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
164 (0.604)
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
165 (0.265)
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
166 (0.245)
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.338)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '21651' AND store_id = '0'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/catalog/model/catalog/product.php:535
168 (0.211)
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
169 (0.204)
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
170 (0.279)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'g94lfrgnq9qh7spkkbqj5g5i03'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40
171 (0.243)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/skladdve/data/www/sklad-dverey.com.ua/catalog/model/extension/extension.php:4
172 (0.213)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'g94lfrgnq9qh7spkkbqj5g5i03'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40
173 (0.207)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'g94lfrgnq9qh7spkkbqj5g5i03'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40
174 (0.250)
SELECT *
FROM oc_cart
WHERE customer_id = '0' AND session_id = 'g94lfrgnq9qh7spkkbqj5g5i03'
/var/www/skladdve/data/www/sklad-dverey.com.ua/system/storage/modification/system/library/cart.php:40