1 (2.805)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://micom.kz/'
/home/micom/public_html/index.php:39,
2 (118.898)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/home/micom/public_html/index.php:51,
3 (22.642)
SELECT *
FROM `oc_language`
WHERE status = '1'
/home/micom/public_html/index.php:135,
4 (20.499)
SELECT *
FROM oc_currency
/home/micom/public_html/system/library/currency.php:13, /home/micom/public_html/index.php:215,
5 (1,188.787)
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/system/library/tax.php:26, /home/micom/public_html/system/library/tax.php:13, /home/micom/public_html/index.php:218,
6 (576.814)
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/system/library/tax.php:54, /home/micom/public_html/system/library/tax.php:22, /home/micom/public_html/index.php:218,
7 (251.891)
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/system/library/weight.php:9, /home/micom/public_html/index.php:221,
8 (135.190)
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/system/library/length.php:9, /home/micom/public_html/index.php:224,
9 (126.398)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/micom/public_html/system/library/openbay.php:116, /home/micom/public_html/system/library/openbay.php:10, /home/micom/public_html/index.php:233,
10 (14.876)
SELECT *
FROM oc_event
/home/micom/public_html/index.php:239,
11 (449.133)
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 = '1570' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:184, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
12 (43.322)
SELECT *
FROM oc_product_image
WHERE product_id = '1570'
ORDER BY sort_order ASC
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:439, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:344, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
13 (16.629)
SELECT *
FROM oc_product_discount
WHERE product_id = '1570' 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/system/modification/catalog/model/catalog/product.php:433, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:375, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
14 (11.787)
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 = '1570' AND od.language_id = '3'
ORDER BY o.sort_order
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:396, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:388, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
15 (28.384)
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 = '1570' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:368, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:444, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
16 (12.155)
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 = '1570' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:447, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
17 (53.240)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '3') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '1262' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
18 (266.964)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '3') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '1277' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
19 (29.484)
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 = '1321' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
20 (85.956)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '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 = '1354' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
21 (8.428)
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 = '1409' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
22 (43.321)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '3') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '1497' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
23 (19.498)
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 = '1513' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:8, /home/micom/public_html/system/modification/catalog/model/catalog/product.php:450, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:448, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
24 (27.305)
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` = 1570 AND `status` = 1 AND `customer_group_id` = 1
ORDER BY `sort_order` ASC
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:632, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:544, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
25 (2.080)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '1570'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:4, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:546, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
26 (1.775)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1570' AND store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/catalog/controller/common/column_left.php:25, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:548, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
27 (6.015)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/catalog/model/design/layout.php:4, /home/micom/public_html/catalog/controller/common/column_left.php:35, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:548, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
28 (55.130)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_left'
ORDER BY sort_order
/home/micom/public_html/catalog/model/design/layout.php:14, /home/micom/public_html/catalog/controller/common/column_left.php:46, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:548, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
29 (49.671)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1570' AND store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/catalog/controller/common/column_right.php:25, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:549, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
30 (27.770)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/catalog/model/design/layout.php:4, /home/micom/public_html/catalog/controller/common/column_right.php:35, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:549, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
31 (5.323)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_right'
ORDER BY sort_order
/home/micom/public_html/catalog/model/design/layout.php:14, /home/micom/public_html/catalog/controller/common/column_right.php:44, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:549, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
32 (7.526)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1570' AND store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/catalog/controller/common/content_top.php:25, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:550, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
33 (20.860)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/catalog/model/design/layout.php:4, /home/micom/public_html/catalog/controller/common/content_top.php:35, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:550, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
34 (20.176)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_top'
ORDER BY sort_order
/home/micom/public_html/catalog/model/design/layout.php:14, /home/micom/public_html/catalog/controller/common/content_top.php:44, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:550, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
35 (32.341)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1570' AND store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/catalog/controller/common/content_bottom.php:25, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:551, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
36 (7.852)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/catalog/model/design/layout.php:4, /home/micom/public_html/catalog/controller/common/content_bottom.php:35, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:551, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
37 (40.307)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_bottom'
ORDER BY sort_order
/home/micom/public_html/catalog/model/design/layout.php:14, /home/micom/public_html/catalog/controller/common/content_bottom.php:44, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:551, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
38 (380.168)
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/catalog/model/catalog/information.php:10, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:46, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:552, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
39 (26.618)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1570' AND store_id = '0'
/home/micom/public_html/system/modification/catalog/model/catalog/product.php:457, /home/micom/public_html/catalog/controller/common/footer_top.php:25, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:74, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:552, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
40 (109.267)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/micom/public_html/catalog/model/design/layout.php:4, /home/micom/public_html/catalog/controller/common/footer_top.php:35, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:74, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:552, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
41 (12.444)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'footer_top'
ORDER BY sort_order
/home/micom/public_html/catalog/model/design/layout.php:14, /home/micom/public_html/catalog/controller/common/footer_top.php:44, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_common_footer.php:74, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:552, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
42 (245.187)
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/catalog/model/catalog/information.php:10, /home/micom/public_html/system/modification/catalog/controller/common/header.php:43, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:553, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,
43 (7.861)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/micom/public_html/catalog/model/extension/extension.php:4, /home/micom/public_html/system/modification/catalog/controller/common/cart.php:17, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/system/modification/catalog/controller/common/header.php:201, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_loader.php:12, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:553, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_system_engine_action.php:65, /home/micom/public_html/system/modification/system/engine/front.php:37, /home/micom/public_html/system/modification/system/engine/front.php:30, /home/micom/public_html/index.php:262,