Uygulamayı Mağazadan Edinebilirsiniz

MENÜ
ANTALYA YILDIZLAR

Vergi Dairesi : ANTALYA KURUMLAR

Vergi Numarası : 0700254807

Şehir : Antalya

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


ANTALYA YILDIZLAR DATÜK.MAL.TEKS.TİCTUR.VEİNŞ.LTD.ŞTİ

Vergi Dairesi : ANTALYA KURUMLAR

Vergi Numarası : 0700254807

Şehir : Antalya

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


Queries: 254, Total time: 3,809.265 ms [By time] [By id] [By file]
1 (0.258)
SELECT `data`
FROM `oc_session`
WHERE session_id = '049c13865b4625bfcf4cc3e4ed' AND expire > 1571081538
/home/bpazar/public_html/system/library/session/db.php:21
2 (0.031)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
3 (0.067)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
4 (0.139)
SELECT `data`
FROM `oc_session`
WHERE session_id = 'c5d259f635368d51e3ce6d3865' AND expire > 1571081538
/home/bpazar/public_html/system/library/session/db.php:21
5 (0.062)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://bpazar.com/'
/home/bpazar/storage/modification/catalog/controller/startup/startup.php:7
6 (0.607)
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.084)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
8 (0.089)
SELECT *
FROM oc_currency
/home/bpazar/storage/modification/system/library/cart/currency.php:10
9 (0.065)
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.063)
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.092)
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.085)
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.750)
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.121)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
15 (0.093)
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.426)
show tables like "oc\_journal2\_config"
/home/bpazar/public_html/system/journal2/startup.php:154
17 (0.068)
SELECT *
FROM oc_journal2_config
WHERE store_id = '0' OR store_id = -1
/home/bpazar/public_html/catalog/model/journal2/db.php:7
18 (0.036)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
19 (0.059)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_left'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
20 (0.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
21 (0.163)
SELECT *
FROM oc_journal2_modules
WHERE module_type = "journal2_product_tabs"
/home/bpazar/public_html/catalog/model/journal2/module.php:90
22 (0.089)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
23 (0.072)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'top'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
24 (0.060)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'bottom'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
25 (0.060)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'header'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
26 (0.154)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'footer'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
27 (0.175)
SELECT custom_field
from oc_customer
where customer_id = 1256
/home/bpazar/public_html/catalog/model/account/custom_field.php:50
28 (0.065)
SELECT custom_field
from oc_customer
where customer_id = 1256
/home/bpazar/public_html/catalog/model/account/custom_field.php:58
29 (0.310)
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 = '1256' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
30 (0.066)
SELECT *
FROM oc_zone
WHERE zone_id = '3322' AND status = '1'
/home/bpazar/public_html/catalog/model/localisation/zone.php:4
31 (0.164)
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='1256' AND status = '1')
/home/bpazar/public_html/catalog/model/customerpartner/master.php:147
32 (3.707)
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='1256' AND p.status='1' AND p.date_available <= NOW() AND p2s.store_id = '0'
ORDER BY c2p.product_id
/home/bpazar/public_html/catalog/model/customerpartner/master.php:107
33 (0.146)
SELECT r.*
FROM oc_customerpartner_to_product c2p
INNER JOIN oc_review r ON (c2p.product_id = r.product_id)
WHERE c2p.customer_id = '1256' AND r.status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:162
34 (3.239)
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='1256' AND p.status='1' AND p.date_available <= NOW() AND p2s.store_id = '0'
ORDER BY c2p.product_id
/home/bpazar/public_html/catalog/model/customerpartner/master.php:107
35 (0.040)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
36 (0.075)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_left'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
37 (0.070)
SELECT *
FROM oc_layout_route
WHERE 'customerpartner/profile' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/bpazar/public_html/catalog/model/design/layout.php:13
38 (0.075)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_right'
ORDER BY sort_order
/home/bpazar/public_html/catalog/model/design/layout.php:23
39 (0.069)
SELECT *
FROM oc_wk_feedback_attribute
WHERE field_status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:237
40 (0.074)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
41 (0.082)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1460
42 (0.077)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1460
43 (0.085)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
44 (0.082)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
45 (0.229)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c5d259f635368d51e3ce6d3865'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
46 (0.086)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
47 (0.081)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
48 (0.081)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c5d259f635368d51e3ce6d3865'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
49 (0.091)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
50 (0.080)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c5d259f635368d51e3ce6d3865'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
51 (0.083)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/home/bpazar/storage/modification/system/library/cart/customer.php:122
52 (0.078)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
53 (0.073)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c5d259f635368d51e3ce6d3865'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
54 (0.080)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
55 (0.075)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c5d259f635368d51e3ce6d3865'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
56 (0.124)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
57 (0.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 = '59' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
58 (0.111)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '69' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
59 (2.349)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2019-10-14 18:32:18'
/home/bpazar/public_html/catalog/model/tool/online.php:4
60 (0.115)
REPLACE INTO `oc_customer_online` SET `ip` = '18.208.159.25', `customer_id` = '0', `url` = 'https://www.bpazar.com/ANTALYA-YILDIZLAR/profile-1256', `referer` = '', `date_added` = '2019-10-14 19:32:18'
/home/bpazar/public_html/catalog/model/tool/online.php:6
61 (0.092)
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 = '1256' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
62 (0.101)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
63 (0.116)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '59' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
64 (907.988)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
65 (4.170)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
66 (1,056.741)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
67 (1,386.227)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
68 (97.361)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
69 (3.362)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
70 (17.226)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1131' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
71 (13.196)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
72 (12.494)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
73 (0.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 = '1267' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
74 (1.482)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
75 (0.090)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '69' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
76 (3.454)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
77 (2.783)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
78 (2.600)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '18' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
79 (2.732)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
80 (2.524)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
81 (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 = '33' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
82 (11.808)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
83 (11.807)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
84 (0.137)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '172' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
85 (0.365)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
86 (2.016)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
87 (4.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 = '1188' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
88 (0.299)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
89 (0.199)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
90 (4.525)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '213' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
91 (3.279)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '214' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
92 (0.392)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
93 (0.778)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
94 (1.820)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
95 (0.350)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
96 (4.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 = '212' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
97 (4.732)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
98 (4.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 = '216' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
99 (4.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 = '217' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
100 (4.150)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
101 (3.681)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
102 (0.098)
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
103 (3.621)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
104 (0.828)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
105 (3.290)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
106 (0.760)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1218' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
107 (3.162)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
108 (3.345)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '191' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
109 (3.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 = '185' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
110 (3.984)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
111 (1.481)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '188' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
112 (1.832)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
113 (1.632)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '176' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
114 (0.104)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '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
115 (1.614)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
116 (1.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 = '242' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
117 (3.677)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
118 (3.730)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
119 (4.104)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
120 (4.186)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
121 (1.368)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
122 (3.860)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
123 (3.702)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
124 (3.618)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
125 (3.730)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
126 (3.664)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
127 (0.096)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '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
128 (3.053)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
129 (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 = '201' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
130 (1.171)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
131 (3.738)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
132 (3.532)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
133 (3.891)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
134 (0.305)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
135 (0.415)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
136 (3.919)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
137 (3.497)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
138 (0.111)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '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
139 (3.750)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
140 (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 = '222' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
141 (3.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 = '229' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
142 (1.106)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
143 (1.754)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
144 (1.333)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
145 (1.566)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
146 (1.135)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
147 (3.454)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
148 (0.915)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
149 (0.651)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
150 (3.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 = '221' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
151 (0.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 = '223' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
152 (0.266)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
153 (3.708)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
154 (0.081)
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
155 (3.679)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '177' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
156 (3.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 = '181' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
157 (3.459)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
158 (1.338)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
159 (3.637)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
160 (0.997)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
161 (2.402)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
162 (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 = '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
163 (0.302)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
164 (1.383)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
165 (1.115)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
166 (1.712)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
167 (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 = '197' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
168 (2.487)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
169 (4.623)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
170 (4.500)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
171 (0.441)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
172 (4.524)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
173 (12.569)
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 = 1256 GROUP BY p.product_id
ORDER BY p.sort_order ASC LIMIT 0,10
/home/bpazar/public_html/catalog/model/account/customerpartner.php:482
174 (0.622)
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 = '604001' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
175 (0.529)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '604001'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
176 (0.564)
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 = '604419' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
177 (0.126)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '604419'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
178 (0.581)
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 = '604496' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
179 (0.153)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '604496'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
180 (0.636)
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 = '604560' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
181 (0.429)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '604560'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
182 (0.573)
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 = '604949' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
183 (0.165)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '604949'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
184 (0.509)
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 = '605019' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
185 (0.134)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '605019'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
186 (0.521)
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 = '605136' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
187 (0.125)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '605136'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
188 (0.620)
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 = '605178' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
189 (0.502)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '605178'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
190 (0.718)
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 = '786298' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
191 (0.158)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '786298'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
192 (0.569)
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 = '786399' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
193 (0.136)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '786399'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
194 (5.976)
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 = 1256
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
195 (0.651)
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 = '604001' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
196 (0.564)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '604001'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
197 (0.534)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
198 (0.056)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
199 (0.053)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
200 (0.149)
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 = '604001' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
201 (0.547)
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 = '604419' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
202 (0.099)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '604419'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
203 (0.054)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
204 (0.049)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
205 (0.053)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
206 (0.270)
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 = '604419' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
207 (0.561)
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 = '604496' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
208 (0.103)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '604496'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
209 (0.055)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
210 (0.054)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
211 (0.051)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
212 (0.142)
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 = '604496' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
213 (0.525)
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 = '604560' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
214 (0.478)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '604560'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
215 (0.844)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
216 (0.051)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
217 (0.058)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
218 (0.144)
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 = '604560' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
219 (0.577)
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 = '604949' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
220 (0.097)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '604949'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
221 (0.053)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
222 (0.051)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
223 (0.546)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
224 (0.870)
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 = '604949' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
225 (0.548)
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 = '605019' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
226 (0.105)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '605019'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
227 (0.056)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
228 (0.051)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
229 (0.050)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
230 (0.140)
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 = '605019' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
231 (0.520)
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 = '605136' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
232 (0.151)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '605136'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
233 (0.066)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
234 (0.090)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
235 (0.060)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
236 (0.214)
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 = '605136' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
237 (0.505)
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 = '605178' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
238 (0.094)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '605178'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
239 (0.059)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
240 (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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
241 (0.051)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
242 (0.137)
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 = '605178' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
243 (0.497)
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 = '786298' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
244 (1.064)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '786298'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
245 (0.256)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
246 (0.056)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
247 (0.182)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
248 (0.477)
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 = '786298' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
249 (0.532)
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 = '786399' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1034
250 (0.098)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '786399'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
251 (0.055)
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 = '34'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
252 (0.051)
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 = '69'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
253 (0.055)
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 = '1213'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
254 (0.145)
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 = '786399' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006