1 (0.122)
SELECT data
FROM `oc_session`
WHERE session_id = 'c8fb693bc82b392addfec6413a'
/var/www/clients/client1/web1/web/system/library/session/db.php:23
2 (0.102)
SELECT `trigger`, `action`
FROM oc_event
/var/www/clients/client1/web1/web/index.php:428
3 (0.128)
SELECT *
FROM oc_url_alias
WHERE keyword = 'buzz-bar-prologic-4-posturi-60.5cm.html'
/var/www/clients/client1/web1/web/catalog/controller/common/seo_url.php:48
4 (0.099)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '49815' LIMIT 1
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:1528
5 (0.162)
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 = '395'
ORDER BY cp.level ASC, c.sort_order ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:1531
6 (1.015)
SELECT DISTINCT *, p.product_id, pd.name AS name, p.image, m.name AS manufacturer, (SELECT p2sb.product_id
FROM oc_product_to_store p2sb
WHERE p2sb.product_id = p.product_id AND p2sb.store_id = '1') AS blackfriday, (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 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 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
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 os.product_id, os.magazin AS comenzi_magazin, os.online AS comenzi_online
FROM oc_order_stoc os GROUP BY os.product_id) opp ON (opp.product_id = p.product_id)
WHERE p.product_id = '49815' AND pd.language_id = '2' AND p.status = '1' AND p.price > '0' AND p2s.store_id = '3'
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:51
7 (0.238)
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 = '49815' AND agd.language_id = '2' AND ag.attribute_group_id NOT IN (54) GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:1295
8 (0.210)
SELECT a.attribute_id, a.arata, 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 = '49815' AND a.attribute_group_id = '10' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:1300
9 (0.099)
SELECT *
FROM oc_product_image
WHERE product_id = '49815'
ORDER BY sort_order ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:1396
10 (0.178)
SELECT *
FROM `oc_module`
WHERE `code` = 'similar_products'
ORDER BY `name`
/var/www/clients/client1/web1/web/catalog/model/extension/module.php:5
11 (0.125)
SELECT *
FROM oc_url_alias
WHERE `query` = 'product_id=49815'
/var/www/clients/client1/web1/web/catalog/controller/common/seo_url.php:169
12 (0.197)
SELECT *
FROM `oc_product_locatie`
WHERE product_id = '49815' AND baza_date LIKE 'magazin_ffb'
ORDER BY LENGTH(camera), camera ASC, LENGTH(rand), rand ASC, LENGTH(raft), raft ASC, LENGTH(alveola), alveola ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:20
13 (0.146)
SELECT *
FROM `oc_product_locatie`
WHERE product_id = '49815' AND baza_date LIKE 'magazin_claumar'
ORDER BY LENGTH(camera), camera ASC, LENGTH(rand), rand ASC, LENGTH(raft), raft ASC, LENGTH(alveola), alveola ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:20
14 (0.145)
SELECT COUNT(1) AS total, rating
FROM `oc_review`
WHERE `product_id` = '49815' AND status=1 GROUP BY rating
ORDER BY rating ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/review.php:125
15 (0.126)
SELECT COUNT(1) AS total
FROM `oc_review`
WHERE `product_id` = '49815' AND status=1 AND verificat = '1' GROUP BY product_id
/var/www/clients/client1/web1/web/catalog/model/catalog/review.php:134
16 (0.219)
SELECT r.review_id, r.author, r.rating, r.text, p.product_id, pd.name, p.price, p.image, r.date_added, r.verificat, r.apreciat, r.depreciat
FROM oc_review r
LEFT JOIN oc_product p ON (r.product_id = p.product_id)
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
WHERE p.product_id = '49815' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
ORDER BY r.date_added DESC LIMIT 0,100
/var/www/clients/client1/web1/web/catalog/model/catalog/review.php:170
17 (0.426)
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 = '49815' AND p.status = '1' AND p2s.store_id = '3'
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:1404
18 (0.214)
SELECT `pd`.*
FROM `oc_product_recurring` `pp` JOIN `oc_recurring_description` `pd` ON `pd`.`language_id` = 2 AND `pd`.`recurring_id` = `pp`.`recurring_id` JOIN `oc_recurring` `p` ON `p`.`recurring_id` = `pd`.`recurring_id`
WHERE `product_id` = 49815 AND `status` = 1 AND `customer_group_id` = 1
ORDER BY `sort_order` ASC
/var/www/clients/client1/web1/web/catalog/model/catalog/product.php:1674
19 (0.249)
SELECT *
FROM `oc_pb_bundles`
WHERE
`products` != ''
AND `status`= '1' AND type = '1'
AND `date_available` <= NOW()
AND `customer_type` = 0 AND `products_show` LIKE '%"49815"%' LIMIT 0, 1000
/var/www/clients/client1/web1/web/catalog/model/module/productbundles.php:106
20 (0.188)
SELECT *
FROM `oc_pb_bundles`
WHERE
`products` != ''
AND `status`= '1' AND type = '0'
AND `date_available` <= NOW()
AND `customer_type` = 0 AND `products_show` LIKE '%"49815"%' LIMIT 0, 1000
/var/www/clients/client1/web1/web/catalog/model/module/product_recomandate.php:106
21 (0.156)
SELECT *
FROM oc_banner_image bi
LEFT JOIN oc_banner_image_description bid ON (bi.banner_image_id = bid.banner_image_id)
WHERE bi.banner_id = '24' AND bid.language_id = '2'
ORDER BY bi.sort_order ASC
/var/www/clients/client1/web1/web/catalog/model/design/banner.php:4
22 (0.104)
SELECT *
FROM `oc_mxt_setting`
WHERE store_id = '3' AND name = 'lichidare_stoc'
/var/www/clients/client1/web1/web/catalog/model/catalog/category.php:38
23 (0.073)
SELECT *
FROM oc_module
WHERE module_id = '1192'
/var/www/clients/client1/web1/web/catalog/model/extension/module.php:16