1 (0.355)
SELECT `data`
FROM `oc_session`
WHERE session_id = '7ae8e1307b5d9e1eedbf91a78b' AND expire > 1731209077
/home/secretnamaatest/public_html/system/library/session/db.php:21
2 (0.065)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
3 (0.061)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
4 (2.032)
SELECT `data`
FROM `oc_session`
WHERE session_id = '4549d0deb29aa0908996b09956' AND expire > 1731209077
/home/secretnamaatest/public_html/system/library/session/db.php:21
5 (0.071)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://baladnashop.com/'
/home/secretnamaatest/public_html/catalog/controller/startup/startup.php:6
6 (0.627)
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.025)
SELECT *
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/system/library/cart/customer.php:76
8 (0.022)
SELECT *
FROM oc_currency
/home/secretnamaatest/storage/modification/system/library/cart/currency.php:10
9 (0.055)
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.054)
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.055)
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.052)
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.203)
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.087)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
15 (0.098)
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.083)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
17 (0.049)
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
18 (0.053)
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
19 (0.049)
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
20 (0.055)
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
21 (0.051)
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
22 (0.052)
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
23 (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
24 (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
25 (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
26 (0.014)
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
27 (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
28 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
29 (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
30 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' 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 = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
32 (0.020)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
33 (1.920)
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 = '3217' 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.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3217' 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 = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
37 (0.022)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3217'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
38 (0.123)
SELECT *
FROM oc_product_image
WHERE product_id = '3217'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4636
39 (0.344)
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.633)
SELECT *
FROM oc_product_discount
WHERE product_id = '3217' 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.695)
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 = '3217' AND od.language_id = '1'
ORDER BY o.sort_order
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4582
42 (0.583)
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 = '3217' 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 (2.929)
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 (3.020)
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 = '3217' 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.252)
SELECT *
FROM oc_product_fqas
WHERE product_id = '334'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
46 (0.243)
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
47 (0.236)
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
48 (0.239)
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
49 (0.236)
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
50 (0.237)
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
51 (0.169)
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
52 (0.120)
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
53 (0.150)
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.180)
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
55 (0.147)
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
56 (0.145)
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
57 (0.083)
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
58 (0.166)
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
59 (0.117)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
60 (0.121)
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
61 (0.123)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '334'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
62 (10.038)
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 = '334' 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.191)
SELECT slogan
FROM oc_product_description
WHERE product_id = '334' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
64 (0.185)
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.170)
SELECT *
FROM oc_product_to_category
WHERE product_id = '334'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
66 (0.164)
SELECT *
FROM oc_product_fqas
WHERE product_id = '1687'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
67 (0.155)
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
68 (0.136)
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
69 (0.087)
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
70 (0.042)
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
71 (0.055)
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
72 (0.053)
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
73 (0.151)
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
74 (0.156)
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
75 (0.138)
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
76 (0.135)
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
77 (0.054)
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
78 (0.054)
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
79 (0.052)
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
80 (0.154)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
81 (0.167)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
82 (0.144)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '1687'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
83 (4.727)
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 = '1687' 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
84 (0.087)
SELECT slogan
FROM oc_product_description
WHERE product_id = '1687' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
85 (0.068)
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
86 (0.034)
SELECT *
FROM oc_product_to_category
WHERE product_id = '1687'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
87 (2.795)
SELECT *
FROM oc_product_fqas
WHERE product_id = '1690'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
88 (0.033)
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
89 (0.036)
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
90 (0.035)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
91 (0.027)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
92 (0.026)
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
93 (0.026)
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
94 (0.025)
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
95 (0.028)
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
96 (0.027)
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
97 (0.026)
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
98 (0.026)
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
99 (0.034)
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
100 (0.025)
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
101 (0.027)
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
102 (0.026)
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
103 (0.243)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '1690'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
104 (3.726)
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 = '1690' 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
105 (0.368)
SELECT slogan
FROM oc_product_description
WHERE product_id = '1690' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
106 (0.030)
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
107 (0.648)
SELECT *
FROM oc_product_to_category
WHERE product_id = '1690'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
108 (0.177)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3183'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
109 (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
110 (0.030)
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
111 (0.029)
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
112 (0.028)
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
113 (0.028)
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
114 (0.023)
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
115 (0.022)
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
116 (0.023)
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
117 (0.023)
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
118 (0.022)
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
119 (0.022)
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
120 (0.023)
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
121 (0.022)
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
122 (0.022)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
123 (0.022)
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
124 (0.026)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3183'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
125 (3.057)
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 = '3183' 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
126 (0.026)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3183' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
127 (0.023)
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
128 (0.020)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3183'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
129 (0.025)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3184'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
130 (0.021)
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
131 (0.020)
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
132 (0.019)
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
133 (0.020)
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
134 (0.019)
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
135 (0.019)
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
136 (0.019)
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
137 (0.019)
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
138 (0.019)
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
139 (0.019)
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
140 (0.019)
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
141 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
142 (0.019)
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
143 (0.019)
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.019)
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
145 (0.021)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3184'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
146 (2.588)
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 = '3184' 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
147 (0.026)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3184' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
148 (0.022)
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
149 (0.020)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3184'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
150 (0.024)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3218'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
151 (0.020)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
152 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
153 (0.019)
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
154 (0.020)
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.019)
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
156 (0.019)
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
157 (0.019)
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
158 (0.020)
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
159 (0.019)
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
160 (0.019)
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
161 (0.019)
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
162 (0.019)
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
163 (0.020)
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
164 (0.020)
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
165 (0.021)
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
166 (0.022)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3218'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
167 (2.391)
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 = '3218' 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
168 (0.023)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3218' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
169 (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 = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
170 (0.021)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3218'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
171 (0.023)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
172 (0.019)
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
173 (0.019)
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
174 (0.017)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
175 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
176 (0.018)
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
177 (0.022)
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
178 (0.017)
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
179 (0.017)
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
180 (0.017)
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
181 (0.017)
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
182 (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
183 (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
184 (0.019)
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
185 (0.017)
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
186 (0.017)
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
187 (0.019)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
188 (2.240)
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 = '3219' 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
189 (0.023)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3219' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
190 (0.020)
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
191 (0.018)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
192 (0.026)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '334'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
193 (0.062)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '1687'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
194 (0.422)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '1690'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
195 (0.162)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3183'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
196 (0.026)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3184'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
197 (0.027)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3218'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
198 (0.056)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3219'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
199 (0.127)
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 = 3217 AND status = '1' AND pr.customer_group_id = '6'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:5085
200 (0.233)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:110
201 (0.057)
SELECT *
FROM oc_module
WHERE module_id = '149'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
202 (0.473)
SELECT *
FROM oc_product_media_image
WHERE product_id = '3217'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
203 (1.945)
SELECT *
FROM oc_product_video
WHERE product_id = '3217'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
204 (0.054)
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
205 (0.081)
SELECT *
FROM oc_module
WHERE module_id = '150'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
206 (0.059)
SELECT *
FROM oc_product_media_image
WHERE product_id = '3217'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
207 (0.057)
SELECT *
FROM oc_product_video
WHERE product_id = '3217'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
208 (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
209 (0.105)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3217' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
210 (0.639)
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
211 (0.052)
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
212 (0.059)
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
213 (0.055)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3217' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
214 (0.051)
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
215 (0.051)
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
216 (0.053)
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
217 (0.057)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3217' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
218 (0.051)
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
219 (0.052)
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
220 (0.049)
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
221 (0.055)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3217' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
222 (0.051)
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
223 (0.055)
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
224 (0.047)
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
225 (0.175)
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
226 (0.147)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2024-11-10 02:24:37'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:4
227 (0.087)
REPLACE INTO `oc_customer_online` SET `ip` = '172.69.59.163', `customer_id` = '0', `url` = 'https://baladnashop.com/index.php?product_id=3217&route=product%2Fproduct', `referer` = '', `date_added` = '2024-11-10 03:24:37'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:6
228 (0.051)
SELECT phone
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:36
229 (0.054)
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
230 (0.055)
SELECT logo
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:24
231 (0.118)
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
232 (0.052)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
233 (0.166)
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
234 (0.151)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
235 (0.040)
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
236 (0.050)
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
237 (0.051)
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
238 (0.056)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
239 (0.056)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
240 (0.053)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
241 (0.053)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
242 (0.053)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
243 (0.053)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
244 (0.052)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
245 (0.052)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4549d0deb29aa0908996b09956'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
246 (0.052)
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
247 (0.047)
SELECT *
FROM oc_category
WHERE category_id = '0'
/home/secretnamaatest/public_html/catalog/model/catalog/category.php:37
248 (0.108)
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
249 (0.057)
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
250 (0.044)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3217' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
251 (0.042)
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
252 (0.043)
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
253 (0.041)
SELECT *
FROM oc_module
WHERE module_id = '53'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
254 (0.016)
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
255 (0.018)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3217' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
256 (0.047)
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
257 (0.015)
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
258 (0.020)
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
259 (0.060)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
260 (0.041)
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
261 (0.052)
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
262 (0.052)
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
263 (0.054)
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
264 (0.040)
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
265 (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
266 (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
267 (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
268 (0.015)
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
269 (0.020)
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
270 (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
271 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
272 (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
273 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
274 (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
275 (0.016)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
276 (1.875)
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 = '3217' 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
277 (0.016)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3217' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
278 (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
279 (0.013)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
280 (0.098)
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
281 (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
282 (0.059)
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