1 (0.194)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://m-com.kz/'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:39,
2 (0.510)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:51,
3 (0.327)
SELECT *
FROM `oc_language`
WHERE status = '1'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:135,
4 (0.347)
SELECT *
FROM oc_currency
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/currency.php:13, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:215,
5 (0.243)
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 = '109' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '0')
ORDER BY tr1.priority ASC
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/tax.php:26, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/tax.php:13, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:218,
6 (0.223)
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 = '109' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '0')
ORDER BY tr1.priority ASC
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/tax.php:54, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/tax.php:22, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:218,
7 (0.274)
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 = '3'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/weight.php:9, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:221,
8 (0.262)
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 = '3'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/length.php:9, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:224,
9 (0.258)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/openbay.php:116, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/library/openbay.php:10, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:233,
10 (0.203)
SELECT *
FROM oc_event
/var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:239,
11 (0.371)
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 = '134' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/category.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:90, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
12 (0.278)
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 = '134' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/category.php:10, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:154, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
13 (0.984)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '140'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
14 (1.029)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '143'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
15 (1.598)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '145'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
16 (1.437)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '144'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
17 (1.063)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '142'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
18 (1.204)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '135'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
19 (2.635)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '136'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
20 (0.777)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '139'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
21 (0.647)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_category_path cp
LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id)
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '141'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:164, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
22 (3.493)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM oc_product_to_category p2c
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '134'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:626, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:181, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
23 (14.365)
SELECT p.product_id, (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 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
FROM oc_product_to_category p2c
LEFT JOIN oc_product p ON (p2c.product_id = p.product_id)
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)
WHERE pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '134' GROUP BY p.product_id
ORDER BY p.stock_status_id DESC, (CASE WHEN special IS NOT NULL THEN special WHEN discount IS NOT NULL THEN discount ELSE p.price END) ASC, LCASE(pd.name) ASC LIMIT 0,99
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:260, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
24 (1.259)
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 = '3') 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 = '3') 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 = '3') 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 = '1232' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
25 (1.119)
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 = '3') 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 = '3') 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 = '3') 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 = '916' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
26 (1.090)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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 = '1515' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
27 (1.070)
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 = '3') 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 = '3') 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 = '3') 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 = '1140' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
28 (1.038)
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 = '3') 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 = '3') 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 = '3') 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 = '1441' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
29 (1.003)
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 = '3') 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 = '3') 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 = '3') 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 = '1017' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
30 (1.018)
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 = '3') 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 = '3') 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 = '3') 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 = '1262' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
31 (1.052)
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 = '3') 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 = '3') 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 = '3') 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 = '1282' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
32 (1.201)
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 = '3') 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 = '3') 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 = '3') 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 = '1497' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
33 (1.128)
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 = '3') 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 = '3') 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 = '3') 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 = '1162' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
34 (1.055)
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 = '3') 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 = '3') 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 = '3') 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 = '1272' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
35 (1.086)
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 = '3') 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 = '3') 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 = '3') 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 = '1155' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
36 (1.140)
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 = '3') 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 = '3') 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 = '3') 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 = '1576' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
37 (1.119)
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 = '3') 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 = '3') 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 = '3') 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 = '1356' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
38 (1.139)
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 = '3') 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 = '3') 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 = '3') 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 = '1387' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
39 (1.118)
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 = '3') 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 = '3') 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 = '3') 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 = '1011' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
40 (1.160)
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 = '3') 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 = '3') 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 = '3') 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 = '1200' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
41 (1.116)
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 = '3') 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 = '3') 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 = '3') 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 = '1291' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
42 (1.108)
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 = '3') 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 = '3') 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 = '3') 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 = '1388' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
43 (1.042)
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 = '3') 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 = '3') 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 = '3') 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 = '1082' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
44 (1.066)
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 = '3') 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 = '3') 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 = '3') 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 = '1189' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
45 (1.060)
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 = '3') 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 = '3') 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 = '3') 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 = '1131' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
46 (1.071)
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 = '3') 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 = '3') 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 = '3') 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 = '1052' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
47 (1.137)
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 = '3') 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 = '3') 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 = '3') 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 = '1278' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
48 (1.108)
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 = '3') 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 = '3') 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 = '3') 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 = '1298' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
49 (1.026)
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 = '3') 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 = '3') 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 = '3') 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 = '1015' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
50 (1.089)
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 = '3') 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 = '3') 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 = '3') 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 = '1183' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
51 (1.026)
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 = '3') 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 = '3') 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 = '3') 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 = '1199' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
52 (1.019)
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 = '3') 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 = '3') 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 = '3') 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 = '1286' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
53 (1.073)
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 = '3') 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 = '3') 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 = '3') 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 = '1061' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
54 (1.086)
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 = '3') 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 = '3') 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 = '3') 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 = '1223' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
55 (1.106)
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 = '3') 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 = '3') 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 = '3') 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 = '1187' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
56 (1.034)
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 = '3') 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 = '3') 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 = '3') 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 = '1369' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
57 (1.368)
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 = '3') 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 = '3') 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 = '3') 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 = '1575' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
58 (1.230)
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 = '3') 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 = '3') 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 = '3') 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 = '1355' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
59 (1.320)
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 = '3') 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 = '3') 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 = '3') 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 = '1543' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
60 (1.009)
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 = '3') 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 = '3') 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 = '3') 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 = '1089' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
61 (1.160)
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 = '3') 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 = '3') 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 = '3') 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 = '808' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
62 (1.091)
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 = '3') 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 = '3') 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 = '3') 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 = '1177' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
63 (1.046)
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 = '3') 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 = '3') 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 = '3') 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 = '1574' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
64 (1.083)
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 = '3') 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 = '3') 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 = '3') 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 = '1545' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
65 (1.154)
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 = '3') 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 = '3') 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 = '3') 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 = '1025' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
66 (1.205)
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 = '3') 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 = '3') 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 = '3') 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 = '1541' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
67 (1.161)
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 = '3') 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 = '3') 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 = '3') 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 = '1542' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
68 (1.165)
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 = '3') 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 = '3') 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 = '3') 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 = '1504' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
69 (1.131)
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 = '3') 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 = '3') 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 = '3') 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 = '1523' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
70 (1.260)
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 = '3') 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 = '3') 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 = '3') 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 = '1547' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
71 (1.152)
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 = '3') 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 = '3') 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 = '3') 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 = '1457' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
72 (1.193)
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 = '3') 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 = '3') 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 = '3') 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 = '806' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
73 (1.270)
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 = '3') 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 = '3') 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 = '3') 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 = '1512' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
74 (1.302)
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 = '3') 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 = '3') 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 = '3') 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 = '1153' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
75 (1.144)
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 = '3') 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 = '3') 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 = '3') 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 = '1510' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
76 (1.100)
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 = '3') 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 = '3') 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 = '3') 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 = '1239' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
77 (1.041)
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 = '3') 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 = '3') 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 = '3') 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 = '1453' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
78 (1.197)
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 = '3') 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 = '3') 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 = '3') 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 = '1519' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
79 (1.051)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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 = '1514' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
80 (1.034)
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 = '3') 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 = '3') 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 = '3') 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 = '1095' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
81 (1.032)
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 = '3') 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 = '3') 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 = '3') 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 = '1546' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
82 (1.161)
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 = '3') 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 = '3') 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 = '3') 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 = '1509' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
83 (1.087)
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 = '3') 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 = '3') 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 = '3') 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 = '1166' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
84 (1.046)
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 = '3') 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 = '3') 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 = '3') 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 = '1142' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
85 (1.063)
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 = '3') 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 = '3') 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 = '3') 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 = '1300' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
86 (1.018)
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 = '3') 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 = '3') 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 = '3') 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 = '1507' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
87 (1.128)
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 = '3') 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 = '3') 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 = '3') 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 = '894' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
88 (1.035)
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 = '3') 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 = '3') 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 = '3') 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 = '1452' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
89 (1.034)
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 = '3') 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 = '3') 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 = '3') 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 = '1516' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
90 (1.400)
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 = '3') 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 = '3') 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 = '3') 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 = '1503' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
91 (1.216)
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 = '3') 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 = '3') 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 = '3') 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 = '1314' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
92 (1.229)
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 = '3') 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 = '3') 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 = '3') 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 = '1077' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
93 (1.257)
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 = '3') 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 = '3') 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 = '3') 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 = '1250' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
94 (1.239)
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 = '3') 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 = '3') 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 = '3') 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 = '1107' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
95 (1.608)
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 = '3') 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 = '3') 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 = '3') 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 = '1190' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
96 (1.218)
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 = '3') 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 = '3') 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 = '3') 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 = '1169' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
97 (1.255)
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 = '3') 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 = '3') 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 = '3') 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 = '1132' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
98 (1.194)
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 = '3') 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 = '3') 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 = '3') 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 = '1461' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
99 (1.293)
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 = '3') 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 = '3') 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 = '3') 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 = '1234' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
100 (1.338)
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 = '3') 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 = '3') 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 = '3') 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 = '1390' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
101 (1.251)
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 = '3') 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 = '3') 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 = '3') 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 = '1426' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
102 (1.185)
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 = '3') 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 = '3') 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 = '3') 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 = '1224' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
103 (1.084)
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 = '3') 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 = '3') 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 = '3') 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 = '1417' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
104 (1.252)
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 = '3') 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 = '3') 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 = '3') 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 = '1565' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
105 (1.336)
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 = '3') 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 = '3') 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 = '3') 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 = '1154' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
106 (1.209)
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 = '3') 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 = '3') 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 = '3') 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 = '1283' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
107 (1.563)
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 = '3') 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 = '3') 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 = '3') 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 = '1252' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
108 (2.095)
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 = '3') 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 = '3') 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 = '3') 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 = '1501' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
109 (2.460)
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 = '3') 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 = '3') 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 = '3') 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 = '1210' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
110 (10.081)
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 = '3') 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 = '3') 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 = '3') 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 = '1539' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
111 (1.655)
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 = '3') 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 = '3') 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 = '3') 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 = '1277' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
112 (1.621)
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 = '3') 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 = '3') 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 = '3') 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 = '1268' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
113 (1.094)
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 = '3') 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 = '3') 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 = '3') 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 = '1019' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
114 (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 = '3') 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 = '3') 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 = '3') 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 = '1518' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
115 (1.115)
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 = '3') 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 = '3') 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 = '3') 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 = '1520' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
116 (1.108)
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 = '3') 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 = '3') 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 = '3') 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 = '1384' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
117 (1.141)
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 = '3') 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 = '3') 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 = '3') 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 = '1281' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
118 (1.126)
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 = '3') 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 = '3') 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 = '3') 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 = '1511' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
119 (1.347)
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 = '3') 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 = '3') 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 = '3') 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 = '804' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
120 (1.184)
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 = '3') 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 = '3') 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 = '3') 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 = '1549' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
121 (1.057)
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 = '3') 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 = '3') 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 = '3') 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 = '1209' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
122 (1.061)
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 = '3') 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 = '3') 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 = '3') 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 = '1333' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:263, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:183, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
123 (0.685)
SELECT *
FROM oc_category_to_layout
WHERE category_id = '134' AND store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/category.php:55, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/column_left.php:19, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:397, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
124 (0.241)
SELECT *
FROM oc_layout_route
WHERE 'product/category' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/column_left.php:35, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:397, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
125 (0.241)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'column_left'
ORDER BY sort_order
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:14, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/column_left.php:46, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:397, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
126 (0.401)
SELECT *
FROM oc_module
WHERE module_id = '48'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/extension/module.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/column_left.php:56, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:397, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
127 (0.292)
SELECT *
FROM oc_category_to_layout
WHERE category_id = '134' AND store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/category.php:55, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/column_right.php:19, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:398, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
128 (0.239)
SELECT *
FROM oc_layout_route
WHERE 'product/category' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/column_right.php:35, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:398, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
129 (0.219)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'column_right'
ORDER BY sort_order
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:14, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/column_right.php:44, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:398, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
130 (0.240)
SELECT *
FROM oc_category_to_layout
WHERE category_id = '134' AND store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/category.php:55, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/content_top.php:19, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:399, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
131 (0.222)
SELECT *
FROM oc_layout_route
WHERE 'product/category' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/content_top.php:35, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:399, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
132 (0.218)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'content_top'
ORDER BY sort_order
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:14, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/content_top.php:44, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:399, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
133 (0.395)
SELECT *
FROM oc_category_to_layout
WHERE category_id = '134' AND store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/category.php:55, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/content_bottom.php:19, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:400, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
134 (0.595)
SELECT *
FROM oc_layout_route
WHERE 'product/category' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/content_bottom.php:35, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:400, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
135 (0.214)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:14, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/content_bottom.php:44, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:400, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
136 (0.885)
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 = '3' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/information.php:10, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:46, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:401, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
137 (0.209)
SELECT *
FROM oc_category_to_layout
WHERE category_id = '134' AND store_id = '0'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/category.php:55, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/footer_top.php:19, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:74, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:401, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
138 (0.197)
SELECT *
FROM oc_layout_route
WHERE 'product/category' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/footer_top.php:35, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:74, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:401, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
139 (0.195)
SELECT *
FROM oc_layout_module
WHERE layout_id = '3' AND position = 'footer_top'
ORDER BY sort_order
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/design/layout.php:14, /var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/controller/common/footer_top.php:44, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:74, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:401, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
140 (0.679)
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 = '3' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/catalog/information.php:10, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/common/header.php:43, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:402, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,
141 (0.233)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/vhosts/citycom.kz/public_html/m-com.kz/catalog/model/extension/extension.php:4, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/common/cart.php:17, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/common/header.php:201, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/catalog/controller/product/category.php:402, /var/www/vhosts/citycom.kz/public_html/m-com.kz/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:37, /var/www/vhosts/citycom.kz/public_html/m-com.kz/system/modification/system/engine/front.php:30, /var/www/vhosts/citycom.kz/public_html/m-com.kz/index.php:262,