1 (1.687)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://m-com.kz/'
/home/micom/public_html/m-com.kz/index.php:39,
2 (37.616)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/home/micom/public_html/m-com.kz/index.php:51,
3 (1.860)
SELECT *
FROM `oc_language`
WHERE status = '1'
/home/micom/public_html/m-com.kz/index.php:135,
4 (3.210)
SELECT *
FROM oc_currency
/home/micom/public_html/m-com.kz/system/library/currency.php:13, /home/micom/public_html/m-com.kz/index.php:215,
5 (11.251)
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
/home/micom/public_html/m-com.kz/system/library/tax.php:26, /home/micom/public_html/m-com.kz/system/library/tax.php:13, /home/micom/public_html/m-com.kz/index.php:218,
6 (3.552)
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
/home/micom/public_html/m-com.kz/system/library/tax.php:54, /home/micom/public_html/m-com.kz/system/library/tax.php:22, /home/micom/public_html/m-com.kz/index.php:218,
7 (2.697)
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'
/home/micom/public_html/m-com.kz/system/library/weight.php:9, /home/micom/public_html/m-com.kz/index.php:221,
8 (3.597)
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'
/home/micom/public_html/m-com.kz/system/library/length.php:9, /home/micom/public_html/m-com.kz/index.php:224,
9 (6.883)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/micom/public_html/m-com.kz/system/library/openbay.php:116, /home/micom/public_html/m-com.kz/system/library/openbay.php:10, /home/micom/public_html/m-com.kz/index.php:233,
10 (1.668)
SELECT *
FROM oc_event
/home/micom/public_html/m-com.kz/index.php:239,
11 (10.415)
SELECT *
FROM oc_product_to_category
WHERE product_id = '345'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:467, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:13, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
12 (86.718)
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 = '159' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/micom/public_html/m-com.kz/catalog/model/catalog/category.php:4, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:24, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
13 (0.784)
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 = '158' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/micom/public_html/m-com.kz/catalog/model/catalog/category.php:4, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:24, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
14 (0.743)
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 = '158' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/micom/public_html/m-com.kz/catalog/model/catalog/category.php:4, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:56, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
15 (0.851)
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 = '159' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/micom/public_html/m-com.kz/catalog/model/catalog/category.php:4, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:67, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
16 (12.065)
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 = '345' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:184, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
17 (2.218)
SELECT *
FROM oc_product_image
WHERE product_id = '345'
ORDER BY sort_order ASC
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:439, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:343, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
18 (0.473)
SELECT *
FROM oc_product_discount
WHERE product_id = '345' AND customer_group_id = '1' AND quantity > 1 AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY quantity ASC, priority ASC, price ASC
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:433, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:374, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
19 (2.786)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '345' AND od.language_id = '3'
ORDER BY o.sort_order
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:396, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:387, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
20 (2.523)
SELECT ag.attribute_group_id, agd.name
FROM oc_product_attribute pa
LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '345' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:368, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:443, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
21 (7.689)
SELECT *
FROM oc_product_related pr
LEFT JOIN oc_product p ON (pr.related_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pr.product_id = '345' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:447, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
22 (2.862)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '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 = '529' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
23 (4.497)
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 = '738' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
24 (2.879)
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 = '739' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
25 (3.134)
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 = '776' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
26 (3.150)
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 = '881' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
27 (3.327)
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 = '891' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
28 (2.551)
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 = '925' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
29 (2.222)
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 = '997' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
30 (1.858)
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 = '1020' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
31 (2.641)
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 = '1108' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
32 (2.169)
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'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
33 (2.948)
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 = '1228' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
34 (4.343)
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 = '1229' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
35 (2.976)
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 = '1280' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
36 (2.096)
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 = '1312' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
37 (3.187)
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 = '1315' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
38 (1.828)
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 = '1322' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
39 (2.300)
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 = '1365' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
40 (2.881)
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 = '1371' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
41 (2.992)
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'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
42 (2.399)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '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 = '1397' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
43 (2.427)
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 = '1414' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
44 (2.444)
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'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
45 (2.559)
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 = '1474' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
46 (2.538)
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 = '1526' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
47 (2.380)
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 = '1535' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
48 (2.525)
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 = '1560' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
49 (2.382)
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 = '1562' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
50 (3.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 = '1564' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
51 (2.713)
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 = '1579' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
52 (2.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 = '1584' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:447, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
53 (1.836)
SELECT `pd`.*
FROM `oc_product_recurring` `pp` JOIN `oc_recurring_description` `pd` ON `pd`.`language_id` = 3 AND `pd`.`recurring_id` = `pp`.`recurring_id` JOIN `oc_recurring` `p` ON `p`.`recurring_id` = `pd`.`recurring_id`
WHERE `product_id` = 345 AND `status` = 1 AND `customer_group_id` = 1
ORDER BY `sort_order` ASC
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:632, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:543, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
54 (0.608)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '345'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:4, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:545, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
55 (1.188)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '345' AND store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/m-com.kz/catalog/controller/common/column_left.php:25, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:547, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
56 (1.790)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:4, /home/micom/public_html/m-com.kz/catalog/controller/common/column_left.php:35, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:547, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
57 (0.987)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_left'
ORDER BY sort_order
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:14, /home/micom/public_html/m-com.kz/catalog/controller/common/column_left.php:46, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:547, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
58 (0.369)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '345' AND store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/m-com.kz/catalog/controller/common/column_right.php:25, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:548, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
59 (1.128)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:4, /home/micom/public_html/m-com.kz/catalog/controller/common/column_right.php:35, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:548, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
60 (0.410)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_right'
ORDER BY sort_order
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:14, /home/micom/public_html/m-com.kz/catalog/controller/common/column_right.php:44, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:548, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
61 (0.333)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '345' AND store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/m-com.kz/catalog/controller/common/content_top.php:25, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:549, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
62 (1.383)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:4, /home/micom/public_html/m-com.kz/catalog/controller/common/content_top.php:35, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:549, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
63 (0.928)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_top'
ORDER BY sort_order
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:14, /home/micom/public_html/m-com.kz/catalog/controller/common/content_top.php:44, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:549, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
64 (0.407)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '345' AND store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/m-com.kz/catalog/controller/common/content_bottom.php:25, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:550, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
65 (1.268)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:4, /home/micom/public_html/m-com.kz/catalog/controller/common/content_bottom.php:35, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:550, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
66 (0.521)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_bottom'
ORDER BY sort_order
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:14, /home/micom/public_html/m-com.kz/catalog/controller/common/content_bottom.php:44, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:550, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
67 (11.098)
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
/home/micom/public_html/m-com.kz/catalog/model/catalog/information.php:10, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/common/footer.php:42, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:551, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
68 (0.638)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '345' AND store_id = '0'
/home/micom/public_html/m-com.kz/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/m-com.kz/catalog/controller/common/footer_top.php:25, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/common/footer.php:70, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:551, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
69 (2.646)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:4, /home/micom/public_html/m-com.kz/catalog/controller/common/footer_top.php:35, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/common/footer.php:70, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:551, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
70 (0.495)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'footer_top'
ORDER BY sort_order
/home/micom/public_html/m-com.kz/catalog/model/design/layout.php:14, /home/micom/public_html/m-com.kz/catalog/controller/common/footer_top.php:44, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/common/footer.php:70, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:551, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
71 (5.782)
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
/home/micom/public_html/m-com.kz/catalog/model/catalog/information.php:10, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/common/header.php:43, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:552, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,
72 (2.055)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/micom/public_html/m-com.kz/catalog/model/extension/extension.php:4, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/common/cart.php:17, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/common/header.php:201, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/loader.php:12, /home/micom/public_html/m-com.kz/system/modification/catalog/controller/product/product.php:552, /home/micom/public_html/m-com.kz/system/modification/system/engine/action.php:65, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:37, /home/micom/public_html/m-com.kz/system/modification/system/engine/front.php:30, /home/micom/public_html/m-com.kz/index.php:262,