1 (0.443)
SELECT `data`
FROM `session`
WHERE `session_id` = '628c62565567369a384bcd6125' AND `expire` > '2026-01-21 12:26:54'
/home/sila-s/web/sila-s.ru/public_html/system/library/session/db.php:22
2 (0.109)
SELECT *
FROM store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://sila-s.com/'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/controller/startup/startup.php:6
3 (9.829)
SELECT *
FROM `setting`
WHERE store_id = '0' OR store_id = '1'
ORDER BY store_id ASC
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/controller/startup/startup.php:25
4 (0.182)
SELECT code
FROM prmn_cm_currency
WHERE country_id = 0
/home/sila-s/web/sila-s.ru/public_html/catalog/model/extension/module/progroman/city_manager.php:27
5 (0.182)
SELECT *
FROM currency
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/currency.php:18
6 (0.087)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN 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 = '0' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '0')
ORDER BY tr1.priority ASC
/home/sila-s/web/sila-s.ru/public_html/system/library/cart/tax.php:16
7 (0.060)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN 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 = '0' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '0')
ORDER BY tr1.priority ASC
/home/sila-s/web/sila-s.ru/public_html/system/library/cart/tax.php:30
8 (0.062)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN 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 = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2785')
ORDER BY tr1.priority ASC
/home/sila-s/web/sila-s.ru/public_html/system/library/cart/tax.php:44
9 (0.079)
SELECT *
FROM weight_class wc
LEFT JOIN weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '2'
/home/sila-s/web/sila-s.ru/public_html/system/library/cart/weight.php:10
10 (0.082)
SELECT *
FROM length_class mc
LEFT JOIN length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '2'
/home/sila-s/web/sila-s.ru/public_html/system/library/cart/length.php:10
11 (0.584)
DELETE
FROM cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:24
12 (0.178)
SELECT *
FROM `event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/home/sila-s/web/sila-s.ru/public_html/catalog/model/setting/event.php:4
13 (0.166)
SELECT *
FROM prmn_cm_city
ORDER BY sort, name
/home/sila-s/web/sila-s.ru/public_html/catalog/model/extension/module/progroman/city_manager.php:10
14 (0.189)
SELECT
count(*) AS total
FROM
`journal3_skin`
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/settings.php:112
15 (0.431)
SELECT *
FROM product_to_layout
WHERE product_id = '91' AND store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:464
16 (0.101)
SELECT *
FROM layout_route
WHERE 'product/product' LIKE route AND store_id = '1'
ORDER BY route DESC LIMIT 1
/home/sila-s/web/sila-s.ru/public_html/catalog/model/design/layout.php:4
17 (0.101)
SELECT
layout_id,
layout_data
FROM
`journal3_layout`
WHERE
`layout_id` = '2'
OR `layout_id` = -1
ORDER BY
`layout_id` DESC
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/layout.php:122
18 (0.230)
SELECT DISTINCT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '64' AND cd.language_id = '2' AND c2s.store_id = '1' AND c.status = '1'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/catalog/category.php:4
19 (0.124)
SELECT DISTINCT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '59' AND cd.language_id = '2' AND c2s.store_id = '1' AND c.status = '1'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/catalog/category.php:4
20 (1.852)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:8
21 (0.107)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
22 (0.075)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
23 (0.061)
SELECT be.kit_id
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3999
24 (0.410)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
25 (0.089)
SELECT item_position
FROM bundle_expert_items
WHERE kit_id = '6' GROUP BY item_position
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:687
26 (0.067)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '0' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
27 (0.059)
SELECT *
FROM bundle_expert_cache_kit_items
WHERE kit_id = '6'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6220
28 (0.088)
SELECT *
FROM bundle_expert_cache_kit_items_info
WHERE kit_id = '6'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6224
29 (1.107)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '135' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
30 (0.820)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '135' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
31 (0.109)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '1' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
32 (1.157)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '141' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
33 (0.791)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '141' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
34 (1.201)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '343' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
35 (1.004)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '343' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
36 (1.432)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '345' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
37 (0.987)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '345' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
38 (0.121)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '2' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
39 (1.424)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '151' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
40 (0.115)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '151' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
41 (1.299)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '152' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
42 (0.115)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '152' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
43 (0.098)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '3' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
44 (1.407)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '103' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
45 (0.260)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '103' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
46 (0.212)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
47 (0.687)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
48 (0.263)
SELECT COUNT(*) AS kit_period_total
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2797
49 (0.544)
SELECT COUNT(*) AS kit_period_active
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1' AND (bekp.date_start = '0000-00-00' OR bekp.date_start <= CURDATE()) AND (bekp.date_end = '0000-00-00' OR bekp.date_end >= CURDATE())
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2798
50 (0.175)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
51 (2.331)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
52 (0.216)
SELECT *
FROM bundle_expert_kit_history_status
WHERE kit_id = '6' AND main_product_id = '91'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3811
53 (0.184)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
54 (0.131)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
55 (0.125)
SELECT be.kit_id
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3999
56 (0.188)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
57 (0.226)
SELECT item_position
FROM bundle_expert_items
WHERE kit_id = '6' GROUP BY item_position
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:687
58 (0.285)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '0' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
59 (0.189)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '1' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
60 (0.155)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '2' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
61 (0.160)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '3' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
62 (0.190)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
63 (0.260)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
64 (0.250)
SELECT COUNT(*) AS kit_period_total
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2797
65 (0.502)
SELECT COUNT(*) AS kit_period_active
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1' AND (bekp.date_start = '0000-00-00' OR bekp.date_start <= CURDATE()) AND (bekp.date_end = '0000-00-00' OR bekp.date_end >= CURDATE())
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2798
66 (0.212)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
67 (2.249)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
68 (0.247)
SELECT *
FROM bundle_expert_kit_history_status
WHERE kit_id = '6' AND main_product_id = '91'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3811
69 (0.152)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '91'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
70 (0.315)
SELECT DISTINCT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '64' AND cd.language_id = '2' AND c2s.store_id = '1' AND c.status = '1'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/catalog/category.php:4
71 (0.157)
SELECT DISTINCT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '59' AND cd.language_id = '2' AND c2s.store_id = '1' AND c.status = '1'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/catalog/category.php:4
72 (0.183)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '248'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
73 (0.146)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '344'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
74 (0.171)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '289'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
75 (0.184)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '273'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
76 (2.249)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:8
77 (0.210)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
78 (0.114)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
79 (0.121)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
80 (0.109)
SELECT be.kit_id
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3999
81 (0.246)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
82 (0.114)
SELECT item_position
FROM bundle_expert_items
WHERE kit_id = '6' GROUP BY item_position
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:687
83 (0.146)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '0' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
84 (0.122)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '1' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
85 (0.227)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '2' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
86 (0.125)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '3' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
87 (0.147)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
88 (0.165)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
89 (0.207)
SELECT COUNT(*) AS kit_period_total
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2797
90 (0.536)
SELECT COUNT(*) AS kit_period_active
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1' AND (bekp.date_start = '0000-00-00' OR bekp.date_start <= CURDATE()) AND (bekp.date_end = '0000-00-00' OR bekp.date_end >= CURDATE())
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2798
91 (0.141)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
92 (3.025)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
93 (0.147)
SELECT *
FROM bundle_expert_kit_history_status
WHERE kit_id = '6' AND main_product_id = '91'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3811
94 (1.247)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '91' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
95 (1.710)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '91' AND a.attribute_group_id = '3' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
96 (1.850)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '91' AND a.attribute_group_id = '5' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
97 (1.785)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '91' AND a.attribute_group_id = '4' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
98 (0.187)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '274'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
99 (0.188)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '275'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
100 (0.204)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '306'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
101 (0.272)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '307'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
102 (0.178)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '322'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
103 (0.143)
SELECT *
FROM manufacturer m
LEFT JOIN manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
WHERE m.manufacturer_id = '0' AND m2s.store_id = '1'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/catalog/manufacturer.php:4
104 (0.128)
SELECT *
FROM product_image
WHERE product_id = '91'
ORDER BY sort_order ASC
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:446
105 (0.475)
SELECT *
FROM product_discount
WHERE product_id = '91' 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
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:440
106 (0.118)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
107 (0.875)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
LEFT JOIN option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '91' AND od.language_id = '2'
ORDER BY o.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:403
108 (0.158)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '91' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
109 (0.103)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '91' AND a.attribute_group_id = '3' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
110 (0.089)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '91' AND a.attribute_group_id = '5' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
111 (0.085)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '91' AND a.attribute_group_id = '4' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
112 (0.405)
SELECT rd.*
FROM product_recurring pr JOIN recurring_description rd ON (rd.language_id = 2 AND rd.recurring_id = pr.recurring_id) JOIN recurring r ON r.recurring_id = rd.recurring_id
WHERE pr.product_id = 91 AND status = '1' AND pr.customer_group_id = '1'
ORDER BY sort_order ASC
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:599
113 (0.296)
UPDATE product SET viewed = (viewed + 1)
WHERE product_id = '91'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:4
114 (1.959)
SELECT *
FROM `product` p
LEFT JOIN `product_description` pd ON (p.product_id = pd.product_id)
LEFT JOIN `product_to_store` p2s ON (p.product_id = p2s.product_id)
LEFT JOIN `product_to_category` p2c ON (p.product_id = p2c.product_id)
LEFT JOIN `category` c ON (c.category_id = p2c.category_id)
LEFT JOIN `category_to_store` c2s ON (c.category_id = c2s.category_id)
WHERE
c.category_id IN (59)
AND p.status = '1'
AND p.date_available <= NOW()
AND pd.language_id = '2'
AND p2s.store_id = '1'
AND c.status = '1'
AND c2s.store_id = '1'
AND p.product_id != '91'
ORDER BY p.sort_order ASC, LCASE(pd.name) ASC
LIMIT 10
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/product.php:272
115 (5.579)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id IN (116,292,324,278,86,181,65,171,157,68) AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/product.php:27
116 (0.113)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '116'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
117 (0.157)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '292'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
118 (0.155)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '324'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
119 (0.115)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '278'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
120 (0.118)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '86'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
121 (0.128)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '181'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
122 (0.110)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '65'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
123 (0.120)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '171'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
124 (0.140)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '157'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
125 (0.156)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '68'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
126 (0.170)
SELECT *
FROM `journal3_module`
WHERE `module_id` = '0'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/journal3/module.php:8
127 (1.819)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
128 (0.396)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
129 (0.110)
SELECT *
FROM bundle_expert_widget w
LEFT JOIN bundle_expert_widget_to_store w2s ON (w.widget_id = w2s.widget_id)
WHERE w.display_mode='product_page' AND w2s.store_id = '1' AND w.status = 1
ORDER BY w.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:338
130 (1.235)
SELECT *, (SELECT COUNT(*) AS total1
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = bewk.kit_id AND bekp.customer_group_id = '1') AS kit_period_total, (SELECT COUNT(*) AS total2
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = bewk.kit_id AND bekp.customer_group_id = '1' AND (bekp.date_start = '0000-00-00' OR bekp.date_start <= CURDATE()) AND (bekp.date_end = '0000-00-00' OR bekp.date_end >= CURDATE()) ) AS kit_period_active, (SELECT COUNT(*) AS total3
FROM bundle_expert_cache_kit_link_products becklp
WHERE becklp.kit_id = bewk.kit_id AND becklp.product_id IN (91)) AS linked_products_count, (SELECT COUNT(*) AS total4
FROM bundle_expert_to_product betp
WHERE betp.kit_id = bewk.kit_id) AS kit_to_product_count
FROM bundle_expert_widget_kit bewk
LEFT JOIN bundle_expert be ON (be.kit_id = bewk.kit_id)
WHERE widget_id = '1' HAVING (kit_to_product_count = 0) OR (kit_to_product_count > 0 AND linked_products_count > 0)
ORDER BY be.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:263
131 (0.152)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
132 (0.108)
SELECT product_id
FROM bundle_expert_cache_kit_link_products
WHERE kit_id = '6'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6278
133 (0.087)
SELECT item_position
FROM bundle_expert_items
WHERE kit_id = '6' GROUP BY item_position
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:687
134 (0.084)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '0' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
135 (0.106)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '1' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
136 (0.090)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '2' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
137 (0.093)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '3' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
138 (0.078)
SELECT COUNT(*) AS kit_period_total
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2797
139 (0.316)
SELECT COUNT(*) AS kit_period_active
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1' AND (bekp.date_start = '0000-00-00' OR bekp.date_start <= CURDATE()) AND (bekp.date_end = '0000-00-00' OR bekp.date_end >= CURDATE())
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2798
140 (0.096)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
141 (1.683)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
142 (0.113)
SELECT *
FROM bundle_expert_kit_history_status
WHERE kit_id = '6' AND main_product_id = '91'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3811
143 (0.306)
SELECT *
FROM bundle_expert_widget_history_status
WHERE widget_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2664
144 (0.247)
UPDATE bundle_expert_widget_history_status SET widget_history_code = 'success', success = '1', date_modified = NOW()
WHERE widget_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2669
145 (0.128)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
146 (0.129)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
147 (0.133)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '135'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
148 (0.882)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '135' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
149 (0.998)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '135' AND a.attribute_group_id = '3' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
150 (0.804)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '135' AND a.attribute_group_id = '5' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
151 (0.719)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '135' AND a.attribute_group_id = '4' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
152 (0.141)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '141'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
153 (0.590)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '141' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
154 (0.703)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '141' AND a.attribute_group_id = '4' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
155 (0.141)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '343'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
156 (0.546)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '343' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
157 (0.715)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '343' AND a.attribute_group_id = '4' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
158 (0.133)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '345'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
159 (0.065)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '151'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
160 (0.509)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '151' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
161 (0.115)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '152'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
162 (0.501)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '152' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
163 (0.129)
SELECT *
FROM product_to_customer_groups
WHERE p2cg_product_id = '103'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:608
164 (0.097)
SELECT ag.attribute_group_id, agd.name
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '103' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:375
165 (0.074)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '103' AND a.attribute_group_id = '4' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
166 (0.079)
SELECT a.attribute_id, ad.name, pa.text
FROM product_attribute pa
LEFT JOIN attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '103' AND a.attribute_group_id = '9' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY a.sort_order, ad.name
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:380
167 (0.162)
SELECT *
FROM bundle_expert_widget w
LEFT JOIN bundle_expert_widget_to_store w2s ON (w.widget_id = w2s.widget_id)
WHERE w.display_mode='custom_page' AND w2s.store_id = '1' AND w.status = 1
ORDER BY w.sort_order
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:338
168 (0.131)
SELECT *
FROM extension
WHERE `type` = 'analytics'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/setting/extension.php:4
169 (0.151)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
170 (0.089)
SELECT *
FROM extension
WHERE `type` = 'total'
/home/sila-s/web/sila-s.ru/public_html/catalog/model/setting/extension.php:4
171 (0.085)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
172 (0.082)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
173 (0.084)
SELECT SUM(amount) AS total
FROM customer_transaction
WHERE customer_id = '0'
/home/sila-s/web/sila-s.ru/public_html/system/library/cart/customer.php:122
174 (0.083)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
175 (0.086)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
176 (0.080)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
177 (0.075)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/cart/cart.php:81
178 (1.826)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/model/catalog/product.php:8
179 (0.109)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
180 (0.078)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
181 (0.062)
SELECT betp.*, be.status
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3886
182 (0.074)
SELECT be.kit_id
FROM bundle_expert_to_product betp
LEFT JOIN bundle_expert be ON (be.kit_id = betp.kit_id)
WHERE betp.item_type = 'product' AND betp.item_id = '91' AND be.status = 1 AND be.kit_as_product = 1 GROUP BY betp.kit_id
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3999
183 (0.076)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
184 (0.069)
SELECT item_position
FROM bundle_expert_items
WHERE kit_id = '6' GROUP BY item_position
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:687
185 (0.065)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '0' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
186 (0.098)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '1' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
187 (0.093)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '2' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
188 (0.091)
SELECT *
FROM bundle_expert_items
WHERE kit_id = '6' AND item_position = '3' LIMIT 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:1110
189 (0.100)
SELECT DISTINCT *
FROM bundle_expert k
LEFT JOIN bundle_expert_description kd2 ON (k.kit_id = kd2.kit_id)
WHERE k.kit_id = '6' AND kd2.language_id = '2' AND k.status = 1
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:199
190 (0.116)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
191 (0.113)
SELECT COUNT(*) AS kit_period_total
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2797
192 (0.389)
SELECT COUNT(*) AS kit_period_active
FROM bundle_expert_kit_period bekp
WHERE bekp.kit_id = '6' AND bekp.customer_group_id = '1' AND (bekp.date_start = '0000-00-00' OR bekp.date_start <= CURDATE()) AND (bekp.date_end = '0000-00-00' OR bekp.date_end >= CURDATE())
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:2798
193 (0.096)
SELECT *
FROM cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '628c62565567369a384bcd6125'
ORDER BY cart_id
/home/sila-s/web/sila-s.ru/public_html/system/library/bundle_expert/bundle_expert_cart.php:1479
194 (1.770)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM 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 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 product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM 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 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 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 review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '91' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '1'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:6077
195 (0.141)
SELECT *
FROM bundle_expert_kit_history_status
WHERE kit_id = '6' AND main_product_id = '91'
/home/sila-s/web/sila-s.ru/private/storage/modification/system/library/bundle_expert/bundle_expert.php:3811
196 (0.794)
SELECT r.review_id, r.author, r.rating, r.text, p.product_id, pd.name, p.price, p.image, r.date_added
FROM review r
LEFT JOIN product p ON (r.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE
p.product_id = '91'
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 1
/home/sila-s/web/sila-s.ru/private/storage/modification/catalog/controller/journal3/seo.php:321