1 (1.013)
SELECT `data`
FROM `oc_session`
WHERE session_id = 'cd766fba4c6709c84189c27e49' AND expire > 1732624760
/home/secretnamaatest/public_html/system/library/session/db.php:21
2 (0.061)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
3 (0.058)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
4 (0.104)
SELECT `data`
FROM `oc_session`
WHERE session_id = 'b178bf456dda8972d8814c78a1' AND expire > 1732624760
/home/secretnamaatest/public_html/system/library/session/db.php:21
5 (0.060)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://baladnashop.com/'
/home/secretnamaatest/public_html/catalog/controller/startup/startup.php:6
6 (0.679)
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.060)
SELECT *
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/system/library/cart/customer.php:76
8 (0.057)
SELECT *
FROM oc_currency
/home/secretnamaatest/storage/modification/system/library/cart/currency.php:10
9 (0.096)
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.056)
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.057)
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.054)
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.892)
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.080)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
15 (0.100)
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.071)
SELECT *
FROM oc_product_fqas
WHERE product_id = '593'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
17 (0.052)
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
18 (0.121)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
19 (0.051)
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.052)
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.051)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
22 (0.047)
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
23 (0.056)
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
24 (0.016)
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
25 (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
26 (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
27 (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
28 (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
29 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '66' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
30 (0.013)
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
31 (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
32 (0.020)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '593'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
33 (2.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 = '6' 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 = '6' 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 = '6') 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 = 6 and p.product_id = '593' 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 = '593' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
35 (0.018)
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.013)
SELECT *
FROM oc_product_to_category
WHERE product_id = '593'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
37 (0.067)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '593'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
38 (0.061)
SELECT *
FROM oc_product_image
WHERE product_id = '593'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4636
39 (0.077)
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.119)
SELECT *
FROM oc_product_discount
WHERE product_id = '593' 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.020)
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 = '593' AND od.language_id = '1'
ORDER BY o.sort_order
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4582
42 (0.017)
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 = '593' 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 (0.372)
SELECT p.product_id, p.arabic_name, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE pcg.customer_group_id = 1 and pd.language_id = '1' AND p.status = '1' AND p.gift != '1' AND p.date_available <= NOW() AND p2s.store_id = '0' GROUP BY p.product_id
ORDER BY p.date_added DESC, LCASE(pd.name) DESC LIMIT 0,10
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:3562
44 (0.359)
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 = '593' 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.021)
SELECT *
FROM oc_product_fqas
WHERE product_id = '83'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
46 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '92' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
47 (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
48 (0.013)
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
49 (0.015)
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
50 (0.017)
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
51 (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
52 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
53 (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
54 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '64' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
55 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
56 (0.014)
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
57 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
58 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
59 (0.013)
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
60 (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
61 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '88' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
62 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
63 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
64 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '83'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
65 (1.815)
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 = '6' 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 = '6' 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 = '6') 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 = 6 and p.product_id = '83' 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
66 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '83' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
67 (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
68 (0.013)
SELECT *
FROM oc_product_to_category
WHERE product_id = '83'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
69 (0.017)
SELECT *
FROM oc_product_fqas
WHERE product_id = '2953'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
70 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
71 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '69' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
72 (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
73 (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
74 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
75 (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
76 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
77 (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
78 (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
79 (0.014)
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
80 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
81 (0.012)
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
82 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
83 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
84 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
85 (0.014)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '2953'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
86 (1.772)
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 = '6' 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 = '6' 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 = '6') 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 = 6 and p.product_id = '2953' 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
87 (0.016)
SELECT slogan
FROM oc_product_description
WHERE product_id = '2953' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
88 (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
89 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '2953'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
90 (0.017)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3092'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
91 (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
92 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
93 (0.012)
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
94 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
95 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
96 (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
97 (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
98 (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
99 (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
100 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
101 (0.016)
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
102 (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
103 (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
104 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '69' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
105 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
106 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3092'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
107 (1.773)
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 = '6' 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 = '6' 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 = '6') 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 = 6 and p.product_id = '3092' 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
108 (0.024)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3092' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
109 (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
110 (0.015)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3092'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
111 (0.017)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3093'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
112 (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
113 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
114 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '80' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
115 (0.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
116 (0.013)
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
117 (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
118 (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
119 (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
120 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
121 (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
122 (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
123 (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
124 (0.012)
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
125 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
126 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
127 (0.015)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3093'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
128 (1.740)
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 = '6' 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 = '6' 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 = '6') 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 = 6 and p.product_id = '3093' 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
129 (0.017)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3093' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
130 (0.016)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
131 (0.014)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3093'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
132 (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 = '83'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
133 (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 = '2953'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
134 (0.047)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3092'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
135 (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 = '3093'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
136 (0.051)
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 = 593 AND status = '1' AND pr.customer_group_id = '6'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:5085
137 (0.146)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '593'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:110
138 (0.047)
SELECT *
FROM oc_module
WHERE module_id = '149'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
139 (0.055)
SELECT *
FROM oc_product_media_image
WHERE product_id = '593'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
140 (0.053)
SELECT *
FROM oc_product_video
WHERE product_id = '593'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
141 (0.057)
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
142 (0.055)
SELECT *
FROM oc_module
WHERE module_id = '150'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
143 (0.060)
SELECT *
FROM oc_product_media_image
WHERE product_id = '593'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
144 (0.054)
SELECT *
FROM oc_product_video
WHERE product_id = '593'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
145 (0.050)
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
146 (0.052)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '593' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
147 (0.049)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
148 (0.050)
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
149 (0.051)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/column_left'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
150 (0.055)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '593' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
151 (0.055)
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
152 (0.049)
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
153 (0.051)
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
154 (0.053)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '593' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
155 (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
156 (0.051)
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
157 (0.052)
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
158 (0.052)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '593' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
159 (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
160 (0.050)
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
161 (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
162 (0.253)
SELECT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/home/secretnamaatest/public_html/catalog/model/catalog/information.php:10
163 (0.148)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2024-11-26 11:39:20'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:4
164 (0.095)
REPLACE INTO `oc_customer_online` SET `ip` = '172.70.178.75', `customer_id` = '0', `url` = 'https://baladnashop.com/index.php?product_id=593&route=product%2Fproduct', `referer` = '', `date_added` = '2024-11-26 12:39:20'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:6
165 (0.043)
SELECT phone
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:36
166 (0.043)
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
167 (0.046)
SELECT logo
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:24
168 (0.120)
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
169 (0.046)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
170 (0.145)
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
171 (0.201)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
172 (0.049)
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
173 (0.070)
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
174 (0.044)
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
175 (0.072)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
176 (0.059)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
177 (0.062)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
178 (0.075)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
179 (0.061)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
180 (0.063)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
181 (0.059)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
182 (0.061)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'b178bf456dda8972d8814c78a1'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
183 (0.059)
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
184 (0.066)
SELECT *
FROM oc_category
WHERE category_id = '0'
/home/secretnamaatest/public_html/catalog/model/catalog/category.php:37
185 (0.096)
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
186 (0.059)
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
187 (0.064)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '593' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
188 (0.058)
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
189 (0.060)
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
190 (0.059)
SELECT *
FROM oc_module
WHERE module_id = '53'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
191 (0.058)
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
192 (0.061)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '593' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
193 (0.058)
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
194 (0.057)
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
195 (0.061)
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
196 (0.090)
SELECT *
FROM oc_product_fqas
WHERE product_id = '593'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
197 (0.060)
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
198 (0.057)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '84' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
199 (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
200 (0.058)
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
201 (0.061)
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
202 (0.056)
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.015)
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
204 (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
205 (0.056)
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
206 (0.069)
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
207 (0.062)
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
208 (0.069)
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
209 (0.049)
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
210 (0.016)
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
211 (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
212 (0.021)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '593'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
213 (2.014)
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 = '6' 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 = '6' 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 = '6') 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 = 6 and p.product_id = '593' 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
214 (0.021)
SELECT slogan
FROM oc_product_description
WHERE product_id = '593' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
215 (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
216 (0.015)
SELECT *
FROM oc_product_to_category
WHERE product_id = '593'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
217 (0.061)
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
218 (0.128)
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
219 (0.054)
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