1 (0.445)
SELECT `data`
FROM `oc_session`
WHERE session_id = '9c9705cb13770e5b83cd0708f9' AND expire > 1731208678
/home/secretnamaatest/public_html/system/library/session/db.php:21
2 (0.066)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
3 (0.072)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
4 (0.227)
SELECT `data`
FROM `oc_session`
WHERE session_id = '9f5440feff7e357ad02af72dd8' AND expire > 1731208678
/home/secretnamaatest/public_html/system/library/session/db.php:21
5 (0.118)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://baladnashop.com/'
/home/secretnamaatest/public_html/catalog/controller/startup/startup.php:6
6 (0.616)
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.069)
SELECT *
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/system/library/cart/customer.php:76
8 (0.062)
SELECT *
FROM oc_currency
/home/secretnamaatest/storage/modification/system/library/cart/currency.php:10
9 (0.104)
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.062)
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.062)
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.060)
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 (56.533)
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.097)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/secretnamaatest/public_html/system/library/openbay.php:61
15 (0.112)
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 (1.286)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
17 (0.090)
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
18 (0.092)
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
19 (0.092)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
20 (0.062)
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
21 (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
22 (0.051)
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
23 (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
24 (0.051)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
25 (0.055)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
26 (0.053)
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
27 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '62' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
28 (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
29 (0.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
30 (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
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.140)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
33 (1.911)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3219' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
34 (0.173)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3219' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
35 (0.300)
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.056)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
37 (0.312)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3219'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
38 (0.210)
SELECT *
FROM oc_product_image
WHERE product_id = '3219'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4636
39 (0.134)
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.117)
SELECT *
FROM oc_product_discount
WHERE product_id = '3219' 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.128)
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 = '3219' AND od.language_id = '1'
ORDER BY o.sort_order
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4582
42 (0.104)
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 = '3219' 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.663)
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.554)
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 = '3219' 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 (1.252)
SELECT *
FROM oc_product_fqas
WHERE product_id = '334'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
46 (0.085)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
47 (0.090)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
48 (0.089)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
49 (0.075)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '59' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
50 (0.048)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
51 (0.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
52 (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
53 (0.051)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
54 (0.052)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
55 (0.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
56 (0.012)
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.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
58 (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
59 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
60 (0.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
61 (0.129)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '334'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
62 (4.561)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '334' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
63 (0.376)
SELECT slogan
FROM oc_product_description
WHERE product_id = '334' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
64 (0.026)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
65 (0.098)
SELECT *
FROM oc_product_to_category
WHERE product_id = '334'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
66 (1.335)
SELECT *
FROM oc_product_fqas
WHERE product_id = '1686'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
67 (0.024)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
68 (0.021)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
69 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
70 (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
71 (0.018)
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
72 (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
73 (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
74 (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
75 (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
76 (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
77 (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
78 (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
79 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
80 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
81 (0.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
82 (0.121)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '1686'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
83 (1.868)
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 = '1686' 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.284)
SELECT slogan
FROM oc_product_description
WHERE product_id = '1686' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
85 (0.153)
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.115)
SELECT *
FROM oc_product_to_category
WHERE product_id = '1686'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
87 (1.334)
SELECT *
FROM oc_product_fqas
WHERE product_id = '1687'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
88 (0.025)
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
89 (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
90 (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
91 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
92 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
93 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
94 (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
95 (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
96 (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
97 (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
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.015)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
100 (0.032)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '52' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
101 (0.028)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
102 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
103 (0.118)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '1687'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
104 (1.931)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '1687' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
105 (0.152)
SELECT slogan
FROM oc_product_description
WHERE product_id = '1687' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
106 (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
107 (0.053)
SELECT *
FROM oc_product_to_category
WHERE product_id = '1687'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
108 (1.185)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3183'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
109 (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
110 (0.018)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
111 (0.021)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '57' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
112 (0.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
113 (0.016)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '60' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
114 (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
115 (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
116 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
117 (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
118 (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
119 (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
120 (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
121 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
122 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
123 (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
124 (0.119)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3183'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
125 (2.058)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3183' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
126 (0.372)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3183' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
127 (0.054)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '0'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1737
128 (0.055)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3183'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
129 (1.360)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3184'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
130 (0.058)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
131 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '68' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
132 (0.020)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '67' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
133 (0.018)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '65' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
134 (0.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
135 (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
136 (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
137 (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
138 (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
139 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
140 (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
141 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '77' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
142 (0.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
143 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '75' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
144 (0.012)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '82' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
145 (0.118)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3184'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
146 (2.271)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3184' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
147 (0.876)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3184' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
148 (0.033)
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.476)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3184'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
150 (1.219)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3217'
/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 = '69' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
152 (0.021)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '70' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
153 (0.019)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
154 (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
155 (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
156 (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
157 (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
158 (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
159 (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
160 (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
161 (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
162 (0.012)
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
163 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
164 (0.013)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
165 (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
166 (0.126)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
167 (1.723)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3217' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
168 (0.261)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3217' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
169 (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
170 (0.062)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3217'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
171 (1.333)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3218'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
172 (0.060)
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.018)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
174 (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
175 (0.020)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '55' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
176 (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
177 (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
178 (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
179 (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
180 (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
181 (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
182 (0.014)
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
183 (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
184 (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
185 (0.014)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '74' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
186 (0.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
187 (0.119)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3218'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
188 (1.662)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3218' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
189 (0.069)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3218' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
190 (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
191 (0.164)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3218'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
192 (0.344)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '334'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
193 (0.342)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '1686'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
194 (0.328)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '1687'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
195 (0.338)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3183'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
196 (0.366)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3184'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
197 (0.348)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3217'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
198 (0.326)
SELECT *
FROM oc_product_fat pf
LEFT JOIN oc_fat_class fc ON (pf.fat_class_id = fc.class_id)
WHERE pf.product_id = '3218'and fc.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1772
199 (0.150)
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 = 3219 AND status = '1' AND pr.customer_group_id = '6'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:5085
200 (1.297)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:110
201 (0.059)
SELECT *
FROM oc_module
WHERE module_id = '149'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
202 (0.261)
SELECT *
FROM oc_product_media_image
WHERE product_id = '3219'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
203 (1.757)
SELECT *
FROM oc_product_video
WHERE product_id = '3219'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
204 (0.060)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'extension/module/gallery_pro'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
205 (0.087)
SELECT *
FROM oc_module
WHERE module_id = '150'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
206 (0.057)
SELECT *
FROM oc_product_media_image
WHERE product_id = '3219'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:22
207 (0.051)
SELECT *
FROM oc_product_video
WHERE product_id = '3219'
ORDER BY sort_order ASC
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:6
208 (0.048)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'extension/module/gallery_pro'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
209 (0.104)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3219' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
210 (0.352)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
211 (0.083)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'column_left'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
212 (0.057)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/column_left'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
213 (0.052)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3219' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
214 (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
215 (0.051)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'column_right'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
216 (0.050)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/column_right'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
217 (0.054)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3219' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
218 (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
219 (0.050)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'content_top'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
220 (0.049)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/content_top'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
221 (0.052)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3219' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
222 (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
223 (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
224 (0.050)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/content_bottom'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
225 (0.167)
SELECT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/home/secretnamaatest/public_html/catalog/model/catalog/information.php:10
226 (0.148)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2024-11-10 02:17:58'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:4
227 (0.088)
REPLACE INTO `oc_customer_online` SET `ip` = '108.162.216.66', `customer_id` = '0', `url` = 'https://baladnashop.com/index.php?product_id=3219&route=product%2Fproduct', `referer` = '', `date_added` = '2024-11-10 03:17:58'
/home/secretnamaatest/public_html/catalog/model/tool/online.php:6
228 (0.018)
SELECT phone
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:36
229 (0.018)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/footer_product'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
230 (0.019)
SELECT logo
FROM oc_customer_group
WHERE customer_group_id = '1'
/home/secretnamaatest/public_html/catalog/model/account/customer_group.php:24
231 (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
232 (0.047)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
233 (0.206)
SELECT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/home/secretnamaatest/public_html/catalog/model/catalog/information.php:10
234 (0.125)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
235 (0.020)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/language'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
236 (0.018)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/currency'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
237 (0.047)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/search'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
238 (0.056)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
239 (0.056)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/secretnamaatest/public_html/catalog/model/setting/extension.php:4
240 (0.055)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
241 (0.047)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
242 (0.052)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
243 (0.055)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
244 (0.050)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
245 (0.055)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '9f5440feff7e357ad02af72dd8'
ORDER BY free_offer DESC , bundle DESC
/home/secretnamaatest/public_html/system/library/cart/cart.php:34
246 (0.045)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/cart'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
247 (0.046)
SELECT *
FROM oc_category
WHERE category_id = '0'
/home/secretnamaatest/public_html/catalog/model/catalog/category.php:37
248 (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
249 (0.052)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/menu'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
250 (0.050)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3219' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
251 (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
252 (0.016)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'block1'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
253 (0.016)
SELECT *
FROM oc_module
WHERE module_id = '53'
/home/secretnamaatest/public_html/catalog/model/setting/module.php:4
254 (0.016)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/block1'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
255 (0.018)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '3219' AND store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4714
256 (0.035)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/secretnamaatest/public_html/catalog/model/design/layout.php:4
257 (0.015)
SELECT *
FROM oc_layout_module
WHERE layout_id = '21' AND position = 'block2'
ORDER BY sort_order
/home/secretnamaatest/public_html/catalog/model/design/layout.php:14
258 (0.017)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'tt_organica6' AND route = 'common/block2'
/home/secretnamaatest/public_html/catalog/model/design/theme.php:4
259 (1.712)
DELETE
FROM `oc_setting`
WHERE `code` = 'facebook' AND `key` = 'facebook_pixel_use_pii'
/home/secretnamaatest/public_html/catalog/model/extension/module/facebook_business.php:174
260 (0.453)
INSERT INTO `oc_setting` SET store_id = '0', `code` = 'facebook', `key` = 'facebook_pixel_use_pii', `value` = 'true'
/home/secretnamaatest/public_html/catalog/model/extension/module/facebook_business.php:175
261 (1.167)
DELETE
FROM `oc_setting`
WHERE `code` = 'facebook' AND `key` = 'facebook_pixel_enabled_aam_fields'
/home/secretnamaatest/public_html/catalog/model/extension/module/facebook_business.php:174
262 (0.418)
INSERT INTO `oc_setting` SET store_id = '0', `code` = 'facebook', `key` = 'facebook_pixel_enabled_aam_fields', `value` = 'em,fn,ln,ge,ph,ct,st,zp,db,country,external_id'
/home/secretnamaatest/public_html/catalog/model/extension/module/facebook_business.php:175
263 (1.150)
DELETE
FROM `oc_setting`
WHERE `code` = 'facebook' AND `key` = 'facebook_last_aam_check_time'
/home/secretnamaatest/public_html/catalog/model/extension/module/facebook_business.php:174
264 (0.399)
INSERT INTO `oc_setting` SET store_id = '0', `code` = 'facebook', `key` = 'facebook_last_aam_check_time', `value` = '1731208679'
/home/secretnamaatest/public_html/catalog/model/extension/module/facebook_business.php:175
265 (0.292)
SELECT *
FROM oc_product_fqas
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:77
266 (0.271)
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
267 (0.252)
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
268 (0.203)
SELECT DISTINCT *
FROM oc_fqa f
LEFT JOIN oc_fqa_description fd ON (f.id = fd.fqa_id)
WHERE f.id = '81' AND fd.language_id = '1'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:87
269 (0.205)
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
270 (0.200)
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
271 (0.240)
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
272 (0.241)
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
273 (0.201)
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
274 (0.106)
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
275 (0.198)
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
276 (0.245)
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
277 (0.137)
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
278 (0.205)
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
279 (0.219)
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
280 (0.138)
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
281 (0.176)
SELECT *
FROM oc_product_coustmer_group
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:278
282 (11.172)
SELECT DISTINCT *,p.cost_price,p.vip_price,cdcs.name as cname, pd.name AS name, p.noodels, p.maximum , p.code, p.bundle, p.is_starred, p.gift, pd.description as description, pd.youtubevideo, pd.recipevideo, pd.videoimg, pd.recipevideoimage, p.image, fc.icon AS fat, fc.description AS fat_description, coo.icon AS cooling, coo.description AS cooling_description, p.youtube, ptc.category_id, m.name AS manufacturer,
(SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '5' AND pd2.quantity = '1' AND coo.language_id = '1' AND fc.language_id = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '5' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '5') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_fat_class fc ON (fc.class_id = p.fat)
LEFT JOIN oc_cooling coo ON (coo.class_id = p.cooling)
LEFT JOIN oc_product_to_category ptc ON (ptc.product_id = p.product_id)
LEFT JOIN oc_category mc ON (mc.category_id = ptc.category_id)
LEFT JOIN oc_category_description cdcs ON (cdcs.category_id = mc.category_id)
LEFT JOIN oc_product_coustmer_group pcg ON (p.product_id = pcg.product_id)
WHERE mc.parent_id = 0 and pcg.customer_group_id = 5 and p.product_id = '3219' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:326
283 (0.197)
SELECT slogan
FROM oc_product_description
WHERE product_id = '3219' AND language_id = '2'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:1136
284 (0.173)
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
285 (0.222)
SELECT *
FROM oc_product_to_category
WHERE product_id = '3219'
/home/secretnamaatest/storage/modification/catalog/model/catalog/product.php:4725
286 (0.192)
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
287 (0.298)
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
288 (0.179)
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