1 (0.062)
SET time_zone = '+00:00'
/var/www/vhosts/szegimedshop.com/httpdocs/system/framework.php:84
2 (0.369)
SELECT `data`
FROM `oc_session`
WHERE `session_id` = '36522c1b86dce6c6351b7814d2' AND `expire` > '2024-11-21 10:35:50'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/session/db.php:16
3 (0.285)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://szegimedshop.com/'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/catalog/controller/startup/startup.php:6
4 (3.822)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/catalog/controller/startup/startup.php:25
5 (0.126)
SET time_zone = '+01:00'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/catalog/controller/startup/startup.php:40
6 (0.334)
SELECT *
FROM oc_currency
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/cart/currency.php:10
7 (0.872)
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 = '4259')
ORDER BY tr1.priority ASC
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/cart/tax.php:16
8 (0.639)
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 = '4259')
ORDER BY tr1.priority ASC
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/cart/tax.php:44
9 (0.435)
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/vhosts/szegimedshop.com/httpdocs/system/library/cart/weight.php:10
10 (0.412)
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/vhosts/szegimedshop.com/httpdocs/system/library/cart/length.php:10
11 (0.328)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:15
12 (0.437)
SELECT new_url , code, store_id
FROM oc_redirect_manager
WHERE old_url = 'index.php?manufacturer_id=41&route=product/manufacturer/info' AND status = 1 AND store_id = 0 LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/controller/extension/module/redirect_manager_pro.php:46
13 (0.736)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/event.php:4
14 (0.378)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
15 (0.264)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '1'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/catalog/model/design/translation.php:18
16 (0.363)
SELECT *
FROM oc_manufacturer m
LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
WHERE m.manufacturer_id = '41' AND m2s.store_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/catalog/manufacturer.php:4
17 (0.626)
SELECT COUNT(DISTINCT p.product_id) total
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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '1'
AND p.manufacturer_id = '41'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/filter.php:903
18 (1.006)
SELECT
p.product_id,
(
SELECT AVG(rating) total
FROM `oc_review` r1
WHERE
r1.product_id = p.product_id
AND r1.status = '1'
GROUP BY r1.product_id
) rating,
(
SELECT price
FROM `oc_product_discount` pd2
WHERE
pd2.product_id = p.product_id
AND pd2.customer_group_id = '1'
AND pd2.quantity = '1'
AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW())
AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
) 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
) special,
p.viewed as `p.viewed`,
if (p.quantity, 1, 0) in_stock
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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '1'
AND p.manufacturer_id = '41' GROUP BY p.product_id
ORDER BY p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0, 15
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/filter.php:892
19 (1.287)
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 (492) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/product.php:29
20 (0.350)
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 (492)
GROUP BY ps.product_id
ORDER BY ps.priority ASC, ps.price ASC
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/product.php:92
21 (0.338)
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 (492)
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/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/product.php:109
22 (0.312)
SELECT *
FROM oc_product_to_category
WHERE product_id = '492'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
23 (0.389)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '1'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
24 (0.500)
SELECT *
FROM oc_layout_route
WHERE 'product/manufacturer/info' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/design/layout.php:4
25 (0.307)
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 (0)
AND p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/product.php:424
26 (0.333)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 481
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
27 (0.226)
SELECT *
FROM oc_product_to_category
WHERE product_id = '481'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
28 (0.258)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '1'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
29 (0.337)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 515
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
30 (0.231)
SELECT *
FROM oc_product_to_category
WHERE product_id = '515'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
31 (0.245)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '4'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
32 (0.296)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 204
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
33 (0.231)
SELECT *
FROM oc_product_to_category
WHERE product_id = '204'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
34 (0.250)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '1'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
35 (0.209)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 316
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
36 (0.225)
SELECT *
FROM oc_product_to_category
WHERE product_id = '316'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
37 (0.228)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '1'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
38 (0.204)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 320
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
39 (0.195)
SELECT *
FROM oc_product_to_category
WHERE product_id = '320'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
40 (0.214)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '1'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
41 (1.006)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 298
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
42 (0.296)
SELECT *
FROM oc_product_to_category
WHERE product_id = '298'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
43 (0.243)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '2'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
44 (0.288)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 295
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
45 (0.214)
SELECT *
FROM oc_product_to_category
WHERE product_id = '295'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
46 (0.231)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '2'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
47 (0.287)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 214
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:163
48 (0.209)
SELECT *
FROM oc_product_to_category
WHERE product_id = '214'
ORDER BY category_id DESC LIMIT 1
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:129
49 (0.228)
SELECT c.category_id, cd1.name AS name, c.parent_id
FROM oc_category c
LEFT JOIN oc_category_description cd1 ON (c.category_id = cd1.category_id)
WHERE cd1.language_id = '1' AND c.category_id = '1'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:157
50 (0.242)
SELECT *
FROM oc_theme
WHERE store_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/catalog/model/design/theme.php:12
51 (0.506)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'isenselabs_gdpr'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/setting.php:6
52 (0.533)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'isenselabs_gdpr'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/setting.php:6
53 (0.422)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'isenselabs_gdpr'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/setting.php:6
54 (30.880)
SELECT *
FROM `oc_journal3_module`
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/module.php:9
55 (0.592)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'isenselabs_gdpr'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/setting.php:6
56 (0.290)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/extension.php:4
57 (0.261)
SELECT *
FROM oc_country
WHERE country_id = '97'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/tagmanager.php:1056
58 (0.343)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
59 (0.199)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/extension.php:4
60 (0.328)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
61 (0.326)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
62 (0.221)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/cart/customer.php:122
63 (0.326)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
64 (0.252)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
65 (0.330)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
66 (0.199)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/extension.php:4
67 (0.329)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
68 (0.237)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
69 (0.210)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/system/library/cart/customer.php:122
70 (0.323)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36522c1b86dce6c6351b7814d2'
/var/www/vhosts/szegimedshop.com/httpdocs/storage/modification/system/library/cart/cart.php:45
71 (0.325)
SELECT *
FROM oc_manufacturer m
LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
WHERE m.manufacturer_id = '41' AND m2s.store_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/catalog/manufacturer.php:4
72 (0.492)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'advertise_google'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/setting/setting.php:6
73 (1.213)
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 (492) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/product.php:29
74 (0.232)
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 (492)
GROUP BY ps.product_id
ORDER BY ps.priority ASC, ps.price ASC
/var/www/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/product.php:92
75 (0.266)
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 (492)
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/vhosts/szegimedshop.com/httpdocs/catalog/model/journal3/product.php:109