Uygulamayı Mağazadan Edinebilirsiniz

MENÜ
MİTELOVE

Vergi Dairesi : MASLAK

Vergi Numarası : 0130655399

Şehir : İstanbul

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


AKAR NET DIŞ TİCARET LİMİTED ŞİRKETİ

Vergi Dairesi : MASLAK

Vergi Numarası : 0130655399

Şehir : İstanbul

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


Göster:
Sırala:
Queries: 274, Total time: 265.924 ms [By time] [By id] [By file]
1 (0.207)
SELECT `data`
FROM `oc_session`
WHERE session_id = 'c7b460fdd5ce302c51f49ef6c3' AND expire > 1568855810
/home/bpazar/public_html/system/library/session/db.php:21
2 (0.063)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
3 (0.066)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
4 (0.115)
SELECT `data`
FROM `oc_session`
WHERE session_id = '4586b9e515ba16e66b919b12d4' AND expire > 1568855810
/home/bpazar/public_html/system/library/session/db.php:21
5 (0.067)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://bpazar.com/'
/home/bpazar/storage/modification/catalog/controller/startup/startup.php:7
6 (0.605)
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.077)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
8 (0.073)
SELECT *
FROM oc_currency
/home/bpazar/storage/modification/system/library/cart/currency.php:10
9 (0.064)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = '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.061)
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.069)
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.070)
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 (3.380)
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.095)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
15 (0.083)
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.413)
show tables like "oc\_journal2\_config"
/home/bpazar/public_html/system/journal2/startup.php:154
17 (0.090)
SELECT *
FROM oc_journal2_config
WHERE store_id = '0' OR store_id = -1
/home/bpazar/public_html/catalog/model/journal2/db.php:7
18 (1.619)
SELECT *
FROM oc_journal2_settings
WHERE `theme_id` = '13'
/home/bpazar/public_html/system/journal2/classes/journal2_skin.php:111
19 (0.089)
SELECT parent_id
FROM oc_journal2_skins
WHERE `skin_id` = '13'
/home/bpazar/public_html/system/journal2/classes/journal2_skin.php:195
20 (0.064)
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
21 (0.058)
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
22 (0.064)
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
23 (0.068)
SELECT *
FROM oc_journal2_modules
WHERE module_type = "journal2_product_tabs"
/home/bpazar/public_html/catalog/model/journal2/module.php:90
24 (0.064)
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
25 (0.061)
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
26 (0.059)
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
27 (0.059)
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
28 (0.063)
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
29 (0.094)
SELECT DISTINCT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i.information_id = '4' AND id.language_id = '3' AND i2s.store_id = '0' AND i.status = '1'
/home/bpazar/public_html/catalog/model/catalog/information.php:4
30 (0.092)
SELECT DISTINCT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i.information_id = '9' AND id.language_id = '3' AND i2s.store_id = '0' AND i.status = '1'
/home/bpazar/public_html/catalog/model/catalog/information.php:4
31 (0.261)
SELECT DISTINCT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i.information_id = '10' AND id.language_id = '3' AND i2s.store_id = '0' AND i.status = '1'
/home/bpazar/public_html/catalog/model/catalog/information.php:4
32 (0.084)
SELECT DISTINCT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i.information_id = '5' AND id.language_id = '3' AND i2s.store_id = '0' AND i.status = '1'
/home/bpazar/public_html/catalog/model/catalog/information.php:4
33 (0.089)
SELECT DISTINCT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i.information_id = '3' AND id.language_id = '3' AND i2s.store_id = '0' AND i.status = '1'
/home/bpazar/public_html/catalog/model/catalog/information.php:4
34 (0.084)
SELECT DISTINCT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i.information_id = '11' AND id.language_id = '3' AND i2s.store_id = '0' AND i.status = '1'
/home/bpazar/public_html/catalog/model/catalog/information.php:4
35 (0.078)
SELECT DISTINCT *
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.category_id = '256' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/bpazar/public_html/catalog/model/catalog/category.php:4
36 (0.067)
SELECT DISTINCT *
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.category_id = '267' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/bpazar/public_html/catalog/model/catalog/category.php:4
37 (0.065)
SELECT DISTINCT *
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.category_id = '212' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/bpazar/public_html/catalog/model/catalog/category.php:4
38 (0.065)
SELECT DISTINCT *
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.category_id = '223' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/bpazar/public_html/catalog/model/catalog/category.php:4
39 (0.064)
SELECT DISTINCT *
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.category_id = '884' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/bpazar/public_html/catalog/model/catalog/category.php:4
40 (0.059)
SELECT DISTINCT *
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.category_id = '202' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/bpazar/public_html/catalog/model/catalog/category.php:4
41 (0.057)
SELECT DISTINCT *
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.category_id = '177' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/home/bpazar/public_html/catalog/model/catalog/category.php:4
42 (0.207)
SELECT custom_field
from oc_customer
where customer_id = 53
/home/bpazar/public_html/catalog/model/account/custom_field.php:50
43 (0.031)
SELECT custom_field
from oc_customer
where customer_id = 53
/home/bpazar/public_html/catalog/model/account/custom_field.php:58
44 (0.053)
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 = '53' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
45 (0.055)
SELECT *
FROM oc_zone
WHERE zone_id = '3354' AND status = '1'
/home/bpazar/public_html/catalog/model/localisation/zone.php:4
46 (0.058)
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='53' AND status = '1')
/home/bpazar/public_html/catalog/model/customerpartner/master.php:147
47 (6.561)
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='53' 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
48 (0.254)
SELECT r.*
FROM oc_customerpartner_to_product c2p
INNER JOIN oc_review r ON (c2p.product_id = r.product_id)
WHERE c2p.customer_id = '53' AND r.status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:162
49 (6.271)
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='53' 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
50 (0.105)
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
51 (0.093)
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
52 (0.068)
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
53 (0.080)
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
54 (0.075)
SELECT *
FROM oc_wk_feedback_attribute
WHERE field_status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:237
55 (0.087)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
56 (0.098)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1460
57 (0.068)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1460
58 (0.071)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
59 (0.079)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
60 (0.189)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4586b9e515ba16e66b919b12d4'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
61 (0.079)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
62 (0.079)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
63 (0.074)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4586b9e515ba16e66b919b12d4'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
64 (0.080)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
65 (0.075)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4586b9e515ba16e66b919b12d4'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
66 (0.076)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/home/bpazar/storage/modification/system/library/cart/customer.php:122
67 (0.069)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
68 (0.074)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4586b9e515ba16e66b919b12d4'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
69 (0.069)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:147
70 (0.070)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '4586b9e515ba16e66b919b12d4'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:150
71 (0.115)
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
72 (0.115)
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
73 (0.105)
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
74 (0.286)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2019-09-19 00:16:50'
/home/bpazar/public_html/catalog/model/tool/online.php:4
75 (0.099)
REPLACE INTO `oc_customer_online` SET `ip` = '35.172.100.232', `customer_id` = '0', `url` = 'https://www.bpazar.com/MITELOVE/profile-53', `referer` = '', `date_added` = '2019-09-19 01:16:50'
/home/bpazar/public_html/catalog/model/tool/online.php:6
76 (0.088)
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 = '53' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
77 (0.093)
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
78 (0.105)
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
79 (3.178)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
80 (2.489)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
81 (3.038)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
82 (2.443)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
83 (2.936)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
84 (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 = '1184' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
85 (3.070)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
86 (3.536)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
87 (4.624)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
88 (0.190)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
89 (7.161)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
90 (0.113)
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
91 (2.644)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
92 (3.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 = '20' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
93 (2.663)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
94 (2.609)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
95 (2.577)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
96 (2.560)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
97 (2.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 = '34' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
98 (2.518)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
99 (0.147)
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
100 (1.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 = '218' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
101 (1.303)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
102 (1.814)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
103 (0.233)
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 = '2586' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
104 (0.178)
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 = '2624' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
105 (2.570)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
106 (3.297)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
107 (0.301)
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 = '2615' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
108 (0.746)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
109 (1.331)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
110 (0.284)
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 = '2640' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
111 (2.597)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
112 (2.571)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
113 (2.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 = '216' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
114 (2.876)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
115 (1.802)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
116 (2.878)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
117 (0.125)
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
118 (2.548)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
119 (0.178)
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 = '2346' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
120 (2.933)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
121 (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 = '1218' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
122 (2.622)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
123 (2.587)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
124 (2.572)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
125 (2.545)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
126 (1.191)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
127 (4.387)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
128 (2.556)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
129 (0.131)
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
130 (2.624)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
131 (2.611)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
132 (2.596)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
133 (2.593)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
134 (2.529)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
135 (2.570)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
136 (0.725)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
137 (2.578)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
138 (2.560)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
139 (2.563)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
140 (2.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 = '241' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
141 (2.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 = '170' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
142 (0.121)
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
143 (2.559)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
144 (0.187)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
145 (0.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 = '205' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
146 (2.579)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
147 (2.255)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
148 (2.533)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
149 (0.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 = '203' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
150 (0.335)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
151 (2.567)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
152 (2.573)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
153 (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 = '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
154 (1.364)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
155 (0.297)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
156 (1.389)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
157 (0.846)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
158 (1.672)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
159 (0.833)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
160 (0.933)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
161 (0.819)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
162 (1.690)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
163 (0.472)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
164 (0.556)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
165 (1.146)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
166 (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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
167 (0.254)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
168 (2.638)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
169 (0.115)
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
170 (2.626)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
171 (4.934)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
172 (2.634)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
173 (0.551)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
174 (2.658)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
175 (0.722)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
176 (2.652)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
177 (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 = '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
178 (0.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 = '196' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
179 (3.731)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
180 (0.794)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
181 (2.660)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
182 (1.765)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
183 (2.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 = '194' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
184 (2.628)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
185 (2.077)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
186 (0.312)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
187 (2.642)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
188 (9.821)
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 = 53 GROUP BY p.product_id
ORDER BY p.sort_order ASC LIMIT 0,10
/home/bpazar/public_html/catalog/model/account/customerpartner.php:482
189 (0.475)
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 = '2214079' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
190 (0.174)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2214079'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
191 (0.406)
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 = '2214100' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
192 (0.094)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2214100'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
193 (0.395)
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 = '2214129' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
194 (0.096)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2214129'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
195 (0.429)
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 = '2214168' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
196 (0.147)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2214168'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
197 (0.441)
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 = '2214187' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
198 (0.142)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2214187'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
199 (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 = '2214209' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
200 (0.149)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2214209'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
201 (0.397)
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 = '2214270' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
202 (0.126)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2214270'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
203 (0.428)
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 = '2426437' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
204 (0.140)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2426437'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
205 (0.436)
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 = '2548173' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
206 (0.135)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2548173'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
207 (0.403)
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 = '2548219' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
208 (0.090)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2548219'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
209 (6.380)
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 = 53
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
210 (0.445)
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 = '2214079' 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:1035
211 (0.085)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2214079'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
212 (0.044)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
213 (0.044)
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 = '244'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
214 (0.039)
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 = '1247'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
215 (0.127)
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 = '2214079' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
216 (0.438)
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 = '2214100' 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:1035
217 (0.081)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2214100'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
218 (0.044)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
219 (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 = '244'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
220 (0.041)
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 = '1247'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
221 (0.116)
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 = '2214100' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
222 (0.436)
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 = '2214129' 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:1035
223 (0.081)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2214129'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
224 (0.046)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
225 (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 = '244'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
226 (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 = '1247'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
227 (0.111)
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 = '2214129' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
228 (0.446)
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 = '2214168' 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:1035
229 (0.084)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2214168'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
230 (0.044)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
231 (0.041)
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 = '107'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
232 (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 = '586'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
233 (0.036)
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 = '588'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
234 (0.122)
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 = '2214168' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
235 (0.437)
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 = '2214187' 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:1035
236 (0.084)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2214187'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
237 (0.045)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
238 (0.041)
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 = '244'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
239 (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 = '1247'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
240 (0.116)
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 = '2214187' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
241 (0.446)
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 = '2214209' 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:1035
242 (0.042)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2214209'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
243 (0.043)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
244 (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 = '244'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
245 (0.041)
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 = '1247'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
246 (0.045)
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 = '2214209' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
247 (0.438)
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 = '2214270' 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:1035
248 (0.085)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2214270'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
249 (0.048)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
250 (0.041)
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 = '107'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
251 (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 = '602'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
252 (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 = '605'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
253 (0.120)
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 = '2214270' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
254 (0.441)
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 = '2426437' 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:1035
255 (0.085)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2426437'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
256 (0.047)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
257 (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 = '107'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
258 (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 = '602'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
259 (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 = '605'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
260 (0.122)
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 = '2426437' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
261 (0.442)
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 = '2548173' 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:1035
262 (0.084)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2548173'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
263 (0.046)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
264 (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 = '107'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
265 (0.036)
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 = '586'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
266 (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 = '588'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
267 (0.119)
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 = '2548173' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013
268 (0.444)
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 = '2548219' 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:1035
269 (0.083)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2548219'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1973
270 (0.044)
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 = '59'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
271 (0.043)
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 = '107'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
272 (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 = '586'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
273 (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 = '588'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2007
274 (0.119)
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 = '2548219' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2013