1 (0.205)
SELECT `data`
FROM `oc_session`
WHERE session_id = 'fe9f4ea0e6b3caa2dfecec908a' AND expire > 1732638789
/home/secretnamaatest/public_html/system/library/session/db.php:21
2 (0.077)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
3 (0.077)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
4 (0.128)
SELECT `data`
FROM `oc_session`
WHERE session_id = '0e7f5653271ec313962dce0f28' AND expire > 1732638789
/home/secretnamaatest/public_html/system/library/session/db.php:21
5 (0.210)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://baladnashop.com/'
/home/secretnamaatest/public_html/catalog/controller/startup/startup.php:6
6 (0.674)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/home/secretnamaatest/public_html/catalog/controller/startup/startup.php:25
7 (0.076)
SELECT *
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/system/library/cart/customer.php:76
8 (0.059)
SELECT *
FROM oc_currency
/home/secretnamaatest/storage/modification/system/library/cart/currency.php:10
9 (0.109)
SELECT tr.tax_rate_id, tr.name AS name, tr.rate, tr.type, gz.name AS geo_zone, tr.date_added, tr.date_modified
FROM oc_tax_rate tr
LEFT JOIN oc_geo_zone gz ON (tr.geo_zone_id = gz.geo_zone_id)
ORDER BY tr.name ASC
/home/secretnamaatest/public_html/system/library/cart/tax.php:272
10 (0.058)
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 = '6' AND z2gz.country_id = '81' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '1263')
ORDER BY tr1.priority ASC
/home/secretnamaatest/public_html/system/library/cart/tax.php:101
11 (0.061)
SELECT *
FROM oc_weight_class wc
LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '1'
/home/secretnamaatest/public_html/system/library/cart/weight.php:10
12 (0.057)
SELECT *
FROM oc_length_class mc
LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '1'
/home/secretnamaatest/public_html/system/library/cart/length.php:10
13 (55.190)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/home/secretnamaatest/public_html/system/library/cart/cart.php:14
14 (0.118)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
15 (0.128)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/home/secretnamaatest/public_html/catalog/model/setting/event.php:4
16 (0.126)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3267'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
17 (0.062)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
18 (0.056)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
19 (0.059)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
20 (0.057)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
21 (0.057)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
22 (0.060)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
23 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
24 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
25 (0.060)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
26 (0.070)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
27 (0.058)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
28 (0.063)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
29 (0.049)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
30 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
31 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
32 (0.021)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3267'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
33 (2.116)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3267' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
34 (0.018)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3267' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
35 (0.017)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
36 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3267'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
37 (0.063)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3267'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
38 (0.063)
SELECT *
FROM oc_product_image
WHERE product_id = '3267'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4636
39 (0.100)
SELECT tr.tax_rate_id, tr.name AS name, tr.rate, tr.type, gz.name AS geo_zone, tr.date_added, tr.date_modified
FROM oc_tax_rate tr
LEFT JOIN oc_geo_zone gz ON (tr.geo_zone_id = gz.geo_zone_id)
ORDER BY tr.name ASC
/home/secretnamaatest/public_html/catalog/model/localisation/taxrate.php:39
40 (0.139)
SELECT *
FROM oc_product_discount
WHERE product_id = '3267' 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/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4629
41 (0.124)
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 = '3267' AND od.language_id = '1'
ORDER BY o.sort_order
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4582
42 (0.111)
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 = '3267' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4521
43 (1.566)
SELECT p.product_id, p.arabic_name, (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 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
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE pcg.customer_group_id = 1 and pd.language_id = '1' AND p.status = '1' AND p.gift != '1' AND p.date_available <= NOW() AND p2s.store_id = '0' GROUP BY p.product_id
ORDER BY p.date_added DESC, LCASE(pd.name) DESC LIMIT 0,10
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:3562
44 (0.686)
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 = '3267' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4683
45 (0.073)
SELECT *
FROM oc_product_fqas
WHERE product_id = '272'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
46 (0.023)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
47 (0.020)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
48 (0.018)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
49 (0.017)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
50 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
51 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
52 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
53 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
54 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
55 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
56 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
57 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
58 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
59 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
60 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
61 (0.014)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '272'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
62 (1.927)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '272' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
63 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '272' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
64 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
65 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '272'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
66 (0.014)
SELECT *
FROM oc_product_fqas
WHERE product_id = '347'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
67 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
68 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
69 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
70 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
71 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '347'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
72 (1.766)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '347' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
73 (0.021)
SELECT slogan
FROM oc_product_description
WHERE product_id = '347' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
74 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
75 (0.013)
SELECT *
FROM oc_product_to_category
WHERE product_id = '347'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
76 (0.017)
SELECT *
FROM oc_product_fqas
WHERE product_id = '351'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
77 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
78 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
79 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '88' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
80 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
81 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '69' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
82 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
83 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
84 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '66' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
85 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
86 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
87 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
88 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
89 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
90 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '56' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
91 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
92 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
93 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '92' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
94 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '351'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
95 (1.721)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '351' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
96 (0.018)
SELECT slogan
FROM oc_product_description
WHERE product_id = '351' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
97 (0.015)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
98 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '351'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
99 (0.020)
SELECT *
FROM oc_product_fqas
WHERE product_id = '877'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
100 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
101 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
102 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
103 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
104 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
105 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
106 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
107 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
108 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
109 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
110 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
111 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
112 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
113 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
114 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
115 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '877'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
116 (1.732)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '877' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
117 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '877' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
118 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
119 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '877'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
120 (0.015)
SELECT *
FROM oc_product_fqas
WHERE product_id = '1601'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
121 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
122 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
123 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
124 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
125 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '1601'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
126 (1.713)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '1601' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
127 (0.018)
SELECT slogan
FROM oc_product_description
WHERE product_id = '1601' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
128 (0.015)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
129 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '1601'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
130 (0.014)
SELECT *
FROM oc_product_fqas
WHERE product_id = '1603'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
131 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
132 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
133 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
134 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
135 (0.014)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '1603'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
136 (1.709)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '1603' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
137 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '1603' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
138 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
139 (0.017)
SELECT *
FROM oc_product_to_category
WHERE product_id = '1603'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
140 (0.018)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2902'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
141 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
142 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
143 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
144 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
145 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
146 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
147 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
148 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
149 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
150 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
151 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
152 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
153 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
154 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
155 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
156 (0.016)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2902'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
157 (1.760)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '2902' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
158 (0.019)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2902' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
159 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
160 (0.015)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2902'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
161 (0.019)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2947'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
162 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
163 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
164 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
165 (0.016)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
166 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
167 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
168 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
169 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
170 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '66' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
171 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
172 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
173 (0.017)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
174 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
175 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
176 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
177 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
178 (0.017)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2947'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
179 (1.835)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '2947' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
180 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2947' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
181 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
182 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2947'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
183 (0.017)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2948'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
184 (0.016)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
185 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
186 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
187 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
188 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
189 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
190 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
191 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
192 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
193 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
194 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
195 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
196 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
197 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
198 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
199 (0.014)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2948'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
200 (1.805)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '2948' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
201 (0.018)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2948' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
202 (0.015)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
203 (0.016)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2948'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
204 (0.018)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2949'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
205 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
206 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
207 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
208 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
209 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
210 (0.017)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
211 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
212 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '66' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
213 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
214 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
215 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
216 (0.016)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
217 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
218 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
219 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
220 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
221 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2949'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
222 (1.777)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '2949' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
223 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2949' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
224 (0.015)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
225 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2949'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
226 (0.019)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3181'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
227 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
228 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
229 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
230 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
231 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
232 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
233 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
234 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
235 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '66' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
236 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
237 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
238 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
239 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
240 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
241 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
242 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
243 (0.014)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3181'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
244 (1.864)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3181' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
245 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3181' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
246 (0.015)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
247 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3181'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
248 (0.017)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3249'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
249 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
250 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
251 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
252 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
253 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
254 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
255 (0.016)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
256 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
257 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
258 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
259 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
260 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
261 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
262 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
263 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
264 (0.014)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3249'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
265 (1.751)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3249' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
266 (0.018)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3249' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
267 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
268 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3249'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
269 (0.024)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '272'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
270 (0.048)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '347'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
271 (0.046)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '351'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
272 (0.047)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '877'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
273 (0.021)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '1601'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
274 (0.051)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '1603'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
275 (0.048)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '2902'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
276 (0.047)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '2947'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
277 (0.055)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '2948'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
278 (0.051)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '2949'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
279 (0.054)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3181'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
280 (0.045)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3249'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
281 (0.419)
SELECT rd.*
FROM oc_product_recurring pr JOIN oc_recurring_description rd ON (rd.language_id = 1 AND rd.recurring_id = pr.recurring_id) JOIN oc_recurring r ON r.recurring_id = rd.recurring_id
WHERE pr.product_id = 3267 AND status = '1' AND pr.customer_group_id = '6'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:5085
282 (0.502)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '3267'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:110
283 (0.021)
SELECT *
FROM oc_module
WHERE module_id = '149'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
284 (0.109)
SELECT *
FROM oc_product_media_image
WHERE product_id = '3267'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
285 (1.972)
SELECT *
FROM oc_product_video
WHERE product_id = '3267'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
286 (0.056)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'extension/module/gallery_pro'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
287 (0.025)
SELECT *
FROM oc_module
WHERE module_id = '150'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
288 (0.060)
SELECT *
FROM oc_product_media_image
WHERE product_id = '3267'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
289 (0.059)
SELECT *
FROM oc_product_video
WHERE product_id = '3267'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
290 (0.053)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'extension/module/gallery_pro'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
291 (0.107)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3267' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
292 (0.050)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
293 (0.049)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'column_left'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
294 (0.051)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/column_left'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
295 (0.052)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3267' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
296 (0.052)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
297 (0.048)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'column_right'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
298 (0.050)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/column_right'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
299 (0.051)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3267' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
300 (0.049)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
301 (0.047)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'content_top'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
302 (0.023)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/content_top'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
303 (0.044)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3267' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
304 (0.041)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
305 (0.040)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'content_bottom'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
306 (0.017)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/content_bottom'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
307 (0.194)
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 = '1' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/home/secretnamaatest/public_html/catalog/model/catalog/information.php:10
308 (0.102)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2024-11-26 15:33:09'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:4
309 (0.054)
REPLACE INTO `oc_customer_online` SET `ip` = '162.158.79.19', `customer_id` = '0', `url` = 'https://baladnashop.com/index.php?product_id=3267&route=product%2Fproduct', `referer` = '', `date_added` = '2024-11-26 16:33:09'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:6
310 (0.018)
SELECT phone
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:36
311 (0.017)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/footer_product'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
312 (0.020)
SELECT logo
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:24
313 (0.083)
SELECT *
FROM oc_offer_timer o
LEFT JOIN oc_offer_timer_description od ON (o.offer_timer_id = od.offer_timer_id)
WHERE od.language_id = '1' AND o.customer_group_id = '1' AND (o.date_start > adddate(now(),-1)) AND o.status = '1'
/home/secretnamaatest/public_html/catalog/model/offertimer/offertimer.php:13
314 (0.019)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
315 (0.253)
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 = '1' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/home/secretnamaatest/public_html/catalog/model/catalog/information.php:10
316 (0.132)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
317 (0.021)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/language'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
318 (0.020)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/currency'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
319 (0.019)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/search'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
320 (0.048)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
321 (0.045)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
322 (0.045)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
323 (0.029)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
324 (0.046)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
325 (0.046)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
326 (0.040)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
327 (0.048)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '0e7f5653271ec313962dce0f28'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
328 (0.042)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/cart'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
329 (0.022)
SELECT *
FROM oc_category
WHERE category_id = '0'
/home/secretnamaatest/public_html/catalog/model/catalog/category.php:37
330 (0.070)
SELECT *
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.parent_id = '0' AND c.category_class = 0 AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/secretnamaatest/public_html/catalog/model/catalog/category.php:60
331 (0.017)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/menu'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
332 (0.020)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3267' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
333 (0.016)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
334 (0.016)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'block1'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
335 (0.016)
SELECT *
FROM oc_module
WHERE module_id = '53'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
336 (0.017)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/block1'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
337 (0.018)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3267' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
338 (0.016)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
339 (0.027)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'block2'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
340 (0.019)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/block2'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
341 (0.026)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3267'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
342 (0.050)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
343 (0.051)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
344 (0.049)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
345 (0.046)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
346 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
347 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
348 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
349 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
350 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
351 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
352 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
353 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
354 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
355 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
356 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
357 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3267'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
358 (2.007)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '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 = '5' 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 = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3267' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
359 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3267' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
360 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
361 (0.015)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3267'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
362 (0.066)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/header'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
363 (0.057)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'extension/module/facebook_business'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
364 (0.060)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'product/product'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4