1 (0.041)
SET time_zone = '+00:00'
/var/www/html/focicipobolt_hu/public_html/system/framework.php:84
2 (0.159)
SELECT `data`
FROM `oc_session`
WHERE `session_id` = 'ecb9bbf709b532d964498719fb' AND `expire` > '2024-12-13 06:51:53'
/var/www/html/focicipobolt_hu/public_html/system/library/session/db.php:16
3 (0.100)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://focicipobolt.hu/'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/startup.php:6
4 (1.286)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/startup.php:25
5 (0.065)
SET time_zone = '+01:00'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/startup.php:40
6 (0.142)
SELECT *
FROM oc_currency
/var/www/html/focicipobolt_hu/public_html/system/library/cart/currency.php:10
7 (0.341)
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/html/focicipobolt_hu/public_html/system/library/cart/tax.php:16
8 (0.260)
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/html/focicipobolt_hu/public_html/system/library/cart/tax.php:44
9 (0.203)
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/focicipobolt_hu/public_html/system/library/cart/weight.php:10
10 (0.171)
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/focicipobolt_hu/public_html/system/library/cart/length.php:10
11 (0.342)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/var/www/html/focicipobolt_hu/public_html/storage/modification/system/library/cart/cart.php:15
12 (0.130)
SELECT new_url , code, store_id
FROM oc_redirect_manager
WHERE old_url = 'adidas-copa-gloro-192-fg-' AND status = 1 AND store_id = 0 LIMIT 1
/var/www/html/focicipobolt_hu/public_html/catalog/controller/extension/module/redirect_manager_pro.php:46
13 (0.266)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/var/www/html/focicipobolt_hu/public_html/catalog/model/setting/event.php:4
14 (0.232)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'isenselabs_gdpr'
/var/www/html/focicipobolt_hu/public_html/catalog/model/setting/setting.php:6
15 (0.218)
SELECT *
FROM oc_seo_url
WHERE keyword = 'adidas-copa-gloro-192-fg-' AND store_id = '0'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:34
16 (0.210)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ecb9bbf709b532d964498719fb'
/var/www/html/focicipobolt_hu/public_html/storage/modification/system/library/cart/cart.php:45
17 (0.728)
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 (4121) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/product.php:29
18 (0.175)
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 (4121)
GROUP BY ps.product_id
ORDER BY ps.priority ASC, ps.price ASC
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/product.php:97
19 (0.296)
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 (4121)
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/focicipobolt_hu/public_html/catalog/model/journal3/product.php:117
20 (0.112)
SELECT *
FROM oc_theme
WHERE store_id = '0'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/design/theme.php:12
21 (29.713)
SELECT *
FROM `oc_journal3_module`
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/module.php:9
22 (0.882)
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 = '4121' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:11
23 (0.562)
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 = '4121' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:315
24 (0.469)
SELECT a.attribute_id, ad.name, pa.text
FROM oc_product_attribute pa
LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '4121' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1'
ORDER BY a.sort_order, ad.name
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:320
25 (3.173)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/design/translation.php:18
26 (0.239)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/login' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
27 (0.143)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/register' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
28 (1.019)
SELECT *
FROM oc_seo_url
WHERE `query` = 'common/home' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
29 (0.780)
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 = '4121' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:11
30 (0.217)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/product' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
31 (0.363)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=4121' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
32 (0.202)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/product' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
33 (0.314)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=4121' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
34 (0.128)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/login' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
35 (0.119)
SELECT *
FROM oc_seo_url
WHERE `query` = 'account/register' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
36 (0.213)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/manufacturer/info' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
37 (0.200)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=14' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
38 (0.196)
SELECT *
FROM oc_product_image
WHERE product_id = '4121'
ORDER BY sort_order ASC
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:399
39 (0.136)
SELECT *
FROM oc_product_discount
WHERE product_id = '4121' 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/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:393
40 (0.103)
SELECT *
FROM oc_product_to_category
WHERE product_id = '4121'
ORDER BY category_id DESC LIMIT 1
/var/www/html/focicipobolt_hu/public_html/system/library/tagmanager.php:129
41 (0.134)
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 = '115'
/var/www/html/focicipobolt_hu/public_html/system/library/tagmanager.php:157
42 (0.606)
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 = '4121' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:343
43 (0.597)
SELECT *
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '4121' AND pov.product_option_id = '8556' AND ovd.language_id = '1'
ORDER BY ov.sort_order
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:348
44 (0.269)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product/product' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:116
45 (0.293)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=4121' AND store_id = '0' AND language_id = '1'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/controller/startup/seo_url.php:105
46 (0.255)
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 = '4121' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:315
47 (0.465)
SELECT a.attribute_id, ad.name, pa.text
FROM oc_product_attribute pa
LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '4121' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1'
ORDER BY a.sort_order, ad.name
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:320
48 (0.207)
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 = 4121 AND status = '1' AND pr.customer_group_id = '1'
ORDER BY sort_order ASC
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:541
49 (0.147)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '4121'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:4
50 (0.258)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '4121' AND store_id = '0'
/var/www/html/focicipobolt_hu/public_html/storage/modification/catalog/model/catalog/product.php:417
51 (0.198)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/html/focicipobolt_hu/public_html/catalog/model/design/layout.php:4
52 (0.548)
SELECT
p.post_id,
p.image,
p.date_created as date,
p.views,
pd.name,
pd.description,
a.username,
a.firstname,
a.lastname,
(
SELECT count(*)
FROM `oc_journal3_blog_comments` bc
WHERE bc.post_id = p.post_id AND bc.status = 1 AND bc.parent_id = 0
) as comments
FROM `oc_journal3_blog_post` p
LEFT JOIN `oc_journal3_blog_post_to_product` p2p ON p.post_id = p2p.post_id
LEFT JOIN `oc_journal3_blog_post_description` pd ON p.post_id = pd.post_id
LEFT JOIN `oc_user` a ON p.author_id = a.user_id
WHERE
pd.language_id = '1'
AND p2p.product_id = 4121
AND p.date_created <= NOW()
AND p.status = 1
ORDER BY pd.name ASC
LIMIT 0, 8
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/blog.php:322
53 (0.153)
SELECT *
FROM `oc_product_to_category`
WHERE product_id = '4121'
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/product.php:208
54 (11.354)
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 (115)
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 != '4121'
AND p.quantity > 0
ORDER BY p.sort_order ASC, LCASE(pd.name) ASC
LIMIT 0, 10
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/product.php:279
55 (2.001)
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 (5209,5129,4757,4755,5562,5752,3169,4168,7217,6854) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/product.php:29
56 (0.281)
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 (5209,5129,4757,4755,5562,5752,3169,4168,7217,6854)
GROUP BY ps.product_id
ORDER BY ps.priority ASC, ps.price ASC
/var/www/html/focicipobolt_hu/public_html/catalog/model/journal3/product.php:97
57 (0.631)
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 (5209,5129,4757,4755,5562,5752,3169,4168,7217,6854)
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/focicipobolt_hu/public_html/catalog/model/journal3/product.php:117
58 (0.149)
SELECT m.name
from oc_manufacturer m
left join oc_product p on m.manufacturer_id = p.manufacturer_id
WHERE p.product_id = 5209
/var/www/html/focicipobolt_hu/public_html/system/library/tagmanager.php:163
59 (0.103)
SELECT *
FROM oc_product_to_category
WHERE product_id = '5209'
ORDER BY category_id DESC LIMIT 1
/var/www/html/focicipobolt_hu/public_html/system/library/tagmanager.php:129