Uygulamayı Mağazadan Edinebilirsiniz

MENÜ
BEYZA KİTABEVİ

Vergi Dairesi : İLYASBEY

Vergi Numarası : 41098288000

Şehir : Kocaeli

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


UFUK KAVRAN

Vergi Dairesi : İLYASBEY

Vergi Numarası : 41098288000

Şehir : Kocaeli

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


Queries: 253, Total time: 4,731.036 ms [By time] [By id] [By file]
1 (12.396)
SELECT `data`
FROM `oc_session`
WHERE session_id = '23aec33e07b70a97c58a6e5afd' AND expire > 1576426879
/home/bpazar/public_html/system/library/session/db.php:21
2 (1.522)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
3 (0.599)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
4 (1.955)
SELECT `data`
FROM `oc_session`
WHERE session_id = '5a0dba63183c6346273a80e274' AND expire > 1576426879
/home/bpazar/public_html/system/library/session/db.php:21
5 (2.884)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://bpazar.com/'
/home/bpazar/storage/modification/catalog/controller/startup/startup.php:6
6 (1.184)
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:25
7 (0.079)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
8 (0.068)
SELECT *
FROM oc_currency
/home/bpazar/storage/modification/system/library/cart/currency.php:10
9 (1.015)
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.747)
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.075)
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.064)
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 (8.109)
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.412)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/bpazar/public_html/system/library/openbay.php:61
15 (0.096)
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.569)
show tables like "oc\_journal2\_config"
/home/bpazar/public_html/system/journal2/startup.php:154
17 (0.106)
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.043)
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.029)
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.030)
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.044)
SELECT *
FROM oc_journal2_modules
WHERE module_type = "journal2_product_tabs"
/home/bpazar/public_html/catalog/model/journal2/module.php:90
22 (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
23 (0.033)
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.030)
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.029)
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.035)
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.167)
SELECT custom_field
from oc_customer
where customer_id = 1291
/home/bpazar/public_html/catalog/model/account/custom_field.php:50
28 (1.685)
SELECT custom_field
from oc_customer
where customer_id = 1291
/home/bpazar/public_html/catalog/model/account/custom_field.php:58
29 (0.065)
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 = '1291' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
30 (0.102)
SELECT *
FROM oc_zone
WHERE zone_id = '3366' AND status = '1'
/home/bpazar/public_html/catalog/model/localisation/zone.php:4
31 (0.948)
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='1291' AND status = '1')
/home/bpazar/public_html/catalog/model/customerpartner/master.php:147
32 (1,207.987)
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='1291' 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.255)
SELECT r.*
FROM oc_customerpartner_to_product c2p
INNER JOIN oc_review r ON (c2p.product_id = r.product_id)
WHERE c2p.customer_id = '1291' AND r.status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:162
34 (12.151)
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='1291' 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.045)
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.040)
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.049)
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.049)
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.046)
SELECT *
FROM oc_wk_feedback_attribute
WHERE field_status = 1
/home/bpazar/public_html/catalog/model/customerpartner/master.php:237
40 (0.049)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
41 (0.065)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1460
42 (0.053)
SELECT *
FROM oc_customerpartner_to_customer
WHERE customer_id = '0'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:1460
43 (0.054)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/bpazar/public_html/catalog/model/localisation/language.php:15
44 (0.052)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
45 (0.209)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '5a0dba63183c6346273a80e274'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
46 (1.287)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/bpazar/public_html/catalog/model/setting/extension.php:4
47 (0.060)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
48 (0.053)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '5a0dba63183c6346273a80e274'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
49 (0.060)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
50 (0.053)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '5a0dba63183c6346273a80e274'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
51 (0.059)
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.048)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
53 (0.050)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '5a0dba63183c6346273a80e274'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
54 (0.054)
SELECT *
FROM oc_pointsvalues
/home/bpazar/storage/modification/system/library/cart/cart.php:144
55 (0.047)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '5a0dba63183c6346273a80e274'
ORDER BY seller_id ASC
/home/bpazar/storage/modification/system/library/cart/cart.php:147
56 (0.099)
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.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 = '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.089)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '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.658)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2019-12-15 15:21:21'
/home/bpazar/public_html/catalog/model/tool/online.php:4
60 (0.097)
REPLACE INTO `oc_customer_online` SET `ip` = '34.237.51.159', `customer_id` = '0', `url` = 'https://www.bpazar.com/BEYZA-KITABEVI/profile-1291', `referer` = '', `date_added` = '2019-12-15 16:21:21'
/home/bpazar/public_html/catalog/model/tool/online.php:6
61 (0.072)
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 = '1291' AND c2c.is_partner = '1' AND c.status = '1'
/home/bpazar/public_html/catalog/model/customerpartner/master.php:120
62 (0.093)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/bpazar/public_html/catalog/model/catalog/category.php:11
63 (0.102)
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 (1,654.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 = '256' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
65 (4.208)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
66 (3.452)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
67 (3.129)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
68 (4.526)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
69 (3.436)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
70 (4.072)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
71 (3.665)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
72 (1,446.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 = '107' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
73 (0.889)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
74 (3.767)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
75 (2.619)
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 (4.435)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
77 (6.238)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '20' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
78 (3.403)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
79 (3.423)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
80 (6.188)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
81 (3.642)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '33' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
82 (6.544)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
83 (3.419)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
84 (0.202)
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 (1.579)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '210' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
86 (1.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 = '1188' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
87 (0.720)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
88 (0.228)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
89 (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 = '213' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
90 (3.674)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
91 (0.736)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
92 (0.798)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
93 (1.596)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1223' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
94 (0.433)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
95 (3.353)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
96 (2.951)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
97 (2.990)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
98 (2.895)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
99 (2.014)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
100 (2.929)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
101 (0.161)
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
102 (2.846)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '189' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
103 (0.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 = '2346' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
104 (0.917)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
105 (0.293)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '1218' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
106 (0.233)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '186' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
107 (2.896)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '191' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
108 (14.458)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
109 (4.852)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
110 (0.934)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '188' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
111 (2.799)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
112 (13.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 = '176' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
113 (0.140)
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
114 (2.801)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
115 (2.825)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
116 (2.853)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
117 (2.769)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '237' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
118 (2.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 = '752' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
119 (3.054)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
120 (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 = '234' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
121 (7.077)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '235' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
122 (6.200)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
123 (6.929)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
124 (4.212)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
125 (3.223)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
126 (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 = '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
127 (5.231)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
128 (0.293)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '201' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
129 (1.503)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '205' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
130 (4.328)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '208' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
131 (3.269)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
132 (3.152)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
133 (0.307)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
134 (0.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 = '204' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
135 (2.845)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
136 (2.784)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '173' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
137 (0.155)
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
138 (1.552)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '232' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
139 (0.426)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
140 (1.867)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
141 (0.625)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
142 (1.753)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
143 (1.005)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
144 (1.219)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
145 (0.769)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '231' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
146 (2.296)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
147 (0.616)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
148 (0.594)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
149 (1.353)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
150 (0.406)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '223' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
151 (0.277)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
152 (3.229)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '171' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
153 (0.121)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '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
154 (3.357)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
155 (5.238)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '181' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
156 (2.955)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
157 (1.657)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
158 (3.217)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
159 (1.479)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
160 (3.131)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
161 (0.092)
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
162 (0.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 = '196' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
163 (6.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 = '195' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
164 (1.974)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
165 (7.259)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
166 (0.529)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '197' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
167 (6.111)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
168 (5.408)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
169 (2.791)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2c.category_id = '200' AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
170 (0.408)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
171 (2.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)
LEFT JOIN oc_product_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 = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
172 (29.278)
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 = 1291 GROUP BY p.product_id
ORDER BY p.sort_order ASC LIMIT 0,10
/home/bpazar/public_html/catalog/model/account/customerpartner.php:482
173 (0.529)
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 = '2370531' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
174 (0.152)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2370531'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
175 (0.522)
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 = '2370628' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
176 (0.126)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2370628'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
177 (0.460)
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 = '2370788' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
178 (0.150)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2370788'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
179 (0.529)
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 = '2370804' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
180 (0.121)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2370804'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
181 (0.628)
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 = '2370821' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
182 (0.138)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2370821'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
183 (0.673)
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 = '2370837' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
184 (0.144)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2370837'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
185 (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 = '2371246' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
186 (0.147)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2371246'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
187 (0.626)
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 = '2371274' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
188 (0.131)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2371274'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
189 (0.591)
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 = '2385061' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
190 (0.150)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2385061'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
191 (0.595)
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 = '2385078' AND pd.language_id = '3'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:310
192 (0.135)
SELECT *
FROM oc_customerpartner_to_product
WHERE product_id = '2385078'
/home/bpazar/public_html/catalog/model/account/customerpartner.php:312
193 (19.095)
SELECT count(*) as total
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_customerpartner_to_product c2p ON (c2p.product_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pd.language_id = '3' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.status = '1' AND c2p.customer_id = 1291
/home/bpazar/public_html/catalog/model/account/customerpartner.php:542
194 (0.823)
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 = '2370531' 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
195 (0.370)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2370531'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
196 (0.285)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
197 (0.129)
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 = '185'
/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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
199 (0.156)
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 = '2370531' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
200 (1.683)
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 = '2370628' 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
201 (0.143)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2370628'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
202 (0.986)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
203 (0.100)
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
204 (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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
205 (1.400)
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 = '2370628' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
206 (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 = '2370788' 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
207 (0.130)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2370788'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
208 (0.875)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
210 (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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
211 (0.191)
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 = '2370788' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
212 (1.309)
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 = '2370804' 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
213 (0.137)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2370804'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
214 (1.069)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
215 (0.067)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
216 (0.064)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
217 (0.156)
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 = '2370804' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
218 (1.193)
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 = '2370821' 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
219 (0.137)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2370821'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
220 (1.167)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
221 (0.082)
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
222 (0.077)
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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
223 (0.195)
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 = '2370821' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
224 (0.619)
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 = '2370837' 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
225 (0.105)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2370837'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
226 (0.981)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
227 (0.083)
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
228 (0.078)
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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
229 (0.165)
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 = '2370837' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
230 (0.519)
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 = '2371246' 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
231 (0.089)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2371246'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
232 (0.608)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
233 (0.052)
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
234 (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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
235 (0.175)
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 = '2371246' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
236 (0.551)
SELECT DISTINCT *, pd.name AS name, p.image, p.price AS price, p.quantity, ctp.customer_id ,p.shipping_method , m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '3') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '3') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating,(SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_customerpartner_to_product ctp ON (p.product_id = ctp.product_id)
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '2371274' 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
237 (0.116)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2371274'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
238 (0.277)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
239 (0.078)
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
240 (0.077)
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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
241 (0.194)
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 = '2371274' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
242 (0.541)
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 = '2385061' 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
243 (0.118)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2385061'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
244 (0.257)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
245 (0.074)
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
246 (0.081)
SELECT cp.category_id, cp.path_id, cp.level, c.dc
FROM oc_category_path AS cp
LEFT JOIN oc_category AS c ON (c.category_id = cp.category_id)
WHERE c.dc>0 AND c.category_id = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
247 (0.167)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '2385061' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006
248 (0.508)
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 = '2385078' 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
249 (0.119)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '2385078'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:1966
250 (0.252)
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 = '176'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
251 (0.074)
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 = '185'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
252 (0.075)
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 = '738'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2000
253 (0.167)
SELECT *
FROM oc_product_to_category AS ptc
LEFT JOIN oc_category_description AS cd ON (ptc.category_id = cd.category_id)
WHERE ptc.product_id = '2385078' AND language_id = '3'
/home/bpazar/storage/modification/catalog/model/catalog/product.php:2006