1 (10.063)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '0' AND (route = 'engb' OR route = '')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
2 (0.355)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/pingas/liepinmaja_public_html/system/library/openbay.php:61
3 (9.976)
select value
from oc_setting
where `key` like "adk_%inline_translate"
/home/pingas/liepinmaja_public_html/system/library/advertikon/advertikon.php:3497
4 (0.401)
SELECT `data`
FROM `oc_session`
WHERE session_id = '36d25499801662cedb9ac62499' AND expire > 1701521013
/home/pingas/liepinmaja_public_html/system/library/session/db.php:21
5 (0.312)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://liepinmaja.lv/'
/home/pingas/storage3032/modification/catalog/controller/startup/startup.php:6
6 (2.983)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/home/pingas/storage3032/modification/catalog/controller/startup/startup.php:25
7 (0.393)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
8 (0.323)
SELECT *
FROM oc_currency
/home/pingas/liepinmaja_public_html/system/library/cart/currency.php:10
9 (0.782)
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 = '8' AND z2gz.country_id = '117' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4163')
ORDER BY tr1.priority ASC
/home/pingas/liepinmaja_public_html/system/library/cart/tax.php:16
10 (0.659)
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 = '8' AND z2gz.country_id = '117' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4163')
ORDER BY tr1.priority ASC
/home/pingas/liepinmaja_public_html/system/library/cart/tax.php:44
11 (0.426)
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 = '2'
/home/pingas/liepinmaja_public_html/system/library/cart/weight.php:10
12 (0.409)
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 = '2'
/home/pingas/liepinmaja_public_html/system/library/cart/length.php:10
13 (0.351)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/home/pingas/storage3032/modification/system/library/cart/cart.php:15
14 (0.352)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/home/pingas/liepinmaja_public_html/system/library/openbay.php:61
15 (0.738)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/home/pingas/liepinmaja_public_html/catalog/model/setting/event.php:4
16 (0.115)
SELECT *
FROM oc_seo_url
WHERE keyword = 'Produkti' AND store_id = '0'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:19
17 (0.060)
SELECT *
FROM oc_seo_url
WHERE keyword = 'Interjers' AND store_id = '0'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:19
18 (0.614)
SELECT *
FROM oc_seo_url
WHERE keyword = 'Aktivitates-centri-ligzdinas-supoles' AND store_id = '0'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:19
19 (0.419)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
20 (0.308)
SELECT
count(*) AS total
FROM
`oc_journal3_skin`
/home/pingas/liepinmaja_public_html/catalog/model/journal3/settings.php:112
21 (1.075)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
22 (1.019)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
23 (0.400)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
24 (0.408)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
25 (1.183)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
26 (0.406)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
27 (0.351)
SELECT *
FROM oc_category_to_layout
WHERE category_id = '196' AND store_id = '0'
/home/pingas/liepinmaja_public_html/catalog/model/catalog/category.php:55
28 (24.649)
SELECT *
FROM oc_layout_route
WHERE 'product/category' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/design/layout.php:4
29 (24.363)
SELECT
layout_id,
layout_data
FROM
`oc_journal3_layout`
WHERE
`layout_id` = '3'
OR `layout_id` = -1
ORDER BY
`layout_id` DESC
/home/pingas/liepinmaja_public_html/catalog/model/journal3/layout.php:122
30 (1.240)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
31 (0.439)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
32 (21.884)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/css'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
33 (43.213)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
34 (22.660)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
35 (1.289)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
36 (23.252)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
37 (23.494)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
38 (0.375)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
39 (0.981)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
40 (0.318)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
41 (0.975)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
42 (0.305)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
43 (0.982)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
44 (0.309)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
45 (0.989)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
46 (0.319)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
47 (0.986)
SELECT `key`, `value`, `serialized`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
48 (0.974)
SELECT `key`, `value`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` like 'esi%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:42
49 (0.323)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'product/category' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
50 (0.130)
SELECT DISTINCT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '308' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/pingas/liepinmaja_public_html/catalog/model/catalog/category.php:4
51 (0.075)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
52 (0.076)
SELECT DISTINCT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '5671' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/pingas/liepinmaja_public_html/catalog/model/catalog/category.php:4
53 (0.057)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
54 (0.059)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
55 (0.750)
SELECT DISTINCT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '196' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/pingas/liepinmaja_public_html/catalog/model/catalog/category.php:4
56 (0.086)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
57 (0.065)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
58 (0.067)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
59 (1.730)
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 = '196' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/pingas/liepinmaja_public_html/catalog/model/catalog/category.php:10
60 (25.005)
SELECT COUNT(DISTINCT p.product_id) total
FROM `oc_product` p
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196'
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
61 (1.601)
SELECT
p.product_id,
(
SELECT AVG(rating) total
FROM `oc_review` r1
WHERE
r1.product_id = p.product_id
AND r1.status = '1'
GROUP BY r1.product_id
) rating,
(
SELECT price
FROM `oc_product_discount` pd2
WHERE
pd2.product_id = p.product_id
AND pd2.customer_group_id = '8'
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
) discount,
(
SELECT price
FROM `oc_product_special` ps
WHERE
ps.product_id = p.product_id
AND ps.customer_group_id = '8'
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
) special,
p.viewed
FROM `oc_product` p
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196' GROUP BY p.product_id
ORDER BY p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0, 12
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
62 (3.301)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 IN (27743,27567,26674,27705,24476,28906) AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/pingas/liepinmaja_public_html/catalog/model/journal3/product.php:27
63 (0.145)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=334' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
64 (0.069)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
65 (0.052)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
66 (0.052)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
67 (0.061)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=27743' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
68 (0.134)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=334' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
69 (0.071)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
70 (0.056)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
71 (0.055)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
72 (0.063)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=27567' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
73 (0.073)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=334' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
74 (0.057)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
75 (0.049)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
76 (0.048)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
77 (0.066)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=26674' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
78 (0.109)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=334' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
79 (0.064)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
80 (0.050)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
81 (0.048)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
82 (0.057)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=27705' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
83 (0.134)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=334' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
84 (0.067)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
85 (0.056)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
86 (0.056)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
87 (0.065)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=24476' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
88 (0.128)
SELECT *
FROM oc_seo_url
WHERE `query` = 'manufacturer_id=334' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
89 (0.064)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
90 (0.053)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
91 (0.062)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
92 (0.094)
SELECT *
FROM oc_seo_url
WHERE `query` = 'product_id=28906' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
93 (0.067)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
94 (0.070)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
95 (0.063)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
96 (0.055)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
97 (0.044)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
98 (0.043)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
99 (0.050)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
100 (0.044)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
101 (0.046)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
102 (0.076)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
103 (0.060)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
104 (0.065)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
105 (0.066)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
106 (0.045)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
107 (0.042)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
108 (0.048)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
109 (0.043)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
110 (0.043)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
111 (0.058)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
112 (0.042)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
113 (0.042)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
114 (0.057)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
115 (0.043)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
116 (0.041)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
117 (0.047)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
118 (0.043)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
119 (0.044)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
120 (0.048)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
121 (0.044)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
122 (0.044)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
123 (0.046)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
124 (0.042)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
125 (0.041)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
126 (0.045)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
127 (0.041)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
128 (0.043)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
129 (0.066)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
130 (0.044)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
131 (0.043)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
132 (0.050)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
133 (18.051)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
134 (0.396)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
135 (24.062)
SELECT *
FROM `oc_journal3_module`
WHERE `module_id` = '19'
/home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
136 (0.515)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
137 (0.317)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'product/category' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
138 (0.774)
SELECT COUNT(DISTINCT p.product_id) total
FROM `oc_product` p
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196'
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
139 (1.413)
SELECT
MIN(COALESCE(
(
SELECT price
FROM `oc_product_special` ps
WHERE
ps.product_id = p.product_id
AND ps.customer_group_id = '8'
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
)
,
(
SELECT price
FROM `oc_product_discount` pd2
WHERE
pd2.product_id = p.product_id
AND pd2.customer_group_id = '8'
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
)
, p.price)) AS min,
MAX(COALESCE(
(
SELECT price
FROM `oc_product_special` ps
WHERE
ps.product_id = p.product_id
AND ps.customer_group_id = '8'
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
)
,
(
SELECT price
FROM `oc_product_discount` pd2
WHERE
pd2.product_id = p.product_id
AND pd2.customer_group_id = '8'
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
)
, p.price)) AS max
FROM `oc_product` p
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196'
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
140 (0.809)
SELECT
max(m.manufacturer_id) id,
MAX(m.name) value,
MAX(m.image) image,
COUNT(*) total
FROM `oc_manufacturer` m
LEFT JOIN `oc_manufacturer_to_store` m2s ON (m.manufacturer_id = m2s.manufacturer_id)
LEFT JOIN `oc_product` p ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196' AND m2s.store_id = '0'
GROUP BY m.manufacturer_id
HAVING COUNT(*) > 0
ORDER BY m.sort_order ASC, m.name ASC
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
141 (1.200)
SELECT
MAX(a.attribute_id) attribute_id,
MAX(ad.name) attribute_name,
MAX(pa.text) value,
COUNT(*) total
FROM `oc_product` p
LEFT JOIN `oc_product_attribute` pa ON (p.product_id = pa.product_id)
LEFT JOIN `oc_attribute` a ON (a.attribute_id = pa.attribute_id)
LEFT JOIN `oc_attribute_description` ad ON (ad.attribute_id = a.attribute_id)
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196'
AND pa.language_id = '2'
AND ad.language_id = '2'
GROUP BY lower(pa.text), a.attribute_id
HAVING COUNT(*) > 0
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
142 (0.887)
SELECT
MAX(pov.option_id) option_id,
MAX(od.name) option_name,
MAX(ovd.option_value_id) id,
MAX(ovd.name) value,
COUNT(*) total,
ov.image image
FROM `oc_product` p
LEFT JOIN `oc_product_option_value` pov ON (p.product_id = pov.product_id)
LEFT JOIN `oc_option_value` ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN `oc_option_value_description` ovd ON (pov.option_value_id = ovd.option_value_id)
LEFT JOIN `oc_option_description` od ON (pov.option_id = od.option_id)
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196'
AND od.language_id = '2'
AND ovd.language_id = '2'
GROUP BY
pov.option_value_id
HAVING
COUNT(*) > 0
ORDER BY
ov.sort_order, ovd.name
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
143 (0.744)
SELECT
f.filter_id id,
fd.name filter_name,
fg.filter_group_id filter_group_id,
fgd.name filter_group_name,
COUNT(*) total
FROM `oc_product` p
LEFT JOIN `oc_product_filter` pf ON (p.product_id = pf.product_id)
LEFT JOIN `oc_filter` f ON (f.filter_id = pf.filter_id)
LEFT JOIN `oc_filter_description` fd ON (fd.filter_id = pf.filter_id)
LEFT JOIN `oc_filter_group` fg ON (fg.filter_group_id = fd.filter_group_id)
LEFT JOIN `oc_filter_group_description` fgd ON (fd.filter_group_id = fgd.filter_group_id)
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.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)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '196'
AND fd.language_id = '2'
AND fgd.language_id = '2'
GROUP BY pf.filter_id
HAVING COUNT(*) > 0
ORDER BY
f.sort_order, fd.name
/home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
144 (0.306)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/filter'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
145 (0.102)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
146 (0.050)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
147 (0.050)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
148 (0.313)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/layout'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
149 (0.308)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/column_left'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
150 (0.379)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
151 (0.338)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
152 (0.305)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/notification'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
153 (0.338)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
154 (0.354)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
155 (0.399)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
156 (0.378)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
157 (0.324)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/main_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
158 (0.349)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
159 (0.249)
SELECT *
FROM `oc_journal3_module`
WHERE `module_id` = '0'
/home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
160 (0.319)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
161 (0.293)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
162 (0.331)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
163 (0.299)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
164 (0.328)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
165 (0.358)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
166 (0.328)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
167 (0.286)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
168 (0.324)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
169 (0.323)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
170 (0.317)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'product/product' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
171 (0.321)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
172 (0.289)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/info_blocks'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
173 (0.327)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
174 (0.289)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
175 (0.325)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
176 (0.339)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
177 (0.393)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
178 (0.314)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/newsletter'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
179 (0.345)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
180 (0.287)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
181 (0.333)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
182 (0.306)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/blocks'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
183 (0.285)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/layout'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
184 (0.320)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/footer' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
185 (0.400)
SELECT *
FROM `oc_language`
/home/pingas/liepinmaja_public_html/system/library/advertikon/query.php:1400
186 (0.389)
DELETE
FROM `oc_customer_online`
WHERE date_added < '2023-12-02 11:43:34'
/home/pingas/liepinmaja_public_html/catalog/model/tool/online.php:4
187 (0.439)
REPLACE INTO `oc_customer_online` SET `ip` = '18.206.48.243', `customer_id` = '0', `url` = 'https://liepinmaja.lv/Produkti/Interjers/Aktivitates-centri-ligzdinas-supoles', `referer` = '', `date_added` = '2023-12-02 12:43:34'
/home/pingas/liepinmaja_public_html/catalog/model/tool/online.php:6
188 (0.394)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/footer'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
189 (0.365)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
190 (0.366)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
191 (0.321)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
192 (0.311)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
193 (0.312)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/home/pingas/liepinmaja_public_html/catalog/model/setting/extension.php:4
194 (0.319)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/header' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
195 (0.313)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/language' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
196 (0.324)
SELECT *
FROM oc_language
WHERE status = '1'
ORDER BY sort_order, name
/home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
197 (0.097)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
198 (0.053)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
199 (0.062)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
200 (0.307)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/language'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
201 (0.412)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/currency' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
202 (0.079)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=308' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
203 (0.058)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=5671' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
204 (0.044)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
205 (0.317)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/currency'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
206 (0.364)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/search' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
207 (0.280)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/search'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
208 (0.319)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/cart' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
209 (0.385)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
210 (0.316)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/home/pingas/liepinmaja_public_html/catalog/model/setting/extension.php:4
211 (0.323)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/sub_total' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
212 (0.312)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
213 (0.319)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
214 (0.323)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
215 (0.332)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
216 (0.336)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
217 (0.321)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
218 (0.315)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
219 (0.363)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
220 (0.371)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/credit' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
221 (0.300)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/home/pingas/liepinmaja_public_html/system/library/cart/customer.php:122
222 (0.342)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/total' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
223 (0.393)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
224 (0.377)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
225 (0.370)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
226 (0.308)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '36d25499801662cedb9ac62499'
/home/pingas/storage3032/modification/system/library/cart/cart.php:43
227 (0.288)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/cart'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
228 (1.089)
SELECT `key`, `value`
FROM oc_setting
WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` like 'esi%'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:42
229 (0.423)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/menu' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
230 (0.307)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/menu'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
231 (0.129)
SELECT DISTINCT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '196' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/pingas/liepinmaja_public_html/catalog/model/catalog/category.php:4
232 (1.829)
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 = '8' 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 = '8' 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_to_category p2c
LEFT JOIN oc_product p ON (p2c.product_id = p.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)
WHERE pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '196' GROUP BY p.product_id
ORDER BY p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0,12
/home/pingas/storage3032/modification/catalog/model/catalog/product.php:206
233 (1.626)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '27743' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
234 (0.496)
SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level
FROM `oc_product_to_category` ptc
INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id
WHERE product_id = '27743'
ORDER BY cp.level DESC, ptc.category_id ASC
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
235 (0.429)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
236 (0.394)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
237 (0.394)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
238 (0.384)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
239 (0.368)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
240 (0.407)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
241 (0.371)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
242 (0.385)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
243 (0.366)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5770' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
244 (0.385)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5770' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
245 (0.387)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
246 (0.381)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
247 (0.376)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
248 (0.374)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
249 (0.361)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
250 (0.369)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
251 (0.357)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
252 (0.459)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
253 (0.417)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
254 (0.467)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
255 (0.419)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5770' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
256 (0.398)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
257 (0.242)
SELECT manufacturer_id
FROM `oc_product`
WHERE product_id = '27743'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
258 (0.561)
SELECT *, md.qty as quantity
FROM `oc_manufacturer_discount` md
INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
WHERE md.status = '1' AND md.manufacturer_id = '334' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
259 (0.361)
SELECT *
FROM `oc_customer_group_discount`
WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
260 (0.350)
SELECT percentage, qty as quantity
FROM `oc_volume_discount`
WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY qty ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
261 (1.646)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '27567' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
262 (0.620)
SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level
FROM `oc_product_to_category` ptc
INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id
WHERE product_id = '27567'
ORDER BY cp.level DESC, ptc.category_id ASC
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
263 (0.432)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
264 (0.448)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
265 (0.408)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
266 (0.441)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
267 (0.441)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
268 (0.476)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
269 (0.439)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
270 (0.486)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
271 (0.409)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
272 (0.427)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
273 (0.400)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
274 (0.417)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
275 (0.397)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
276 (0.422)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
277 (0.468)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
278 (0.449)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
279 (0.453)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
280 (0.396)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
281 (0.451)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
282 (0.446)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
283 (0.447)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
284 (0.301)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
285 (0.251)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
286 (0.260)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
287 (0.245)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
288 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
289 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
290 (0.271)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
291 (0.254)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
292 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
293 (0.256)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
294 (0.270)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
295 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
296 (0.248)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
297 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
298 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
299 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
300 (0.260)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
301 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
302 (0.253)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
303 (0.245)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
304 (0.256)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
305 (0.241)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
306 (0.248)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
307 (0.165)
SELECT manufacturer_id
FROM `oc_product`
WHERE product_id = '27567'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
308 (0.326)
SELECT *, md.qty as quantity
FROM `oc_manufacturer_discount` md
INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
WHERE md.status = '1' AND md.manufacturer_id = '334' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
309 (0.234)
SELECT *
FROM `oc_customer_group_discount`
WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
310 (0.238)
SELECT percentage, qty as quantity
FROM `oc_volume_discount`
WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY qty ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
311 (0.953)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '26674' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
312 (0.348)
SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level
FROM `oc_product_to_category` ptc
INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id
WHERE product_id = '26674'
ORDER BY cp.level DESC, ptc.category_id ASC
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
313 (0.268)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
314 (0.263)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
315 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
316 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
317 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
318 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
319 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
320 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
321 (0.251)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
322 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
323 (0.234)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
324 (0.239)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
325 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
326 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
327 (0.233)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
328 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
329 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
330 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
331 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
332 (0.253)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
333 (0.238)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
334 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
335 (0.236)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
336 (0.254)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
337 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
338 (0.249)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
339 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
340 (0.254)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
341 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
342 (0.258)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
343 (0.245)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
344 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
345 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
346 (0.241)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
347 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5738' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
348 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
349 (0.239)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
350 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
351 (0.240)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
352 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
353 (0.154)
SELECT manufacturer_id
FROM `oc_product`
WHERE product_id = '26674'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
354 (0.306)
SELECT *, md.qty as quantity
FROM `oc_manufacturer_discount` md
INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
WHERE md.status = '1' AND md.manufacturer_id = '334' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
355 (0.236)
SELECT *
FROM `oc_customer_group_discount`
WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
356 (0.230)
SELECT percentage, qty as quantity
FROM `oc_volume_discount`
WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY qty ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
357 (0.882)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '27705' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
358 (0.321)
SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level
FROM `oc_product_to_category` ptc
INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id
WHERE product_id = '27705'
ORDER BY cp.level DESC, ptc.category_id ASC
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
359 (0.270)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
360 (0.271)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
361 (0.264)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
362 (0.253)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
363 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
364 (0.249)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
365 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
366 (0.254)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
367 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5770' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
368 (0.261)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5770' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
369 (0.238)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
370 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
371 (0.239)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
372 (0.260)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
373 (0.239)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
374 (0.252)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
375 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
376 (0.256)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
377 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
378 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
379 (0.261)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5770' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
380 (0.266)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
381 (0.150)
SELECT manufacturer_id
FROM `oc_product`
WHERE product_id = '27705'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
382 (0.305)
SELECT *, md.qty as quantity
FROM `oc_manufacturer_discount` md
INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
WHERE md.status = '1' AND md.manufacturer_id = '334' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
383 (0.238)
SELECT *
FROM `oc_customer_group_discount`
WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
384 (0.227)
SELECT percentage, qty as quantity
FROM `oc_volume_discount`
WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY qty ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
385 (0.884)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '24476' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
386 (0.347)
SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level
FROM `oc_product_to_category` ptc
INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id
WHERE product_id = '24476'
ORDER BY cp.level DESC, ptc.category_id ASC
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
387 (0.259)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
388 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
389 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
390 (0.266)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
391 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
392 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
393 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
394 (0.251)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
395 (0.240)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
396 (0.251)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
397 (0.296)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5701' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
398 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5701' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
399 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
400 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
401 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
402 (0.242)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
403 (0.232)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
404 (0.257)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
405 (0.239)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
406 (0.241)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
407 (0.234)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
408 (0.248)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
409 (0.234)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
410 (0.253)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
411 (0.241)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
412 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
413 (0.235)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
414 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
415 (0.239)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5701' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
416 (0.245)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
417 (0.237)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
418 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
419 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
420 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
421 (0.235)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
422 (0.254)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
423 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
424 (0.244)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
425 (0.167)
SELECT manufacturer_id
FROM `oc_product`
WHERE product_id = '24476'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
426 (0.402)
SELECT *, md.qty as quantity
FROM `oc_manufacturer_discount` md
INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
WHERE md.status = '1' AND md.manufacturer_id = '334' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
427 (0.245)
SELECT *
FROM `oc_customer_group_discount`
WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
428 (0.235)
SELECT percentage, qty as quantity
FROM `oc_volume_discount`
WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY qty ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
429 (1.031)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '28906' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
430 (0.365)
SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level
FROM `oc_product_to_category` ptc
INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id
WHERE product_id = '28906'
ORDER BY cp.level DESC, ptc.category_id ASC
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
431 (0.267)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
432 (0.265)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
433 (0.248)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
434 (0.250)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
435 (0.241)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
436 (0.252)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
437 (0.243)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
438 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
439 (0.248)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
440 (0.246)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
441 (0.235)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5701' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
442 (0.251)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5701' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
443 (0.249)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
444 (0.245)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
445 (0.236)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
446 (0.249)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
447 (0.247)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
448 (0.240)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
449 (0.286)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '196' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
450 (0.304)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
451 (0.245)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
452 (0.249)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
453 (0.326)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
454 (0.277)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
455 (0.257)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5671' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
456 (0.255)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
457 (0.248)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5698' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
458 (0.252)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
459 (0.245)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5701' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
460 (0.269)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5547' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
461 (0.253)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
462 (0.259)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
463 (0.248)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
464 (0.265)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
465 (0.269)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5750' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
466 (0.264)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
467 (0.266)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5776' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
468 (0.271)
SELECT *, qty as quantity
FROM oc_category_discount cd
WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
469 (0.174)
SELECT manufacturer_id
FROM `oc_product`
WHERE product_id = '28906'
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
470 (0.364)
SELECT *, md.qty as quantity
FROM `oc_manufacturer_discount` md
INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
WHERE md.status = '1' AND md.manufacturer_id = '334' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
471 (0.260)
SELECT *
FROM `oc_customer_group_discount`
WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY priority ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
472 (0.244)
SELECT percentage, qty as quantity
FROM `oc_volume_discount`
WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY qty ASC, percentage ASC LIMIT 1
/home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
473 (0.736)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/header'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
474 (0.376)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
475 (0.127)
SELECT DISTINCT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '196' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/pingas/liepinmaja_public_html/catalog/model/catalog/category.php:4
476 (0.076)
SELECT *
FROM oc_seo_url
WHERE `query` = 'category_id=196' AND store_id = '0' AND language_id = '2'
/home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:163
477 (0.377)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
478 (0.332)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
479 (0.307)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
480 (0.333)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
481 (1.070)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'advertise_google'
/home/pingas/liepinmaja_public_html/catalog/model/setting/setting.php:6
482 (0.283)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'extension/module/facebook_business'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
483 (0.271)
SELECT *
FROM oc_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'product/category'
/home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
484 (0.303)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
485 (0.305)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
486 (0.308)
SELECT *
FROM oc_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/header' OR route = 'lv')
/home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
487 (0.998)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'advertise_google'
/home/pingas/liepinmaja_public_html/catalog/model/setting/setting.php:6