1 (0.792)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://micom.kz/'
/home/micom/public_html/index.php:39,
2 (44.280)
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 (0.838)
SELECT *
FROM `oc_language`
WHERE status = '1'
/home/micom/public_html/index.php:135,
4 (1.091)
SELECT *
FROM oc_currency
/home/micom/public_html/system/library/currency.php:13, /home/micom/public_html/index.php:215,
5 (4.583)
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 (2.934)
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 (0.769)
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 (0.544)
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 (3.779)
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 (0.564)
SELECT *
FROM oc_event
/home/micom/public_html/index.php:239,
11 (4.431)
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 = '167' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/micom/public_html/catalog/model/catalog/category.php:4, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:56, /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 (0.507)
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 = '171' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/micom/public_html/catalog/model/catalog/category.php:4, /home/micom/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_product_product.php:67, /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 (2.202)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '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 = '1000' 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,
14 (0.579)
SELECT *
FROM oc_product_image
WHERE product_id = '1000'
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,
15 (0.292)
SELECT *
FROM oc_product_discount
WHERE product_id = '1000' 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,
16 (0.392)
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 = '1000' 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,
17 (0.470)
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 = '1000' 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,
18 (1.344)
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 = '1000' 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,
19 (2.141)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '3') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '476' 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 (2.421)
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 = '613' 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 (2.958)
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 = '666' 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 (1.959)
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 = '689' 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 (2.375)
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 = '956' 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 (1.972)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '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 = '999' 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,
25 (0.790)
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` = 1000 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,
26 (1.019)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '1000'
/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,
27 (0.941)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1000' 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,
28 (1.950)
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,
29 (0.692)
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,
30 (0.438)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1000' 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,
31 (1.820)
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,
32 (0.914)
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,
33 (0.503)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1000' 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,
34 (1.211)
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,
35 (0.995)
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,
36 (0.626)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1000' 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,
37 (1.078)
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,
38 (0.589)
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,
39 (5.260)
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,
40 (0.758)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '1000' 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,
41 (1.263)
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,
42 (0.534)
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,
43 (5.713)
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,
44 (2.808)
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,