Menu
Jūsu grozs

Koka mašīna Woodie

Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
Koka mašīna Woodie
39,95€
  • : IR PIEEJAMS
  • Bez nodokļa: 33,02€
    • IR PIEEJAMS
    • Modelis: Woodie
    Visu klasiku klasika, tā rodas leģendas

    Sānos īsta riekstkoka finiera paneļi, jumtā magnēts, kas notur sērfdēli

    Šai mašīnai ir magnētisks vilkšanas āķis, kas ļauj pieāķēt satriecošo kemperi

    Īpaša dāvana gan bērniem, gan pieaugušajiem
    Sīkdatņu paziņojums
    Šajā vietnē tiek izmantotas sīkdatnes. Piekrītot izmantot sīkdatnes, vietne tiks optimizēta. Turpinot skatīt vietni, jūs piekrītat, ka mēs jūsu ierīcē izmantosim sīkfailus. Jūs jebkurā laikā varat atsaukt savu piekrišanu, izdzēšot saglabātos sīkfailus
    Queries: 485, Total time: 8,000.654 ms [By time] [By id] [By file]
    1 (35.377)
    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 (239.496)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'openbay'
    /home/pingas/liepinmaja_public_html/system/library/openbay.php:61
    3 (73.661)
    select value
    from oc_setting
    where `key` like "adk_%inline_translate"
    /home/pingas/liepinmaja_public_html/system/library/advertikon/advertikon.php:3497
    4 (77.416)
    SELECT `data`
    FROM `oc_session`
    WHERE session_id = '0a297374f09fa523374a33611a' AND expire > 1686249907
    /home/pingas/liepinmaja_public_html/system/library/session/db.php:21
    5 (215.464)
    SELECT *
    FROM oc_store
    WHERE REPLACE(`ssl`, 'www.', '') = 'https://liepinmaja.lv/'
    /home/pingas/storage3032/modification/catalog/controller/startup/startup.php:6
    6 (120.030)
    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 (122.749)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    8 (122.602)
    SELECT *
    FROM oc_currency
    /home/pingas/liepinmaja_public_html/system/library/cart/currency.php:10
    9 (239.112)
    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 (105.464)
    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 (126.639)
    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 (209.641)
    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 (224.436)
    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 (33.431)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'openbay'
    /home/pingas/liepinmaja_public_html/system/library/openbay.php:61
    15 (34.831)
    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 (150.312)
    SELECT *
    FROM oc_seo_url
    WHERE keyword = 'Candylab-zimols' AND store_id = '0'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:19
    17 (183.666)
    SELECT *
    FROM oc_seo_url
    WHERE keyword = 'Candylab-koka-automasina-woodie' AND store_id = '0'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:19
    18 (120.755)
    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
    19 (31.766)
    SELECT count(*) AS total
    FROM `oc_journal3_skin`
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/settings.php:112
    20 (68.790)
    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
    21 (21.619)
    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 (48.685)
    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
    23 (58.197)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    24 (22.689)
    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
    25 (16.060)
    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
    26 (35.195)
    SELECT *
    FROM oc_product_to_layout
    WHERE product_id = '24227' AND store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:416
    27 (46.120)
    SELECT *
    FROM oc_layout_route
    WHERE 'product/product' LIKE route AND store_id = '0'
    ORDER BY route DESC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/design/layout.php:4
    28 (52.900)
    SELECT layout_id, layout_data
    FROM `oc_journal3_layout`
    WHERE `layout_id` = '2' OR `layout_id` = -1
    ORDER BY `layout_id` DESC
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/layout.php:122
    29 (49.156)
    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
    30 (24.846)
    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
    31 (49.281)
    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
    32 (68.386)
    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
    33 (21.848)
    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
    34 (32.740)
    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
    35 (15.938)
    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
    36 (57.128)
    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
    37 (50.785)
    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
    38 (51.641)
    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
    39 (103.516)
    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
    40 (24.068)
    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
    41 (23.923)
    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
    42 (1.775)
    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
    43 (0.637)
    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
    44 (1.416)
    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
    45 (34.388)
    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
    46 (1.078)
    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
    47 (49.888)
    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
    48 (40.382)
    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
    49 (0.181)
    SELECT *
    FROM oc_manufacturer m
    LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
    WHERE m.manufacturer_id = '364' AND m2s.store_id = '0'
    /home/pingas/liepinmaja_public_html/catalog/model/catalog/manufacturer.php:4
    50 (0.103)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'manufacturer_id=364' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    51 (296.812)
    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 = '24227' 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
    52 (24.645)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    53 (1.729)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    54 (24.282)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    55 (143.591)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    56 (0.690)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    57 (0.694)
    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
    58 (0.743)
    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
    59 (0.696)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    60 (18.584)
    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
    61 (17.878)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    62 (19.199)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    63 (60.550)
    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
    64 (77.362)
    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
    65 (1.223)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    66 (53.794)
    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
    67 (52.386)
    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
    68 (50.124)
    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
    69 (51.100)
    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
    70 (158.028)
    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
    71 (104.383)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    72 (25.631)
    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
    73 (54.029)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    74 (26.267)
    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
    75 (0.614)
    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
    76 (0.666)
    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
    77 (51.234)
    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
    78 (54.159)
    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
    79 (0.727)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    80 (0.677)
    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
    81 (0.446)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    82 (47.597)
    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 = '364' 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
    83 (75.908)
    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
    84 (76.256)
    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
    85 (80.572)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'product/compare' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    86 (53.919)
    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
    87 (105.008)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '58'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    88 (45.490)
    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
    89 (105.874)
    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
    90 (0.613)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '300'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    91 (0.175)
    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 = '24227' 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
    92 (74.372)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    93 (0.790)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    94 (0.635)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    95 (0.630)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    96 (24.513)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    97 (77.813)
    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
    98 (25.455)
    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
    99 (51.882)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    100 (28.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 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
    101 (26.215)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    102 (26.735)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    103 (52.830)
    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
    104 (52.697)
    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
    105 (27.350)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    106 (52.455)
    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
    107 (0.663)
    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
    108 (0.676)
    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
    109 (78.200)
    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
    110 (0.814)
    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
    111 (26.757)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    112 (0.573)
    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
    113 (0.525)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    114 (0.511)
    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
    115 (0.488)
    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
    116 (101.913)
    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
    117 (55.379)
    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
    118 (0.698)
    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
    119 (0.540)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    120 (0.465)
    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
    121 (0.375)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    122 (0.787)
    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 = '364' 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
    123 (81.108)
    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
    124 (0.776)
    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
    125 (159.652)
    SELECT ag.attribute_group_id, agd.name
    FROM oc_product_attribute pa
    LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
    LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
    LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
    WHERE pa.product_id = '24227' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
    ORDER BY ag.sort_order, agd.name
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:318
    126 (51.245)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_blocks_attributes'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    127 (49.702)
    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
    128 (24.337)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_blocks_reviews'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    129 (24.298)
    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
    130 (74.311)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_tabs'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    131 (0.139)
    SELECT *
    FROM oc_manufacturer m
    LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
    WHERE m.manufacturer_id = '364' AND m2s.store_id = '0'
    /home/pingas/liepinmaja_public_html/catalog/model/catalog/manufacturer.php:4
    132 (0.073)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'manufacturer_id=364' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    133 (152.918)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=24227' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    134 (0.101)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=24227' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    135 (0.081)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'manufacturer_id=364' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    136 (160.209)
    SELECT *
    FROM oc_product_image
    WHERE product_id = '24227'
    ORDER BY sort_order ASC
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:398
    137 (0.670)
    SELECT price
    FROM oc_product
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:866
    138 (75.372)
    SELECT price
    FROM oc_product_special
    WHERE product_id = '24227' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, price ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:870
    139 (27.338)
    SELECT *
    FROM oc_product_discount
    WHERE product_id = '24227' AND customer_group_id = '8' AND quantity > 1 AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY quantity ASC, priority ASC, price ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:881
    140 (53.072)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1063
    141 (26.924)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    142 (0.278)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    143 (50.296)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    144 (27.093)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    145 (0.370)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    146 (0.385)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    147 (0.430)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    148 (0.377)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    149 (0.368)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    150 (0.393)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    151 (0.407)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    152 (0.323)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    153 (0.340)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    154 (0.303)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    155 (0.279)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '231' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    156 (0.285)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    157 (0.281)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    158 (0.304)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    159 (0.290)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    160 (0.324)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    161 (0.292)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    162 (0.289)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    163 (0.290)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    164 (0.289)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    165 (0.292)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    166 (0.352)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    167 (0.277)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    168 (0.266)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    169 (0.219)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1069
    170 (0.357)
    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 = '364' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1073
    171 (0.300)
    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:1094
    172 (0.413)
    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 (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1105
    173 (161.659)
    SELECT *
    FROM oc_product_option po
    LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
    LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
    WHERE po.product_id = '24227' AND od.language_id = '2'
    ORDER BY o.sort_order
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:346
    174 (0.168)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=24227' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    175 (52.073)
    SELECT ag.attribute_group_id, agd.name
    FROM oc_product_attribute pa
    LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
    LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
    LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
    WHERE pa.product_id = '24227' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
    ORDER BY ag.sort_order, agd.name
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:318
    176 (1.622)
    SELECT rd.*
    FROM oc_product_recurring pr JOIN oc_recurring_description rd ON (rd.language_id = 2 AND rd.recurring_id = pr.recurring_id) JOIN oc_recurring r ON r.recurring_id = rd.recurring_id
    WHERE pr.product_id = 24227 AND status = '1' AND pr.customer_group_id = '8'
    ORDER BY sort_order ASC
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:540
    177 (0.462)
    UPDATE oc_product SET viewed = (viewed + 1)
    WHERE product_id = '24227'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:4
    178 (1.729)
    SELECT SUM(op.quantity) AS quantity
    FROM `oc_order_product` op
    LEFT JOIN `oc_order` o ON op.order_id = o.order_id
    WHERE o.order_status_id <> 0 AND op.product_id = '24227'
    /home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
    179 (0.402)
    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.429)
    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
    181 (0.430)
    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
    182 (0.484)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '253'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    183 (0.488)
    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
    184 (23.376)
    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
    185 (0.430)
    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
    186 (49.158)
    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
    187 (50.680)
    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
    188 (0.536)
    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
    189 (13.932)
    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
    190 (33.893)
    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 (17.496)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '0'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    192 (0.478)
    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.385)
    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
    194 (0.452)
    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
    195 (0.385)
    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
    196 (0.468)
    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
    197 (0.388)
    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
    198 (37.594)
    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
    199 (0.418)
    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
    200 (0.468)
    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
    201 (0.475)
    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
    202 (0.403)
    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
    203 (1.121)
    SELECT *
    FROM `oc_product_related` pr
    LEFT JOIN `oc_product` p ON (pr.related_id = p.product_id)
    LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
    WHERE pr.product_id IN (24227) AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' LIMIT 0, 6
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/product.php:190
    204 (0.451)
    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
    205 (0.435)
    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
    206 (0.422)
    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
    207 (0.417)
    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
    208 (0.558)
    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
    209 (0.449)
    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
    210 (0.430)
    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
    211 (0.397)
    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
    212 (0.491)
    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
    213 (0.406)
    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
    214 (0.398)
    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
    215 (0.395)
    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
    216 (31.974)
    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
    217 (32.231)
    SELECT *
    FROM `oc_language`
    /home/pingas/liepinmaja_public_html/system/library/advertikon/query.php:1400
    218 (0.529)
    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
    219 (0.456)
    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
    220 (0.381)
    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
    221 (0.367)
    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
    222 (0.402)
    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
    223 (0.381)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    224 (0.132)
    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 = '24227' 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
    225 (0.544)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    226 (0.509)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    227 (0.469)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    228 (0.452)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    229 (0.444)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    230 (0.446)
    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
    231 (0.442)
    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
    232 (0.432)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    233 (0.436)
    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
    234 (0.434)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    235 (0.433)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    236 (0.423)
    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
    237 (0.439)
    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
    238 (0.418)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    239 (0.441)
    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
    240 (0.416)
    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
    241 (0.442)
    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
    242 (0.418)
    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
    243 (0.437)
    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
    244 (0.416)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    245 (0.448)
    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
    246 (0.421)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    247 (0.436)
    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
    248 (0.443)
    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
    249 (0.435)
    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
    250 (0.420)
    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
    251 (0.430)
    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
    252 (0.430)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    253 (0.431)
    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
    254 (0.283)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    255 (0.527)
    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 = '364' 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
    256 (0.422)
    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
    257 (0.404)
    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
    258 (11.924)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_monthly'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    259 (0.417)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/payment/esto' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    260 (0.147)
    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 = '24227' 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
    261 (0.548)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    262 (0.492)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    263 (0.476)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    264 (0.426)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    265 (0.385)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    266 (0.367)
    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
    267 (0.397)
    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
    268 (0.403)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    269 (0.393)
    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
    270 (0.380)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    271 (0.419)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    272 (0.372)
    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
    273 (0.368)
    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
    274 (0.364)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    275 (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
    276 (0.453)
    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
    277 (0.404)
    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
    278 (0.357)
    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
    279 (0.373)
    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
    280 (0.415)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    281 (0.434)
    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
    282 (0.370)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    283 (0.405)
    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
    284 (0.421)
    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
    285 (0.440)
    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
    286 (0.368)
    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
    287 (0.371)
    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
    288 (0.415)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    289 (0.414)
    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
    290 (0.268)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    291 (0.469)
    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 = '364' 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
    292 (0.487)
    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
    293 (0.341)
    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
    294 (0.636)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_calculator'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    295 (0.593)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    296 (0.148)
    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 = '24227' 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
    297 (0.646)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    298 (0.509)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    299 (0.498)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    300 (0.518)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    301 (0.504)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    302 (0.436)
    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
    303 (0.446)
    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
    304 (0.426)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    305 (0.461)
    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
    306 (0.411)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    307 (0.519)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    308 (0.454)
    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
    309 (0.459)
    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
    310 (0.424)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    311 (0.426)
    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
    312 (0.387)
    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
    313 (0.407)
    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
    314 (0.388)
    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
    315 (0.400)
    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
    316 (0.402)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    317 (0.398)
    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
    318 (0.417)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    319 (0.431)
    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
    320 (0.442)
    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
    321 (0.437)
    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
    322 (0.427)
    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
    323 (0.430)
    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
    324 (0.410)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    325 (0.443)
    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
    326 (0.268)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    327 (0.521)
    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 = '364' 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
    328 (0.401)
    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
    329 (0.403)
    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
    330 (0.858)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_monthly'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    331 (0.506)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/payment/esto' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    332 (0.167)
    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 = '24227' 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
    333 (0.660)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    334 (0.519)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    335 (0.487)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    336 (0.482)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    337 (0.496)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    338 (0.484)
    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
    339 (0.486)
    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
    340 (0.471)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    341 (0.471)
    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
    342 (0.468)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    343 (0.463)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    344 (0.464)
    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
    345 (0.470)
    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
    346 (0.469)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    347 (0.464)
    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
    348 (0.470)
    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
    349 (0.475)
    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
    350 (0.518)
    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
    351 (0.458)
    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
    352 (0.472)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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
    353 (0.479)
    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
    354 (0.463)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    355 (0.500)
    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
    356 (0.515)
    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
    357 (0.528)
    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
    358 (0.460)
    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
    359 (0.488)
    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
    360 (0.502)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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
    361 (0.517)
    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
    362 (0.343)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    363 (0.650)
    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 = '364' 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
    364 (0.445)
    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
    365 (0.429)
    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
    366 (0.740)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_calculator'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    367 (0.504)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'analytics'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/extension.php:4
    368 (0.515)
    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
    369 (0.460)
    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
    370 (0.389)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    371 (0.082)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'manufacturer_id=364' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    372 (0.067)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=24227' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    373 (0.557)
    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
    374 (0.447)
    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
    375 (0.066)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'manufacturer_id=364' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    376 (0.049)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=24227' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    377 (0.378)
    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
    378 (0.430)
    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
    379 (0.400)
    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
    380 (0.488)
    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
    381 (0.496)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    382 (0.400)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'total'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/extension.php:4
    383 (0.428)
    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
    384 (0.415)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    385 (0.415)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    386 (0.400)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    387 (0.449)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    388 (0.437)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    389 (0.420)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    390 (0.378)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    391 (0.404)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    392 (0.457)
    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
    393 (1.003)
    SELECT SUM(amount) AS total
    FROM oc_customer_transaction
    WHERE customer_id = '0'
    /home/pingas/liepinmaja_public_html/system/library/cart/customer.php:122
    394 (0.462)
    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
    395 (0.482)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    396 (0.488)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    397 (0.413)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    398 (0.456)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = '0a297374f09fa523374a33611a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    399 (0.373)
    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
    400 (1.481)
    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
    401 (0.441)
    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
    402 (0.366)
    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
    403 (0.133)
    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 = '24227' 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
    404 (0.626)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    405 (0.528)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.486)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.465)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.467)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.498)
    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
    410 (0.474)
    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
    411 (0.477)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.474)
    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
    413 (0.469)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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.452)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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.475)
    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
    416 (0.461)
    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
    417 (0.459)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.444)
    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
    419 (0.452)
    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
    420 (0.456)
    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
    421 (0.449)
    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
    422 (0.464)
    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
    423 (0.470)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.517)
    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
    425 (0.511)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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
    426 (0.476)
    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
    427 (0.460)
    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
    428 (0.499)
    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
    429 (0.490)
    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
    430 (0.471)
    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
    431 (0.474)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.447)
    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
    433 (0.285)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    434 (0.553)
    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 = '364' 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
    435 (0.453)
    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
    436 (0.431)
    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
    437 (0.962)
    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
    438 (0.487)
    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
    439 (0.120)
    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 = '24227' 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
    440 (0.634)
    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 = '24227'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    441 (0.539)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.516)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.465)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.490)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.471)
    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
    446 (0.504)
    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
    447 (0.456)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.511)
    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
    449 (0.464)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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.494)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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.487)
    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
    452 (0.490)
    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
    453 (0.453)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.492)
    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
    455 (0.470)
    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
    456 (0.461)
    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.436)
    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
    458 (0.486)
    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
    459 (0.477)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5636' 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.551)
    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
    461 (0.506)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5663' 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.481)
    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
    463 (0.440)
    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
    464 (0.475)
    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.467)
    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
    466 (0.476)
    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.460)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5755' 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.481)
    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.284)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '24227'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    470 (0.567)
    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 = '364' 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.453)
    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.447)
    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.074)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=24227' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    474 (0.690)
    SELECT r.review_id, r.author, r.rating, r.text, p.product_id, pd.name, p.price, p.image, r.date_added
    FROM oc_review r
    LEFT JOIN oc_product p ON (r.product_id = p.product_id)
    LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
    WHERE p.product_id = '24227' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
    ORDER BY r.date_added DESC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/controller/journal3/seo.php:318
    475 (0.709)
    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
    476 (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
    477 (0.410)
    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.411)
    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 (1.052)
    SELECT *
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'advertise_google'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/setting.php:6
    480 (0.358)
    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
    481 (0.372)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'product/product'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    482 (0.447)
    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
    483 (0.383)
    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
    484 (0.416)
    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
    485 (1.033)
    SELECT *
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'advertise_google'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/setting.php:6