1 (0.175)
SELECT `data`
FROM `oc_session`
WHERE session_id = '8015cab4375f7b81af49aa3753' AND expire > 1714161788
/var/www/clients/client1/web1/web/system/library/session/db.php:41
2 (0.145)
SELECT `data`
FROM `oc_session`
WHERE session_id = '906d5eea1d1474fb75753df8ef' AND expire > 1714161788
/var/www/clients/client1/web1/web/system/library/session/db.php:41
3 (0.150)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://anticariat-ursu.ro/'
/var/www/clients/client1/web1/web/catalog/controller/startup/startup.php:6
4 (0.678)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/clients/client1/web1/web/catalog/controller/startup/startup.php:25
5 (0.421)
SELECT *
FROM oc_currency
/var/www/clients/client1/web1/web/storage/modification/system/library/cart/currency.php:10
6 (0.790)
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 = 'payment' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2703')
ORDER BY tr1.priority ASC
/var/www/clients/client1/web1/web/system/library/cart/tax.php:30
7 (0.813)
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 = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2703')
ORDER BY tr1.priority ASC
/var/www/clients/client1/web1/web/system/library/cart/tax.php:44
8 (0.471)
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 = '2'
/var/www/clients/client1/web1/web/system/library/cart/weight.php:10
9 (0.459)
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 = '2'
/var/www/clients/client1/web1/web/system/library/cart/length.php:10
10 (6.424)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 DAY)
/var/www/clients/client1/web1/web/system/library/cart/cart.php:29
11 (0.189)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/var/www/clients/client1/web1/web/catalog/model/setting/event.php:4
12 (0.176)
SELECT *
FROM oc_seo_url
WHERE keyword = 'adio-arme-a-avea-si-a-nu-avea__ernest-hemingway__3307.html' AND store_id = '0'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:37
13 (0.409)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '3307' LIMIT 1
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:544
14 (0.381)
SELECT cp.*
FROM oc_category c JOIN oc_category_path cp ON (c.category_id = cp.category_id)
LEFT JOIN oc_category_path l ON (c.category_id = l.category_id AND c.category_id = l.path_id)
WHERE c.category_id = '15'
ORDER BY cp.level ASC, c.sort_order ASC
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:547
15 (0.352)
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 = '63' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/var/www/clients/client1/web1/web/catalog/model/catalog/category.php:7
16 (0.313)
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 = '15' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/var/www/clients/client1/web1/web/catalog/model/catalog/category.php:7
17 (0.338)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=442' AND store_id = '0' AND language_id = '2'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:169
18 (0.281)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=442' AND store_id = '0' AND language_id = '2'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:169
19 (0.249)
SELECT *
FROM oc_product_image
WHERE product_id = '3307'
ORDER BY sort_order ASC
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1039
20 (0.278)
SELECT *
FROM oc_product_discount
WHERE product_id = '3307' 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/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1027
21 (0.157)
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 = '3307' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1055
22 (0.609)
SELECT p.product_id
FROM oc_product p
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)
WHERE p2c.category_id = '15' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.product_id != '3307' AND p.quantity > 0 LIMIT 8
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:502
23 (148.500)
SELECT *
FROM oc_product p
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE p.manufacturer_id = '442' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.product_id != '3307' AND p.quantity > 0 LIMIT 8
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:524
24 (36.910)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT cd.name
FROM oc_product_to_category p2c
LEFT JOIN oc_category_description cd ON p2c.category_id = cd.category_id
WHERE p.product_id = p2c.product_id LIMIT 1) AS category, (SELECT p2c2.category_id
FROM oc_product_to_category p2c2
WHERE p.product_id = p2c2.product_id LIMIT 1) AS category_id,(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 = '2') 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 = '2') 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 = '2') 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(1) 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, IF(pov.price IS NOT NULL, pov.price, p.price) AS price, p.product_id
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)
LEFT JOIN (SELECT MIN(povv.price) AS price, povv.product_id
FROM oc_product_option_value povv
WHERE povv.quantity > 0 GROUP BY povv.product_id) pov ON (pov.product_id = p.product_id)
WHERE p.product_id = '91686' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:30
25 (0.181)
SELECT *
FROM oc_product_image
WHERE product_id = '91686'
ORDER BY sort_order ASC
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1039
26 (0.248)
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 = '91686' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:897
27 (0.351)
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 = '91686' AND a.attribute_group_id = '1' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:907
28 (22.350)
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 = '91686' AND od.language_id = '2'
ORDER BY o.sort_order
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:953
29 (41.092)
SELECT * , SUM(quantity) AS quantity
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 = '91686' AND pov.product_option_id = '30448' AND ovd.language_id = '2' AND pov.quantity > '0' GROUP BY pov.option_value_id, pov.price
ORDER BY pov.price
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:963
30 (0.158)
SELECT rd.*
FROM oc_product_recurring pr JOIN oc_recurring_description rd ON (rd.language_id = 2 AND rd.recurring_id = pr.recurring_id) JOIN oc_recurring r ON r.recurring_id = rd.recurring_id
WHERE pr.product_id = 3307 AND status = '1' AND pr.customer_group_id = '1'
ORDER BY sort_order ASC
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1380
31 (0.572)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '3307'
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:7
32 (0.122)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3307' AND store_id = '0'
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1075
33 (0.139)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:4
34 (0.069)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_left'
ORDER BY sort_order
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:14
35 (0.146)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3307' AND store_id = '0'
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1075
36 (0.179)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:4
37 (0.171)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_right'
ORDER BY sort_order
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:14
38 (0.093)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3307' AND store_id = '0'
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1075
39 (0.116)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:4
40 (0.070)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_top'
ORDER BY sort_order
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:14
41 (0.051)
SELECT *
FROM oc_module
WHERE module_id = '47'
/var/www/clients/client1/web1/web/catalog/model/setting/module.php:4
42 (0.117)
SELECT *
FROM `oc_pb_bundles`
WHERE
`store_id`='0'
AND `products` != ''
AND `status`= '1'
AND `date_available` <= NOW()
AND `products_show` LIKE '%"3307"%' LIMIT 0, 2
/var/www/clients/client1/web1/web/catalog/model/extension/module/productbundles.php:92
43 (0.108)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3307' AND store_id = '0'
/var/www/clients/client1/web1/web/storage/modification/catalog/model/catalog/product.php:1075
44 (0.157)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:4
45 (0.132)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/clients/client1/web1/web/catalog/model/design/layout.php:14
46 (0.065)
SELECT *
FROM oc_module
WHERE module_id = '46'
/var/www/clients/client1/web1/web/catalog/model/setting/module.php:4
47 (1.654)
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 = '2' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/information.php:10
48 (0.140)
SELECT *
FROM oc_seo_url
WHERE `query` = 'information_id=6' AND store_id = '0' AND language_id = '2'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:169
49 (0.126)
SELECT *
FROM oc_seo_url
WHERE `query` = 'information_id=3' AND store_id = '0' AND language_id = '2'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:169
50 (0.131)
SELECT *
FROM oc_seo_url
WHERE `query` = 'information_id=5' AND store_id = '0' AND language_id = '2'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:169
51 (0.059)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/clients/client1/web1/web/catalog/model/setting/extension.php:4
52 (0.127)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '906d5eea1d1474fb75753df8ef'
/var/www/clients/client1/web1/web/system/library/cart/cart.php:71
53 (0.149)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/clients/client1/web1/web/catalog/model/setting/extension.php:4
54 (0.128)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '906d5eea1d1474fb75753df8ef'
/var/www/clients/client1/web1/web/system/library/cart/cart.php:71
55 (0.088)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '906d5eea1d1474fb75753df8ef'
/var/www/clients/client1/web1/web/system/library/cart/cart.php:71
56 (0.077)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '906d5eea1d1474fb75753df8ef'
/var/www/clients/client1/web1/web/system/library/cart/cart.php:71
57 (0.075)
SELECT *
FROM `oc_pb_bundles`
WHERE
`store_id`='0'
AND `products` != ''
AND `status`= '1'
AND `date_available` <= NOW()
ORDER BY `sort_order` ASC
/var/www/clients/client1/web1/web/catalog/model/extension/module/productbundles.php:92
58 (0.058)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '906d5eea1d1474fb75753df8ef'
/var/www/clients/client1/web1/web/system/library/cart/cart.php:71
59 (0.048)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/var/www/clients/client1/web1/web/system/library/cart/customer.php:243
60 (1.360)
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 = '2' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/information.php:10
61 (0.082)
SELECT *
FROM oc_seo_url
WHERE `query` = 'information_id=7' AND store_id = '0' AND language_id = '2'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:169
62 (0.055)
SELECT *
FROM oc_seo_url
WHERE `query` = 'information_id=4' AND store_id = '0' AND language_id = '2'
/var/www/clients/client1/web1/web/catalog/controller/startup/seo_url.php:169