1 (0.050)
SET time_zone = '+00:00'
/var/www/html/wigwam_hu/public_html/system/framework.php:84
2 (0.248)
SELECT `data`
FROM `oc_session`
WHERE `session_id` = '24708313fd790fa92e9c3af7b1' AND `expire` > '2024-10-15 05:31:38'
/var/www/html/wigwam_hu/public_html/system/library/session/db.php:16
3 (0.114)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://wigwam.hu/'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/startup.php:6
4 (1.140)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/startup.php:25
5 (0.058)
SET time_zone = '+02:00'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/startup.php:40
6 (0.141)
SELECT *
FROM oc_currency
/var/www/html/wigwam_hu/public_html/system/library/cart/currency.php:10
7 (0.354)
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 = '97' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4251')
ORDER BY tr1.priority ASC
/var/www/html/wigwam_hu/public_html/system/library/cart/tax.php:16
8 (0.224)
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 = '97' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4251')
ORDER BY tr1.priority ASC
/var/www/html/wigwam_hu/public_html/system/library/cart/tax.php:44
9 (0.160)
SELECT *
FROM oc_weight_class wc
LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '1'
/var/www/html/wigwam_hu/public_html/system/library/cart/weight.php:10
10 (0.162)
SELECT *
FROM oc_length_class mc
LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '1'
/var/www/html/wigwam_hu/public_html/system/library/cart/length.php:10
11 (0.141)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/var/www/html/wigwam_hu/public_html/storage/modification/system/library/cart/cart.php:15
12 (0.128)
SELECT new_url , code, store_id
FROM oc_redirect_manager
WHERE old_url = 'index.php?route=product/product&product_id=80' AND status = 1 AND store_id = 0 LIMIT 1
/var/www/html/wigwam_hu/public_html/catalog/controller/extension/module/redirect_manager_pro.php:46
13 (0.300)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/var/www/html/wigwam_hu/public_html/catalog/model/setting/event.php:4
14 (0.198)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '24708313fd790fa92e9c3af7b1'
/var/www/html/wigwam_hu/public_html/storage/modification/system/library/cart/cart.php:45
15 (0.657)
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 pr.customer_group_id = '1' LIMIT 1) AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id IN (80) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:29
16 (0.160)
SELECT *
FROM oc_product_special ps
WHERE ps.customer_group_id = '1'
AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW())
AND ps.date_end != '0000-00-00' AND ps.date_end > NOW())
AND product_id IN (80)
GROUP BY ps.product_id
ORDER BY ps.priority ASC, ps.price ASC
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:97
17 (0.154)
SELECT
pi.product_id,
pi.image
FROM oc_product_image pi
INNER JOIN (
SELECT product_id, MIN(sort_order) AS sort_order
FROM oc_product_image
WHERE product_id IN (80)
GROUP BY product_id
) pi2
WHERE
pi.product_id = pi2.product_id
AND pi.sort_order = pi2.sort_order
GROUP BY product_id
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:117
18 (12.352)
SELECT *
FROM `oc_journal3_module`
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/module.php:9
19 (0.684)
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 pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '80' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:11
20 (0.205)
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 = '80' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:315
21 (0.112)
SELECT *
FROM oc_theme
WHERE store_id = '0'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/design/theme.php:12
22 (0.128)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/design/translation.php:18
23 (0.172)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/login' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
24 (0.160)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/register' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
25 (0.187)
SELECT *
FROM oc_seo_url
WHERE `query` = 'common/home' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
26 (0.487)
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 pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '80' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:11
27 (0.166)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/product' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
28 (0.138)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=80' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
29 (0.128)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/product' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
30 (0.129)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=80' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
31 (0.143)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/login' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
32 (0.146)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/register' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
33 (0.165)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/manufacturer/info' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
34 (0.152)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=0' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
35 (0.103)
SELECT *
FROM oc_product_image
WHERE product_id = '80'
ORDER BY sort_order ASC
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:399
36 (0.183)
SELECT *
FROM oc_product_discount
WHERE product_id = '80' AND customer_group_id = '1' AND quantity > 1 AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:393
37 (0.165)
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 = '80' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:343
38 (0.159)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/product' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
39 (0.144)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=80' AND store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
40 (0.193)
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 = '80' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:315
41 (0.174)
SELECT rd.*
FROM oc_product_recurring pr JOIN oc_recurring_description rd ON (rd.language_id = 1 AND rd.recurring_id = pr.recurring_id) JOIN oc_recurring r ON r.recurring_id = rd.recurring_id
WHERE pr.product_id = 80 AND status = '1' AND pr.customer_group_id = '1'
ORDER BY sort_order ASC
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:541
42 (0.139)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '80'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:4
43 (0.106)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '80' AND store_id = '0'
/var/www/html/wigwam_hu/public_html/storage/modification/catalog/model/catalog/product.php:417
44 (0.216)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/catalog/model/design/layout.php:4
45 (0.264)
SELECT
c.category_id
FROM `oc_category` c
LEFT JOIN `oc_category_to_store` c2s ON (c.category_id = c2s.category_id)
LEFT JOIN `oc_product_to_category` p2c ON (c.category_id = p2c.category_id)
LEFT JOIN `oc_product` p ON (p2c.product_id = p.product_id)
LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
WHERE
p2c.product_id IN (80)
AND c.status = '1'
AND c2s.store_id = '0'
AND p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
GROUP BY
c.category_id
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:237
46 (1.322)
SELECT *
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_product_to_category` p2c ON (p.product_id = p2c.product_id)
LEFT JOIN `oc_category` c ON (c.category_id = p2c.category_id)
LEFT JOIN `oc_category_to_store` c2s ON (c.category_id = c2s.category_id)
WHERE
c.category_id IN (1)
AND p.status = '1'
AND p.date_available <= NOW()
AND pd.language_id = '1'
AND p2s.store_id = '0'
AND c.status = '1'
AND c2s.store_id = '0'
AND p.product_id != '80'
ORDER BY p.sort_order ASC, LCASE(pd.name) ASC
LIMIT 0, 10
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:279
47 (1.267)
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 pr.customer_group_id = '1' LIMIT 1) AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id IN (2558,2,144,3998,584,585,583,586,587,7) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:29
48 (0.201)
SELECT *
FROM oc_product_special ps
WHERE ps.customer_group_id = '1'
AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW())
AND ps.date_end != '0000-00-00' AND ps.date_end > NOW())
AND product_id IN (2558,2,144,3998,584,585,583,586,587,7)
GROUP BY ps.product_id
ORDER BY ps.priority ASC, ps.price ASC
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:97
49 (0.140)
SELECT
pi.product_id,
pi.image
FROM oc_product_image pi
INNER JOIN (
SELECT product_id, MIN(sort_order) AS sort_order
FROM oc_product_image
WHERE product_id IN (2558,2,144,3998,584,585,583,586,587,7)
GROUP BY product_id
) pi2
WHERE
pi.product_id = pi2.product_id
AND pi.sort_order = pi2.sort_order
GROUP BY product_id
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:117
50 (0.136)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 2558
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
51 (0.133)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2558'
ORDER BY category_id DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:129
52 (4.279)
SELECT *
FROM oc_seo_url
WHERE store_id = '0' AND language_id = '1'
/var/www/html/wigwam_hu/public_html/storage/modification/system/library/journal3/url.php:102
53 (0.226)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 2
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
54 (0.161)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2'
ORDER BY category_id DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:129
55 (0.138)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 144
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
56 (0.148)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 3998
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
57 (0.140)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3998'
ORDER BY category_id DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:129
58 (0.132)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 584
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
59 (0.130)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 585
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
60 (0.133)
SELECT *
FROM oc_product_to_category
WHERE product_id = '585'
ORDER BY category_id DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:129
61 (0.163)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 583
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
62 (0.147)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 586
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
63 (0.147)
SELECT *
FROM oc_product_to_category
WHERE product_id = '586'
ORDER BY category_id DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:129
64 (0.145)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 587
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
65 (0.137)
SELECT *
FROM oc_product_to_category
WHERE product_id = '587'
ORDER BY category_id DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:129
66 (0.139)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 7
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
67 (0.281)
SELECT *
FROM oc_product_to_category
WHERE product_id = '7'
ORDER BY category_id DESC LIMIT 1
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:129
68 (0.313)
SELECT
DISTINCT op1.product_id
FROM `oc_order_product` op1
LEFT JOIN `oc_order_product` op2 ON op1.order_id = op2.order_id
LEFT JOIN `oc_product` p ON (op1.product_id = p.product_id)
LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
WHERE
op2.product_id IN (80)
AND op1.product_id NOT IN (80)
AND p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
LIMIT 0, 10
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:371
69 (0.161)
SELECT
p.product_id
FROM `oc_product` p
LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
WHERE
p.product_id IN (80)
AND p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:424
70 (0.495)
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 pr.customer_group_id = '1' LIMIT 1) AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id IN (80) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:29
71 (0.174)
SELECT *
FROM oc_product_special ps
WHERE ps.customer_group_id = '1'
AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW())
AND ps.date_end != '0000-00-00' AND ps.date_end > NOW())
AND product_id IN (80)
GROUP BY ps.product_id
ORDER BY ps.priority ASC, ps.price ASC
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:97
72 (0.164)
SELECT
pi.product_id,
pi.image
FROM oc_product_image pi
INNER JOIN (
SELECT product_id, MIN(sort_order) AS sort_order
FROM oc_product_image
WHERE product_id IN (80)
GROUP BY product_id
) pi2
WHERE
pi.product_id = pi2.product_id
AND pi.sort_order = pi2.sort_order
GROUP BY product_id
/var/www/html/wigwam_hu/public_html/catalog/model/journal3/product.php:117
73 (0.147)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 80
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
74 (0.152)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 233
/var/www/html/wigwam_hu/public_html/system/library/tagmanager.php:163
75 (0.148)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 163