Uygulamayı Mağazadan Edinebilirsiniz

MENÜ
Gumush.com

Vergi Dairesi : HOCAPAŞA

Vergi Numarası : 8330074826

Şehir : İstanbul

Mağaza merkez adresi ve onaylanmış telefon numarası bpazar.com kayıtlarında mevcuttur.


FEYZULLAH İNCECİK

Vergi Dairesi : HOCAPAŞA

Vergi Numarası : 8330074826

Şehir : İstanbul

Mağaza merkez adresi ve onaylanmış telefon numarası bpazar.com kayıtlarında mevcuttur.


Queries: 251, Total time: 866.292 ms [By time] [By id] [By file]
1 (0.211)
SELECT `data`
FROM `oc_session`
WHERE session_id = '95cb500e9dcb72d9b996c4b105' AND expire > 1563816244
/home/bpazar/public_html/system/library/session/db.php:21
2 (0.043)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
3 (0.030)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
4 (0.092)
SELECT `data`
FROM `oc_session`
WHERE session_id = '8fe2edcd76efc82900db8862f2' AND expire > 1563816244
/home/bpazar/public_html/system/library/session/db.php:21
5 (0.032)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://bpazar.com/'
/home/bpazar/storage/modification/catalog/controller/startup/startup.php:7
6 (0.549)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/home/bpazar/storage/modification/catalog/controller/startup/startup.php:26
7 (0.073)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
8 (0.076)
SELECT *
FROM oc_currency
/home/bpazar/storage/modification/system/library/cart/currency.php:10
9 (0.033)
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 = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '215' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '3354')
ORDER BY tr1.priority ASC
/home/bpazar/public_html/system/library/cart/tax.php:16
10 (0.026)
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 = '1' AND z2gz.country_id = '215' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '3354')
ORDER BY tr1.priority ASC
/home/bpazar/public_html/system/library/cart/tax.php:44
11 (0.035)
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 = '3'
/home/bpazar/public_html/system/library/cart/weight.php:10
12 (0.036)
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 = '3'
/home/bpazar/public_html/system/library/cart/length.php:10
13 (2.212)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/home/bpazar/storage/modification/system/library/cart/cart.php:15
14 (0.069)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
15 (0.045)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/home/bpazar/public_html/catalog/model/setting/event.php:4
16 (0.395)
show tables like "oc\_journal2\_config"
/home/bpazar/public_html/system/journal2/startup.php:154
17 (0.099)
SELECT *
FROM oc_journal2_config
WHERE store_id = '0' OR store_id = -1
/home/bpazar/public_html/catalog/model/journal2/db.php:7
18 (0.083)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
19 (0.061)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_left'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
20 (0.054)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_right'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
21 (0.046)
SELECT *
FROM oc_journal2_modules
WHERE module_type = "journal2_product_tabs"
/home/bpazar/public_html/catalog/model/journal2/module.php:90
22 (0.039)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
23 (0.037)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'top'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
24 (0.036)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'bottom'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
25 (0.037)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'header'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
26 (0.074)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'footer'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
27 (0.326)
SELECT custom_field
from oc_customer
where customer_id = 2238
/home/bpazar/public_html/catalog/model/account/custom_field.php:50
28 (0.040)
SELECT custom_field
from oc_customer
where customer_id = 2238
/home/bpazar/public_html/catalog/model/account/custom_field.php:58
29 (0.066)
SELECT c2c.*, c.*,c.firstname,c.lastname,co.name as country, a.address_1, a.address_2, a.city, a.postcode, a.country_id, a.zone_id, a.custom_field
FROM oc_customerpartner_to_customer c2c
LEFT JOIN oc_customer c ON (c2c.customer_id = c.customer_id)
LEFT JOIN oc_address a ON (c.address_id = a.address_id)
LEFT JOIN oc_country co ON (c2c.country = co.iso_code_2)
WHERE c2c.customer_id = '2238' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
30 (0.037)
SELECT *
FROM oc_zone
WHERE zone_id = '3354' AND status = '1'
/home/bpazar/public_html/catalog/model/localisation/zone.php:4
31 (0.038)
SELECT round(AVG(field_value)) avg
FROM `oc_wk_feedback_attribute_values`
WHERE feedback_id IN (SELECT id
FROM `oc_customerpartner_to_feedback`
WHERE seller_id='2238' AND status = '1')
/home/bpazar/public_html/catalog/model/customerpartner/master.php:147
32 (29.901)
SELECT DISTINCT p.product_id
FROM oc_customerpartner_to_product c2p
LEFT JOIN oc_product p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE c2p.customer_id='2238' AND p.status='1' AND p.date_available <= NOW() AND p2s.store_id = '0'
ORDER BY c2p.product_id
/home/bpazar/public_html/catalog/model/customerpartner/master.php:107
33 (0.708)
SELECT r.*
FROM oc_customerpartner_to_product c2p
INNER JOIN oc_review r ON (c2p.product_id = r.product_id)
WHERE c2p.customer_id = '2238' AND r.status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:162
34 (28.038)
SELECT DISTINCT p.product_id
FROM oc_customerpartner_to_product c2p
LEFT JOIN oc_product p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE c2p.customer_id='2238' AND p.status='1' AND p.date_available <= NOW() AND p2s.store_id = '0'
ORDER BY c2p.product_id
/home/bpazar/public_html/catalog/model/customerpartner/master.php:107
35 (0.048)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
36 (0.037)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_left'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
37 (0.046)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
38 (0.034)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_right'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
39 (0.040)
SELECT *
FROM oc_wk_feedback_attribute
WHERE field_status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:237
40 (0.070)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
41 (0.093)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1453
42 (0.076)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1453
43 (0.078)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
44 (0.096)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
45 (0.418)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8fe2edcd76efc82900db8862f2'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
46 (0.082)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
47 (0.084)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
48 (0.078)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8fe2edcd76efc82900db8862f2'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
49 (0.085)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
50 (0.083)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8fe2edcd76efc82900db8862f2'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
51 (0.084)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/home/bpazar/storage/modification/system/library/cart/customer.php:122
52 (0.076)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
53 (0.078)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8fe2edcd76efc82900db8862f2'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
54 (0.074)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
55 (0.071)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8fe2edcd76efc82900db8862f2'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
56 (0.123)
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 cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
57 (0.122)
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 = '59' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
58 (0.112)
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 = '69' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
59 (1.514)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2019-07-22 16:24:04'
/home/bpazar/public_html/catalog/model/tool/online.php:4
60 (0.161)
REPLACE INTO `oc_customer_online` SET `ip` = '54.174.43.27', `customer_id` = '0', `url` = 'https://www.bpazar.com/Gumush.com/profile-2238', `referer` = '', `date_added` = '2019-07-22 17:24:04'
/home/bpazar/public_html/catalog/model/tool/online.php:6
61 (0.093)
SELECT c2c.*, c.*,c.firstname,c.lastname,co.name as country, a.address_1, a.address_2, a.city, a.postcode, a.country_id, a.zone_id, a.custom_field
FROM oc_customerpartner_to_customer c2c
LEFT JOIN oc_customer c ON (c2c.customer_id = c.customer_id)
LEFT JOIN oc_address a ON (c.address_id = a.address_id)
LEFT JOIN oc_country co ON (c2c.country = co.iso_code_2)
WHERE c2c.customer_id = '2238' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
62 (0.104)
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 cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
63 (0.111)
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 = '59' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
64 (4.784)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '256' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
65 (2.928)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '245' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
66 (4.148)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '247' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
67 (5.366)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '243' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
68 (4.503)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '105' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
69 (4.323)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1184' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
70 (3.619)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1131' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
71 (4.442)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '244' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
72 (4.314)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '107' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
73 (0.229)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1267' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
74 (4.151)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '59' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
75 (0.126)
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 = '69' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
76 (2.760)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '184' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
77 (3.849)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '20' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
78 (4.429)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '18' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
79 (4.241)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '25' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
80 (4.095)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '24' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
81 (4.010)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '33' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
82 (4.039)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '34' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
83 (4.258)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '69' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
84 (0.136)
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 = '172' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
85 (2.499)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '218' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
86 (1.354)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '210' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
87 (1.817)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1188' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
88 (4.449)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '213' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
89 (341.991)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '214' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
90 (0.896)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1251' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
91 (1.662)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1223' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
92 (4.756)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '212' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
93 (4.508)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '211' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
94 (4.175)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '216' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
95 (4.089)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '217' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
96 (2.437)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '215' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
97 (4.091)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '172' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
98 (0.120)
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 = '176' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
99 (3.982)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '189' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
100 (2.826)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1190' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
101 (0.557)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1218' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
102 (2.905)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '186' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
103 (4.421)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '191' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
104 (4.281)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '185' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
105 (4.008)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '187' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
106 (1.650)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '188' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
107 (6.994)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '190' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
108 (4.406)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '176' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
109 (0.163)
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 = '170' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
110 (4.543)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '239' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
111 (4.543)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '242' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
112 (4.858)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '236' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
113 (4.773)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '237' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
114 (4.583)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '752' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
115 (4.527)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '884' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
116 (0.904)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '234' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
117 (4.416)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '235' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
118 (4.384)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '238' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
119 (4.481)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '240' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
120 (4.321)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '241' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
121 (4.198)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '170' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
122 (0.146)
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 = '173' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
123 (6.395)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '209' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
124 (0.293)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '201' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
125 (1.603)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '205' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
126 (8.226)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '208' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
127 (1.553)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '207' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
128 (34.632)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '206' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
129 (0.371)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '203' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
130 (0.600)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '204' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
131 (4.437)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '202' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
132 (26.238)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '173' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
133 (0.150)
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 = '171' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
134 (1.521)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '232' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
135 (0.339)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '222' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
136 (1.347)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '229' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
137 (0.456)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '571' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
138 (2.791)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '220' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
139 (0.894)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '230' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
140 (1.055)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '228' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
141 (1.036)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '231' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
142 (1.769)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '224' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
143 (0.600)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '225' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
144 (0.552)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '226' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
145 (1.163)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '221' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
146 (0.517)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '223' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
147 (0.256)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '227' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
148 (4.610)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '171' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
149 (0.078)
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 = '174' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
150 (4.513)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '177' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
151 (5.979)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '181' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
152 (3.288)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '182' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
153 (0.837)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '180' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
154 (4.679)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '179' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
155 (1.375)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1183' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
156 (4.557)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '174' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
157 (0.128)
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 = '175' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
158 (0.345)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '196' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
159 (4.214)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '195' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
160 (1.279)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '198' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
161 (4.525)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '192' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
162 (1.920)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '197' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
163 (4.384)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '194' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
164 (4.263)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '193' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
165 (3.094)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '200' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
166 (0.328)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '199' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
167 (4.211)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '175' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
168 (0.089)
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 = '1256' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
169 (0.314)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1256' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
170 (52.474)
SELECT p.product_id, (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_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238 GROUP BY p.product_id
ORDER BY p.sort_order ASC LIMIT 0,10
/home/bpazar/public_html/catalog/model/account/customerpartner.php:475
171 (0.641)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '950605' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
172 (0.944)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '950605'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
173 (0.484)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '1238234' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
174 (0.362)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '1238234'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
175 (0.492)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '950627' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
176 (0.363)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '950627'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
177 (0.445)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '1238258' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
178 (0.167)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '1238258'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
179 (0.878)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '950656' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
180 (0.157)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '950656'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
181 (0.496)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '1238282' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
182 (0.163)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '1238282'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
183 (0.479)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '950678' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
184 (0.163)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '950678'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
185 (0.433)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '1273175' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
186 (0.115)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '1273175'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
187 (0.499)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '950700' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
188 (0.127)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '950700'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
189 (0.499)
SELECT DISTINCT *, pd.name AS name, p.image, p.original_price,p.original_currency, m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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)
WHERE p.product_id = '949079' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:303
190 (0.315)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '949079'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:305
191 (24.321)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 2238
/home/bpazar/public_html/catalog/model/account/customerpartner.php:535
192 (0.661)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '950605' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
193 (0.494)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '950605'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
194 (0.081)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
195 (0.118)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
196 (0.073)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
197 (0.577)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '950605' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
198 (0.558)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '1238234' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
199 (0.159)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '1238234'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
200 (0.068)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
201 (0.065)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
202 (0.063)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
203 (0.169)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '1238234' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
204 (0.535)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '950627' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
205 (0.149)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '950627'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
206 (0.073)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
207 (0.066)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
208 (0.031)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
209 (0.225)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '950627' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
210 (0.641)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '1238258' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
211 (0.118)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '1238258'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
212 (0.038)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
213 (0.032)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
214 (0.073)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
215 (0.167)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '1238258' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
216 (0.617)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '950656' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
217 (0.474)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '950656'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
218 (0.087)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
219 (0.042)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
220 (0.035)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
221 (0.257)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '950656' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
222 (0.579)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '1238282' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
223 (0.080)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '1238282'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
224 (0.038)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
225 (0.037)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
226 (0.067)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
227 (0.170)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '1238282' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
228 (1.090)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '950678' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
229 (0.122)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '950678'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
230 (0.921)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
231 (0.104)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
232 (0.102)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
233 (0.162)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '950678' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
234 (0.551)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '1273175' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
235 (0.141)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '1273175'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
236 (0.072)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
237 (0.072)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
238 (0.071)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
239 (0.316)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '1273175' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
240 (0.545)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '950700' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
241 (0.236)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '950700'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
242 (0.071)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
243 (0.066)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '206'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
244 (0.064)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '432'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
245 (0.162)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '950700' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011
246 (0.529)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (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, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') 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 = '3') 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 = '3') 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_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
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)
WHERE p.product_id = '949079' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
247 (0.119)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '949079'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1971
248 (1.560)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
249 (0.098)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '205'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
250 (0.105)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '415'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2005
251 (0.164)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '949079' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2011