1 (0.229)
SELECT `data`
FROM `oc_session`
WHERE session_id = 'b31bba6c42ca68daa7d348101e' AND expire > 1732638345
/home/secretnamaatest/public_html/system/library/session/db.php:21
2 (0.068)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
3 (0.068)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
4 (0.137)
SELECT `data`
FROM `oc_session`
WHERE session_id = 'ff193feaddac093f879f5596b4' AND expire > 1732638345
/home/secretnamaatest/public_html/system/library/session/db.php:21
5 (0.064)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://baladnashop.com/'
/home/secretnamaatest/public_html/catalog/controller/startup/startup.php:6
6 (0.760)
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.065)
SELECT *
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/system/library/cart/customer.php:76
8 (0.064)
SELECT *
FROM oc_currency
/home/secretnamaatest/storage/modification/system/library/cart/currency.php:10
9 (0.103)
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.064)
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.067)
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.059)
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.713)
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.098)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
15 (0.105)
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.067)
SELECT *
FROM oc_product_fqas
WHERE product_id = '411'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
17 (0.055)
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
18 (0.053)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
19 (0.058)
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
20 (0.054)
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
21 (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
22 (0.055)
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
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.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
25 (0.014)
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.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
27 (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
28 (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
29 (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
30 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' 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 = '52' 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 = '411'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
33 (1.979)
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 = '411' 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 = '411' 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 = '411'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
37 (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 = '411'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 = '411'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4636
39 (0.354)
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.646)
SELECT *
FROM oc_product_discount
WHERE product_id = '411' 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.545)
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 = '411' AND od.language_id = '1'
ORDER BY o.sort_order
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4582
42 (0.571)
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 = '411' 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.235)
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 (2.401)
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 = '411' 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.255)
SELECT *
FROM oc_product_fqas
WHERE product_id = '339'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
46 (0.242)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '78' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
47 (0.241)
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
48 (0.244)
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
49 (0.240)
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
50 (0.242)
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
51 (0.173)
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
52 (0.116)
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
53 (0.149)
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
54 (0.150)
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
55 (0.147)
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.170)
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.146)
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
58 (0.090)
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
59 (0.169)
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
60 (0.110)
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
61 (0.121)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '339'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
62 (11.105)
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 = '339' 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.228)
SELECT slogan
FROM oc_product_description
WHERE product_id = '339' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
64 (0.238)
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.149)
SELECT *
FROM oc_product_to_category
WHERE product_id = '339'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
66 (0.248)
SELECT *
FROM oc_product_fqas
WHERE product_id = '410'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
67 (0.140)
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
68 (0.127)
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
69 (0.122)
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
70 (0.237)
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
71 (0.240)
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
72 (0.210)
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
73 (0.125)
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
74 (0.230)
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
75 (0.237)
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
76 (0.204)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
77 (0.125)
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
78 (0.191)
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
79 (0.106)
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
80 (0.106)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
81 (0.099)
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.111)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '410'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
83 (10.684)
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 = '410' 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.212)
SELECT slogan
FROM oc_product_description
WHERE product_id = '410' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
85 (0.212)
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.216)
SELECT *
FROM oc_product_to_category
WHERE product_id = '410'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
87 (0.204)
SELECT *
FROM oc_product_fqas
WHERE product_id = '641'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
88 (0.097)
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.137)
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.059)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '78' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
91 (0.056)
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
92 (0.055)
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.053)
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
94 (0.055)
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
95 (0.053)
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
96 (0.053)
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
97 (0.053)
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
98 (0.055)
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
99 (0.052)
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
100 (0.053)
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
101 (0.057)
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
102 (0.054)
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
103 (0.064)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '641'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
104 (6.045)
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 = '641' 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.053)
SELECT slogan
FROM oc_product_description
WHERE product_id = '641' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
106 (0.050)
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.044)
SELECT *
FROM oc_product_to_category
WHERE product_id = '641'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
108 (0.053)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2920'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
109 (0.043)
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
110 (0.041)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
111 (0.040)
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
112 (0.049)
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
113 (0.041)
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
114 (0.040)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
115 (0.039)
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
116 (0.040)
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
117 (0.039)
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
118 (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
119 (0.040)
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
120 (0.040)
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
121 (0.040)
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
122 (0.040)
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
123 (0.041)
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
124 (0.045)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2920'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
125 (5.324)
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 = '2920' 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.041)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2920' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
127 (0.060)
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.060)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2920'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
129 (0.069)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2921'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
130 (0.029)
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
131 (0.028)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
132 (0.027)
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
133 (0.027)
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
134 (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
135 (0.026)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
136 (0.027)
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
137 (0.027)
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
138 (0.025)
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
139 (0.032)
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
140 (0.029)
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
141 (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
142 (0.026)
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
143 (0.027)
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
144 (0.034)
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
145 (0.032)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2921'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
146 (4.424)
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 = '2921' 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.033)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2921' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
148 (0.028)
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.027)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2921'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
150 (0.030)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2926'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
151 (0.025)
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
152 (0.023)
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
153 (0.022)
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
154 (0.023)
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
155 (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
156 (0.025)
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
157 (0.023)
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
158 (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
159 (0.023)
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
160 (0.022)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
161 (0.029)
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
162 (0.023)
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.022)
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.022)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
165 (0.028)
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
166 (0.026)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2926'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
167 (3.739)
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 = '2926' 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.027)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2926' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
169 (0.053)
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.054)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2926'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
171 (0.053)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3122'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
172 (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
173 (0.021)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
174 (0.020)
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
175 (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
176 (0.020)
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.020)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
178 (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
179 (0.020)
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
180 (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
181 (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
182 (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
183 (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
184 (0.019)
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
185 (0.019)
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
186 (0.019)
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.022)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3122'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
188 (2.623)
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 = '3122' 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.026)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3122' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
190 (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
191 (0.021)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3122'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
192 (0.025)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3161'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
193 (0.023)
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
194 (0.021)
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
195 (0.019)
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
196 (0.020)
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
197 (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
198 (0.020)
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
199 (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
200 (0.020)
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
201 (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
202 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
203 (0.020)
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
204 (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
205 (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
206 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
207 (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
208 (0.024)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3161'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
209 (2.425)
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 = '3161' 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
210 (0.023)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3161' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
211 (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
212 (0.019)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3161'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
213 (0.029)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '339'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
214 (0.066)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '410'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
215 (0.052)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '641'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
216 (0.066)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '2920'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
217 (0.066)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '2921'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
218 (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 = '2926'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
219 (0.060)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3122'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
220 (0.058)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3161'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
221 (0.130)
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 = 411 AND status = '1' AND pr.customer_group_id = '6'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:5085
222 (0.438)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '411'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:110
223 (0.025)
SELECT *
FROM oc_module
WHERE module_id = '149'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
224 (0.160)
SELECT *
FROM oc_product_media_image
WHERE product_id = '411'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
225 (2.706)
SELECT *
FROM oc_product_video
WHERE product_id = '411'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
226 (0.867)
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
227 (0.057)
SELECT *
FROM oc_module
WHERE module_id = '150'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
228 (0.060)
SELECT *
FROM oc_product_media_image
WHERE product_id = '411'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
229 (0.056)
SELECT *
FROM oc_product_video
WHERE product_id = '411'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
230 (0.052)
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
231 (0.110)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '411' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
232 (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
233 (0.047)
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
234 (0.052)
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
235 (0.052)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '411' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
236 (0.053)
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
237 (0.052)
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
238 (0.054)
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
239 (0.054)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '411' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
240 (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
241 (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
242 (0.055)
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
243 (0.052)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '411' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
244 (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
245 (0.049)
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
246 (0.052)
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
247 (0.201)
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
248 (0.139)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2024-11-26 15:25:46'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:4
249 (0.087)
REPLACE INTO `oc_customer_online` SET `ip` = '162.158.79.81', `customer_id` = '0', `url` = 'https://baladnashop.com/index.php?product_id=411&route=product%2Fproduct', `referer` = '', `date_added` = '2024-11-26 16:25:46'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:6
250 (0.057)
SELECT phone
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:36
251 (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
252 (0.020)
SELECT logo
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:24
253 (0.085)
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
254 (0.020)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
255 (0.134)
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
256 (0.126)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
257 (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
258 (0.019)
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
259 (0.018)
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
260 (0.063)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
261 (0.052)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
262 (0.022)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
263 (0.025)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
264 (0.022)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
265 (0.023)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
266 (0.017)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
267 (0.020)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ff193feaddac093f879f5596b4'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
268 (0.019)
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
269 (0.022)
SELECT *
FROM oc_category
WHERE category_id = '0'
/home/secretnamaatest/public_html/catalog/model/catalog/category.php:37
270 (0.062)
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
271 (0.019)
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
272 (0.019)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '411' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
273 (0.017)
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
274 (0.018)
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
275 (0.016)
SELECT *
FROM oc_module
WHERE module_id = '53'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
276 (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
277 (0.020)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '411' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
278 (0.017)
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
279 (0.017)
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
280 (0.018)
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
281 (0.036)
SELECT *
FROM oc_product_fqas
WHERE product_id = '411'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
282 (0.044)
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
283 (0.045)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '76' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
284 (0.065)
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
285 (0.061)
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
286 (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
287 (0.035)
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
288 (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
289 (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
290 (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
291 (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
292 (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
293 (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
294 (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
295 (0.023)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '54' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
296 (0.024)
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
297 (0.017)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '411'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
298 (1.921)
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 = '411' 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
299 (0.019)
SELECT slogan
FROM oc_product_description
WHERE product_id = '411' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
300 (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
301 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '411'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
302 (0.214)
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
303 (0.185)
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
304 (0.182)
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