Lodveida krāns ar taurenīti /I-I/ 7752, 1/2

Pieejamība: Ir pieejams Noliktavā 12
Modelis 0620004

5.39€
/ gab
(Bez PVN: 4.45€)
Ieteicamā pārdošanas cena:  5.39€ (Bez PVN: 4.45€ )

Apmaksas iespējas
  
Piegādes iespējas
     
Izmērs Daudzums Cena:
L - 5.39€ Nav pieejams
M - 5.39€ Nav pieejams
S - 5.39€ Nav pieejams

Attēls Produkta nosaukums Cena Modelis Noliktavā Daudzums
2Lenovo ThinkPad L480 20LS001APB 2Lenovo ThinkPad L480 20LS001APB 928.19€ LenovoXX
Ir pieejams Noliktavā 989
<TEST> un " un 'un /(medium mask) <TEST> un " un 'un /(medium mask) 6.42€ / gab test12345
Ir pieejams Noliktavā 114
/ gab
Lenovo ThinkPad X1 Carbon 6th Gen Black Lenovo ThinkPad X1 Carbon 6th Gen Black 1,976.05€ Lenovo ThinkPad X1 Carbon 6th Gen Black
Ir pieejams Noliktavā 988
HP EliteBook 840 G5 Silver HP EliteBook 840 G5 Silver 599.00€ / pak. HP EliteBook 840 G5 Silver
Ir pieejams Noliktavā 222
/ pak.
Makita PROWADNICA 40cm 1,3mm 3/8" DO UC4030A >>>191G34-7 Makita PROWADNICA 40cm 1,3mm 3/8" DO UC4030A >>>191G34-7 7.36€ / gab G-15/5
Ir pieejams Noliktavā 140
/ gab
Preces krāsa var atšķirties no attēlā redzamās. Produkta apraksts ir vispārīgs, tajā ne vienmēr ir minētas visas produkta īpašības. Produktu cenas e-veikalā var atšķirties no cenām lielveikalos un servisa centros. Preču atlikums noliktavā un e-veikalā var atšķirties, tāpēc šādos gadījumos piegādes nosacījumi var atšķirties no tiem, kas norādīti pasūtījuma veikšanas brīdī un / vai nevarēsim izpildīt Jūsu pasūtījumu vai tikai daļēji izpildīt (tādos gadījumos Pircējs tiek informēts nekavējoties).
Pamanījāt kļūdu? Ziņojiet mums
Preces krāsa var atšķirties no attēlā redzamās. Produkta apraksts ir vispārīgs, tajā ne vienmēr ir minētas visas produkta īpašības. Produktu cenas e-veikalā var atšķirties no cenām lielveikalos un servisa centros. Preču atlikums noliktavā un e-veikalā var atšķirties, tāpēc šādos gadījumos piegādes nosacījumi var atšķirties no tiem, kas norādīti pasūtījuma veikšanas brīdī un / vai nevarēsim izpildīt Jūsu pasūtījumu vai tikai daļēji izpildīt (tādos gadījumos Pircējs tiek informēts nekavējoties).
Pamanījāt kļūdu? Ziņojiet mums
Queries: 177, Total time: 191.048 ms [By time] [By id] [By file]
1 (0.250)
SET time_zone = '+03:00'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/time_settings.php:139
2 (1.028)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '117' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4060')
ORDER BY tr1.priority ASC
/var/www/elvijs.nomasveikals.lv/web/system/library/cart/tax.php:25
3 (0.889)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '117' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4060')
ORDER BY tr1.priority ASC
/var/www/elvijs.nomasveikals.lv/web/system/library/cart/tax.php:53
4 (0.433)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1550996de8da57d95d5c43a3f1cd0fd5'
/var/www/elvijs.nomasveikals.lv/web/system/library/cart/cart.php:160
5 (0.541)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `event_id` ASC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/event.php:4
6 (1.164)
SELECT *
FROM oc_setting
WHERE `code` = 'theme_default'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/setting/setting.php:16
7 (1.130)
SELECT p.*, pd.*, m.*, pd.name AS name, p.image, m.name AS manufacturer, md.seo_keyword AS manufacturer_seo_keyword, prw.points AS reward, wcd.unit AS weight_class, lcd.unit AS length_class, AVG(r.rating) AS rating, COUNT(DISTINCT r.review_id) AS reviews, p.sort_order, pr_restricted.value AS restrict_customer_group, pr_blocked.value AS block_customer_group
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_manufacturer_description md ON (p.manufacturer_id = md.manufacturer_id AND md.language_id = '1')
LEFT JOIN oc_product_reward prw ON (prw.product_id = p.product_id AND prw.customer_group_id = '1')
LEFT JOIN oc_weight_class_description wcd ON (p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1')
LEFT JOIN oc_length_class_description lcd ON (p.length_class_id = lcd.length_class_id AND lcd.language_id = '1')
LEFT JOIN oc_review r ON (r.product_id = p.product_id AND r.status = '1')
LEFT JOIN oc_product_rule pr_restricted ON pr_restricted.product_id = p.product_id AND pr_restricted.type = 'restrict_customer_group'
LEFT JOIN oc_product_rule pr_blocked ON pr_blocked.product_id = p.product_id AND pr_blocked.type = 'block_customer_group'
WHERE p.product_id = '337' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() GROUP BY p.product_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:36
8 (0.317)
SELECT product_id, type, value
FROM oc_product_rule
WHERE product_id IN (337) AND type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2901
9 (2.094)
SHOW TABLES LIKE 'oc_category_rule'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3157
10 (0.431)
SELECT p2c.product_id, cr.type, cr.value
FROM oc_product_to_category p2c
INNER JOIN oc_category_rule cr ON (cr.category_id = p2c.category_id)
WHERE p2c.product_id IN (337) AND cr.type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2908
11 (15.138)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '0' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '1')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '1')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '1' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '1' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('337') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
12 (0.501)
SELECT *
FROM oc_product p
WHERE p.product_id IN (337)
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2601
13 (11.121)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '11' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '11')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '11')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '11' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '11' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('337') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
14 (1.700)
SHOW TABLES LIKE 'oc_vehicle_application'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3142
15 (1.613)
SHOW TABLES LIKE 'oc_product_fitment'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3143
16 (0.275)
SELECT COUNT(*) AS total
FROM `oc_product_fitment`
WHERE product_id = '337'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1574
17 (0.326)
SELECT pf.note, va.year, va.make, va.model, va.trim, va.engine
FROM `oc_product_fitment` pf
INNER JOIN `oc_vehicle_application` va ON (va.vehicle_application_id = pf.vehicle_application_id)
WHERE pf.product_id = '337'
ORDER BY va.year DESC, va.make ASC, va.model ASC, va.trim ASC, va.engine ASC LIMIT 0, 20
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1610
18 (0.300)
SELECT *
FROM oc_product_to_category
WHERE product_id = '337'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
19 (0.435)
SELECT cp.path_id AS category_id, cd.name, cd.seo_keyword
FROM oc_category_path cp
INNER JOIN oc_category c ON (cp.path_id = c.category_id)
INNER JOIN oc_category_description cd ON (cp.path_id = cd.category_id)
WHERE cp.category_id = '65' AND cd.language_id = '1' AND c.status = '1'
ORDER BY cp.level
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/category.php:29
20 (2.016)
SHOW TABLES LIKE 'oc_sales_document'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:968
21 (1.344)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'code'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
22 (1.095)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'name'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
23 (1.122)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'filename'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
24 (0.875)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'relative_path'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
25 (0.834)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'extension'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
26 (0.790)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'mime_type'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
27 (0.814)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'source'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
28 (0.857)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'date_added'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
29 (0.814)
SHOW COLUMNS
FROM `oc_sales_document` LIKE 'date_modified'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
30 (0.972)
SHOW INDEX
FROM `oc_sales_document`
WHERE Key_name = 'code'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:990
31 (0.986)
SHOW INDEX
FROM `oc_sales_document`
WHERE Key_name = 'extension'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:990
32 (0.921)
SHOW INDEX
FROM `oc_sales_document`
WHERE Key_name = 'source'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:990
33 (0.993)
SHOW INDEX
FROM `oc_sales_document`
WHERE Key_name = 'date_added'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:990
34 (1.535)
SHOW TABLES LIKE 'oc_sales_document_link'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:968
35 (0.874)
SHOW COLUMNS
FROM `oc_sales_document_link` LIKE 'sales_document_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
36 (0.843)
SHOW COLUMNS
FROM `oc_sales_document_link` LIKE 'entity_type'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
37 (0.815)
SHOW COLUMNS
FROM `oc_sales_document_link` LIKE 'entity_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
38 (0.833)
SHOW COLUMNS
FROM `oc_sales_document_link` LIKE 'context'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
39 (0.982)
SHOW COLUMNS
FROM `oc_sales_document_link` LIKE 'date_added'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:976
40 (1.062)
SHOW INDEX
FROM `oc_sales_document_link`
WHERE Key_name = 'uniq_link'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:990
41 (0.988)
SHOW INDEX
FROM `oc_sales_document_link`
WHERE Key_name = 'entity_lookup'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:990
42 (0.965)
SHOW INDEX
FROM `oc_sales_document_link`
WHERE Key_name = 'sales_document_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:990
43 (0.460)
SELECT sd.*, GROUP_CONCAT(DISTINCT CONCAT(sdl.entity_type, ':', sdl.entity_id, ':', sdl.context) SEPARATOR '||') AS links
FROM `oc_sales_document` sd
INNER JOIN `oc_sales_document_link` sdl ON (sdl.sales_document_id = sd.sales_document_id)
WHERE sdl.entity_type = 'product' AND sdl.entity_id = '337' AND sdl.context = 'catalog_download' GROUP BY sd.sales_document_id
ORDER BY sd.date_added DESC, sd.sales_document_id DESC
/var/www/elvijs.nomasveikals.lv/web/system/library/sales_document_registry.php:353
44 (0.305)
SELECT DISTINCT *
FROM oc_manufacturer m
LEFT JOIN oc_manufacturer_description md ON (m.manufacturer_id = md.manufacturer_id AND md.language_id = '1')
WHERE m.manufacturer_id = '0' AND m.status = '1'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/manufacturer.php:4
45 (2.014)
CREATE TABLE IF NOT EXISTS `oc_product_customtab` ( `product_customtab_id` int(11) NOT NULL AUTO_INCREMENT, `product_id` int(11) NOT NULL, `sort_order` int(11) NOT NULL, `status` tinyint(1) NOT NULL, PRIMARY KEY (`product_customtab_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3459
46 (1.649)
CREATE TABLE IF NOT EXISTS `oc_product_customtab_description` ( `product_customtab_id` int(11) NOT NULL, `language_id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `title` varchar(255) CHARACTER SET utf8 NOT NULL, `description` text CHARACTER SET utf8 NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3467
47 (0.402)
SELECT *
FROM oc_product_customtab pc
LEFT JOIN oc_product_customtab_description pcd ON (pc.product_customtab_id = pcd.product_customtab_id)
WHERE pc.product_id = '337' AND pcd.language_id = '1' AND pc.status > 0
ORDER BY pc.sort_order ASC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1183
48 (0.268)
SELECT *
FROM oc_product_image
WHERE product_id = '337'
ORDER BY sort_order ASC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1189
49 (0.287)
SELECT *
FROM oc_unit_class uc
LEFT JOIN oc_unit_class_description ucd ON (uc.unit_class_id = ucd.unit_class_id)
WHERE uc.unit_class_id = '4' AND ucd.language_id = '1'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1991
50 (0.395)
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 = '337' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1083
51 (0.432)
SELECT *
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '337' AND pov.product_option_id = '13' AND ovd.language_id = '1'
ORDER BY ov.sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1088
52 (9.447)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '0' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '1')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '1')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '1' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '1' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('336','335','332') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
53 (0.822)
SELECT p.*, pd.*, m.*, pd.name AS name, p.image, m.name AS manufacturer, md.seo_keyword AS manufacturer_seo_keyword, prw.points AS reward, wcd.unit AS weight_class, lcd.unit AS length_class, AVG(r.rating) AS rating, COUNT(DISTINCT r.review_id) AS reviews, p.sort_order, pr_restricted.value AS restrict_customer_group, pr_blocked.value AS block_customer_group
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_manufacturer_description md ON (p.manufacturer_id = md.manufacturer_id AND md.language_id = '1')
LEFT JOIN oc_product_reward prw ON (prw.product_id = p.product_id AND prw.customer_group_id = '1')
LEFT JOIN oc_weight_class_description wcd ON (p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1')
LEFT JOIN oc_length_class_description lcd ON (p.length_class_id = lcd.length_class_id AND lcd.language_id = '1')
LEFT JOIN oc_review r ON (r.product_id = p.product_id AND r.status = '1')
LEFT JOIN oc_product_rule pr_restricted ON pr_restricted.product_id = p.product_id AND pr_restricted.type = 'restrict_customer_group'
LEFT JOIN oc_product_rule pr_blocked ON pr_blocked.product_id = p.product_id AND pr_blocked.type = 'block_customer_group'
WHERE p.product_id IN (336,335,332) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() GROUP BY p.product_id
ORDER BY FIELD(p.product_id,336,335,332)
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2653
54 (0.235)
SELECT *
FROM oc_product p
WHERE p.product_id IN (336,335,332)
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2601
55 (5.463)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '11' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '11')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '11')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '11' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '11' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('332','335','336') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
56 (0.175)
SELECT product_id, type, value
FROM oc_product_rule
WHERE product_id IN (336,335,332) AND type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2901
57 (0.208)
SELECT p2c.product_id, cr.type, cr.value
FROM oc_product_to_category p2c
INNER JOIN oc_category_rule cr ON (cr.category_id = p2c.category_id)
WHERE p2c.product_id IN (336,335,332) AND cr.type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2908
58 (5.479)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '0' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '1')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '1')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '1' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '1' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('336','335','332') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
59 (0.805)
SELECT p.*, pd.*, m.*, pd.name AS name, p.image, m.name AS manufacturer, md.seo_keyword AS manufacturer_seo_keyword, prw.points AS reward, wcd.unit AS weight_class, lcd.unit AS length_class, AVG(r.rating) AS rating, COUNT(DISTINCT r.review_id) AS reviews, p.sort_order, pr_restricted.value AS restrict_customer_group, pr_blocked.value AS block_customer_group
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_manufacturer_description md ON (p.manufacturer_id = md.manufacturer_id AND md.language_id = '1')
LEFT JOIN oc_product_reward prw ON (prw.product_id = p.product_id AND prw.customer_group_id = '1')
LEFT JOIN oc_weight_class_description wcd ON (p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1')
LEFT JOIN oc_length_class_description lcd ON (p.length_class_id = lcd.length_class_id AND lcd.language_id = '1')
LEFT JOIN oc_review r ON (r.product_id = p.product_id AND r.status = '1')
LEFT JOIN oc_product_rule pr_restricted ON pr_restricted.product_id = p.product_id AND pr_restricted.type = 'restrict_customer_group'
LEFT JOIN oc_product_rule pr_blocked ON pr_blocked.product_id = p.product_id AND pr_blocked.type = 'block_customer_group'
WHERE p.product_id IN (336,335,332) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() GROUP BY p.product_id
ORDER BY FIELD(p.product_id,336,335,332)
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2653
60 (0.291)
SELECT *
FROM oc_product p
WHERE p.product_id IN (336,335,332)
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2601
61 (5.423)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '11' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '11')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '11')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '11' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '11' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('332','335','336') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
62 (0.192)
SELECT product_id, type, value
FROM oc_product_rule
WHERE product_id IN (336,335,332) AND type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2901
63 (0.200)
SELECT p2c.product_id, cr.type, cr.value
FROM oc_product_to_category p2c
INNER JOIN oc_category_rule cr ON (cr.category_id = p2c.category_id)
WHERE p2c.product_id IN (336,335,332) AND cr.type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2908
64 (0.958)
SHOW TABLES LIKE 'oc_product_upsell'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1264
65 (0.294)
SELECT pu.*, p.minimum AS upsell_minimum
FROM oc_product_upsell pu
INNER JOIN oc_product p ON (p.product_id = pu.upsell_product_id)
WHERE pu.product_id = '337' AND pu.status = '1' AND (pu.date_start = '0000-00-00' OR pu.date_start <= CURDATE()) AND (pu.date_end = '0000-00-00' OR pu.date_end >= CURDATE()) AND p.status = '1' AND p.date_available <= NOW() AND p.type NOT LIKE 'option'
ORDER BY pu.sort_order ASC, pu.product_upsell_id ASC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1320
66 (1.755)
CREATE TABLE IF NOT EXISTS `oc_booking_location` ( `booking_location_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(191) NOT NULL, `slug` varchar(191) NOT NULL, `address_line` varchar(255) NOT NULL DEFAULT '', `city` varchar(128) NOT NULL DEFAULT '', `phone` varchar(64) NOT NULL DEFAULT '', `email` varchar(191) NOT NULL DEFAULT '', `description` mediumtext, `seo_title` varchar(255) NOT NULL DEFAULT '', `seo_description` varchar(255) NOT NULL DEFAULT '', `faq_json` mediumtext, `sort_order` int(11) NOT NULL DEFAULT '0', `status` tinyint(1) NOT NULL DEFAULT '1', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_location_id`), UNIQUE KEY `slug` (`slug`), KEY `status_sort` (`status`,`sort_order`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:21
67 (1.464)
CREATE TABLE IF NOT EXISTS `oc_booking_service` ( `booking_service_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(191) NOT NULL, `slug` varchar(191) NOT NULL, `description` mediumtext, `seo_title` varchar(255) NOT NULL DEFAULT '', `seo_description` varchar(255) NOT NULL DEFAULT '', `price_from` decimal(15,4) NOT NULL DEFAULT '0.0000', `required_resource_type` varchar(16) NOT NULL DEFAULT '', `sort_order` int(11) NOT NULL DEFAULT '0', `status` tinyint(1) NOT NULL DEFAULT '1', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_service_id`), UNIQUE KEY `slug` (`slug`), KEY `status_sort` (`status`,`sort_order`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:42
68 (1.370)
CREATE TABLE IF NOT EXISTS `oc_booking_service_location` ( `booking_service_location_id` int(11) NOT NULL AUTO_INCREMENT, `service_id` int(11) NOT NULL, `location_id` int(11) NOT NULL, `resource_id` int(11) NOT NULL DEFAULT '0', `duration_minutes` int(11) NOT NULL DEFAULT '60', `buffer_before` int(11) NOT NULL DEFAULT '0', `buffer_after` int(11) NOT NULL DEFAULT '0', `payment_mode` varchar(16) NOT NULL DEFAULT 'none', `allow_standalone` tinyint(1) NOT NULL DEFAULT '1', `allow_checkout_attach` tinyint(1) NOT NULL DEFAULT '0', `resource_type` varchar(16) NOT NULL DEFAULT '', `slot_step_minutes` int(11) NOT NULL DEFAULT '30', `checkout_product_id` int(11) NOT NULL DEFAULT '0', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_service_location_id`), UNIQUE KEY `service_location` (`service_id`,`location_id`), KEY `location_id` (`location_id`), KEY `resource_id` (`resource_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:60
69 (1.224)
CREATE TABLE IF NOT EXISTS `oc_booking_resource` ( `booking_resource_id` int(11) NOT NULL AUTO_INCREMENT, `location_id` int(11) NOT NULL, `name` varchar(191) NOT NULL, `type` varchar(16) NOT NULL DEFAULT 'bay', `capacity` int(11) NOT NULL DEFAULT '1', `status` tinyint(1) NOT NULL DEFAULT '1', `sort_order` int(11) NOT NULL DEFAULT '0', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_resource_id`), KEY `location_type_status` (`location_id`,`type`,`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:82
70 (1.798)
CREATE TABLE IF NOT EXISTS `oc_booking_resource_schedule` ( `booking_resource_schedule_id` int(11) NOT NULL AUTO_INCREMENT, `location_id` int(11) NOT NULL, `resource_id` int(11) NOT NULL DEFAULT '0', `day_of_week` tinyint(1) NOT NULL DEFAULT '1', `start_time_local` time NOT NULL, `end_time_local` time NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '1', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_resource_schedule_id`), KEY `location_day` (`location_id`,`day_of_week`,`status`), KEY `resource_day` (`resource_id`,`day_of_week`,`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:96
71 (1.534)
CREATE TABLE IF NOT EXISTS `oc_booking_blackout` ( `booking_blackout_id` int(11) NOT NULL AUTO_INCREMENT, `location_id` int(11) NOT NULL, `service_id` int(11) NOT NULL DEFAULT '0', `resource_id` int(11) NOT NULL DEFAULT '0', `title` varchar(191) NOT NULL DEFAULT '', `reason` varchar(255) NOT NULL DEFAULT '', `start_at_utc` datetime NOT NULL, `end_at_utc` datetime NOT NULL, `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_blackout_id`), KEY `window_lookup` (`location_id`,`resource_id`,`start_at_utc`,`end_at_utc`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:111
72 (1.411)
CREATE TABLE IF NOT EXISTS `oc_booking` ( `booking_id` int(11) NOT NULL AUTO_INCREMENT, `booking_service_location_id` int(11) NOT NULL DEFAULT '0', `location_id` int(11) NOT NULL, `service_id` int(11) NOT NULL, `resource_id` int(11) NOT NULL DEFAULT '0', `order_id` int(11) NOT NULL DEFAULT '0', `order_product_id` int(11) NULL DEFAULT NULL, `source_type` varchar(32) NOT NULL DEFAULT 'standalone', `tire_source` varchar(32) NOT NULL DEFAULT '', `payment_mode` varchar(16) NOT NULL DEFAULT 'none', `payment_state` varchar(32) NOT NULL DEFAULT 'not_required', `status` varchar(32) NOT NULL DEFAULT 'scheduled', `starts_at_utc` datetime NOT NULL, `ends_at_utc` datetime NOT NULL, `buffer_start_utc` datetime NOT NULL, `buffer_end_utc` datetime NOT NULL, `vehicle_registration_no` varchar(64) NOT NULL DEFAULT '', `vehicle_make` varchar(128) NOT NULL DEFAULT '', `vehicle_model` varchar(128) NOT NULL DEFAULT '', `vehicle_year` varchar(16) NOT NULL DEFAULT '', `customer_name` varchar(191) NOT NULL DEFAULT '', `customer_email` varchar(191) NOT NULL DEFAULT '', `customer_phone` varchar(64) NOT NULL DEFAULT '', `customer_comment` text, `consent_terms` tinyint(1) NOT NULL DEFAULT '0', `consent_marketing` tinyint(1) NOT NULL DEFAULT '0', `metadata_json` mediumtext, `order_status_id` int(11) NOT NULL DEFAULT '0', `is_blocking` tinyint(1) NOT NULL DEFAULT '0', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_id`), UNIQUE KEY `order_product_id` (`order_product_id`), KEY `location_window_status` (`location_id`,`starts_at_utc`,`ends_at_utc`,`status`,`is_blocking`), KEY `resource_window_status` (`resource_id`,`starts_at_utc`,`ends_at_utc`,`status`,`is_blocking`), KEY `order_id` (`order_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:126
73 (1.259)
CREATE TABLE IF NOT EXISTS `oc_booking_item` ( `booking_item_id` int(11) NOT NULL AUTO_INCREMENT, `booking_id` int(11) NOT NULL, `product_id` int(11) NOT NULL DEFAULT '0', `quantity` int(11) NOT NULL DEFAULT '1', `source` varchar(32) NOT NULL DEFAULT 'cart', `date_added` datetime NOT NULL, PRIMARY KEY (`booking_item_id`), KEY `booking_id` (`booking_id`), KEY `product_id` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:165
74 (1.658)
CREATE TABLE IF NOT EXISTS `oc_booking_status_history` ( `booking_status_history_id` int(11) NOT NULL AUTO_INCREMENT, `booking_id` int(11) NOT NULL, `status` varchar(32) NOT NULL, `comment` text, `actor` varchar(64) NOT NULL DEFAULT 'system', `date_added` datetime NOT NULL, PRIMARY KEY (`booking_status_history_id`), KEY `booking_id` (`booking_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:177
75 (0.742)
SHOW COLUMNS
FROM `oc_booking_service_location` LIKE 'resource_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:196
76 (0.525)
SHOW COLUMNS
FROM `oc_booking` LIKE 'order_product_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:210
77 (0.174)
UPDATE `oc_booking` SET order_product_id = NULL
WHERE order_product_id = '0'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:225
78 (0.586)
SHOW INDEX
FROM `oc_booking`
WHERE Key_name = 'order_product_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:229
79 (0.907)
SHOW TABLES LIKE 'oc_url_alias'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:239
80 (0.239)
SELECT language_id, code
FROM `oc_language`
WHERE status = '1'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:245
81 (0.200)
SELECT query
FROM `oc_url_alias`
WHERE query = 'booking/booking' AND language_id = '1' LIMIT 1
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:256
82 (0.193)
SELECT query
FROM `oc_url_alias`
WHERE query = 'booking/booking' AND language_id = '2' LIMIT 1
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:256
83 (0.192)
SELECT query
FROM `oc_url_alias`
WHERE query = 'booking/booking' AND language_id = '3' LIMIT 1
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:256
84 (0.205)
SELECT `key`, `value`, `serialized`
FROM `oc_setting`
WHERE `code` = 'booking_module' AND store_id IN (0, '0')
ORDER BY store_id ASC
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/config_service.php:56
85 (1.520)
CREATE TABLE IF NOT EXISTS `oc_booking_location` ( `booking_location_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(191) NOT NULL, `slug` varchar(191) NOT NULL, `address_line` varchar(255) NOT NULL DEFAULT '', `city` varchar(128) NOT NULL DEFAULT '', `phone` varchar(64) NOT NULL DEFAULT '', `email` varchar(191) NOT NULL DEFAULT '', `description` mediumtext, `seo_title` varchar(255) NOT NULL DEFAULT '', `seo_description` varchar(255) NOT NULL DEFAULT '', `faq_json` mediumtext, `sort_order` int(11) NOT NULL DEFAULT '0', `status` tinyint(1) NOT NULL DEFAULT '1', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_location_id`), UNIQUE KEY `slug` (`slug`), KEY `status_sort` (`status`,`sort_order`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:21
86 (1.432)
CREATE TABLE IF NOT EXISTS `oc_booking_service` ( `booking_service_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(191) NOT NULL, `slug` varchar(191) NOT NULL, `description` mediumtext, `seo_title` varchar(255) NOT NULL DEFAULT '', `seo_description` varchar(255) NOT NULL DEFAULT '', `price_from` decimal(15,4) NOT NULL DEFAULT '0.0000', `required_resource_type` varchar(16) NOT NULL DEFAULT '', `sort_order` int(11) NOT NULL DEFAULT '0', `status` tinyint(1) NOT NULL DEFAULT '1', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_service_id`), UNIQUE KEY `slug` (`slug`), KEY `status_sort` (`status`,`sort_order`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:42
87 (1.361)
CREATE TABLE IF NOT EXISTS `oc_booking_service_location` ( `booking_service_location_id` int(11) NOT NULL AUTO_INCREMENT, `service_id` int(11) NOT NULL, `location_id` int(11) NOT NULL, `resource_id` int(11) NOT NULL DEFAULT '0', `duration_minutes` int(11) NOT NULL DEFAULT '60', `buffer_before` int(11) NOT NULL DEFAULT '0', `buffer_after` int(11) NOT NULL DEFAULT '0', `payment_mode` varchar(16) NOT NULL DEFAULT 'none', `allow_standalone` tinyint(1) NOT NULL DEFAULT '1', `allow_checkout_attach` tinyint(1) NOT NULL DEFAULT '0', `resource_type` varchar(16) NOT NULL DEFAULT '', `slot_step_minutes` int(11) NOT NULL DEFAULT '30', `checkout_product_id` int(11) NOT NULL DEFAULT '0', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_service_location_id`), UNIQUE KEY `service_location` (`service_id`,`location_id`), KEY `location_id` (`location_id`), KEY `resource_id` (`resource_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:60
88 (1.456)
CREATE TABLE IF NOT EXISTS `oc_booking_resource` ( `booking_resource_id` int(11) NOT NULL AUTO_INCREMENT, `location_id` int(11) NOT NULL, `name` varchar(191) NOT NULL, `type` varchar(16) NOT NULL DEFAULT 'bay', `capacity` int(11) NOT NULL DEFAULT '1', `status` tinyint(1) NOT NULL DEFAULT '1', `sort_order` int(11) NOT NULL DEFAULT '0', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_resource_id`), KEY `location_type_status` (`location_id`,`type`,`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:82
89 (1.319)
CREATE TABLE IF NOT EXISTS `oc_booking_resource_schedule` ( `booking_resource_schedule_id` int(11) NOT NULL AUTO_INCREMENT, `location_id` int(11) NOT NULL, `resource_id` int(11) NOT NULL DEFAULT '0', `day_of_week` tinyint(1) NOT NULL DEFAULT '1', `start_time_local` time NOT NULL, `end_time_local` time NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '1', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_resource_schedule_id`), KEY `location_day` (`location_id`,`day_of_week`,`status`), KEY `resource_day` (`resource_id`,`day_of_week`,`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:96
90 (1.409)
CREATE TABLE IF NOT EXISTS `oc_booking_blackout` ( `booking_blackout_id` int(11) NOT NULL AUTO_INCREMENT, `location_id` int(11) NOT NULL, `service_id` int(11) NOT NULL DEFAULT '0', `resource_id` int(11) NOT NULL DEFAULT '0', `title` varchar(191) NOT NULL DEFAULT '', `reason` varchar(255) NOT NULL DEFAULT '', `start_at_utc` datetime NOT NULL, `end_at_utc` datetime NOT NULL, `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_blackout_id`), KEY `window_lookup` (`location_id`,`resource_id`,`start_at_utc`,`end_at_utc`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:111
91 (1.659)
CREATE TABLE IF NOT EXISTS `oc_booking` ( `booking_id` int(11) NOT NULL AUTO_INCREMENT, `booking_service_location_id` int(11) NOT NULL DEFAULT '0', `location_id` int(11) NOT NULL, `service_id` int(11) NOT NULL, `resource_id` int(11) NOT NULL DEFAULT '0', `order_id` int(11) NOT NULL DEFAULT '0', `order_product_id` int(11) NULL DEFAULT NULL, `source_type` varchar(32) NOT NULL DEFAULT 'standalone', `tire_source` varchar(32) NOT NULL DEFAULT '', `payment_mode` varchar(16) NOT NULL DEFAULT 'none', `payment_state` varchar(32) NOT NULL DEFAULT 'not_required', `status` varchar(32) NOT NULL DEFAULT 'scheduled', `starts_at_utc` datetime NOT NULL, `ends_at_utc` datetime NOT NULL, `buffer_start_utc` datetime NOT NULL, `buffer_end_utc` datetime NOT NULL, `vehicle_registration_no` varchar(64) NOT NULL DEFAULT '', `vehicle_make` varchar(128) NOT NULL DEFAULT '', `vehicle_model` varchar(128) NOT NULL DEFAULT '', `vehicle_year` varchar(16) NOT NULL DEFAULT '', `customer_name` varchar(191) NOT NULL DEFAULT '', `customer_email` varchar(191) NOT NULL DEFAULT '', `customer_phone` varchar(64) NOT NULL DEFAULT '', `customer_comment` text, `consent_terms` tinyint(1) NOT NULL DEFAULT '0', `consent_marketing` tinyint(1) NOT NULL DEFAULT '0', `metadata_json` mediumtext, `order_status_id` int(11) NOT NULL DEFAULT '0', `is_blocking` tinyint(1) NOT NULL DEFAULT '0', `date_added` datetime NOT NULL, `date_modified` datetime NOT NULL, PRIMARY KEY (`booking_id`), UNIQUE KEY `order_product_id` (`order_product_id`), KEY `location_window_status` (`location_id`,`starts_at_utc`,`ends_at_utc`,`status`,`is_blocking`), KEY `resource_window_status` (`resource_id`,`starts_at_utc`,`ends_at_utc`,`status`,`is_blocking`), KEY `order_id` (`order_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:126
92 (1.305)
CREATE TABLE IF NOT EXISTS `oc_booking_item` ( `booking_item_id` int(11) NOT NULL AUTO_INCREMENT, `booking_id` int(11) NOT NULL, `product_id` int(11) NOT NULL DEFAULT '0', `quantity` int(11) NOT NULL DEFAULT '1', `source` varchar(32) NOT NULL DEFAULT 'cart', `date_added` datetime NOT NULL, PRIMARY KEY (`booking_item_id`), KEY `booking_id` (`booking_id`), KEY `product_id` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:165
93 (1.416)
CREATE TABLE IF NOT EXISTS `oc_booking_status_history` ( `booking_status_history_id` int(11) NOT NULL AUTO_INCREMENT, `booking_id` int(11) NOT NULL, `status` varchar(32) NOT NULL, `comment` text, `actor` varchar(64) NOT NULL DEFAULT 'system', `date_added` datetime NOT NULL, PRIMARY KEY (`booking_status_history_id`), KEY `booking_id` (`booking_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:177
94 (0.576)
SHOW COLUMNS
FROM `oc_booking_service_location` LIKE 'resource_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:196
95 (0.497)
SHOW COLUMNS
FROM `oc_booking` LIKE 'order_product_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:210
96 (0.159)
UPDATE `oc_booking` SET order_product_id = NULL
WHERE order_product_id = '0'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:225
97 (0.558)
SHOW INDEX
FROM `oc_booking`
WHERE Key_name = 'order_product_id'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:229
98 (0.901)
SHOW TABLES LIKE 'oc_url_alias'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:239
99 (0.207)
SELECT language_id, code
FROM `oc_language`
WHERE status = '1'
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:245
100 (0.178)
SELECT query
FROM `oc_url_alias`
WHERE query = 'booking/booking' AND language_id = '1' LIMIT 1
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:256
101 (0.165)
SELECT query
FROM `oc_url_alias`
WHERE query = 'booking/booking' AND language_id = '2' LIMIT 1
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:256
102 (0.179)
SELECT query
FROM `oc_url_alias`
WHERE query = 'booking/booking' AND language_id = '3' LIMIT 1
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/schema_service.php:256
103 (0.183)
SELECT *
FROM `oc_booking_location`
WHERE status = '1'
ORDER BY sort_order ASC, name ASC
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/config_repository.php:23
104 (0.270)
SELECT sl.*, l.name AS location_name, s.name AS service_name, s.slug AS service_slug, l.slug AS location_slug, s.description AS service_description, s.price_from, s.required_resource_type, r.name AS resource_name, r.type AS resource_rule_type
FROM `oc_booking_service_location` sl
INNER JOIN `oc_booking_location` l ON (l.booking_location_id = sl.location_id)
INNER JOIN `oc_booking_service` s ON (s.booking_service_id = sl.service_id)
LEFT JOIN `oc_booking_resource` r ON (r.booking_resource_id = sl.resource_id)
WHERE 1 = 1 AND sl.allow_checkout_attach = '1'
ORDER BY l.sort_order ASC, s.sort_order ASC, s.name ASC
/var/www/elvijs.nomasveikals.lv/web/system/library/nomasveikals/booking/config_repository.php:177
105 (0.282)
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 = '337' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1000
106 (0.176)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '337'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1500
107 (0.288)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2'
ORDER BY sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/design/layout.php:29
108 (0.175)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/column_left'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
109 (0.224)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/column_right'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
110 (0.144)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/content_top'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
111 (0.165)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/content_bottom'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
112 (0.270)
SELECT module_id, name, setting
FROM oc_module
WHERE code = 'popup'
ORDER BY module_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module.php:30
113 (0.172)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'extension/module/WD_add_to_cart_popup'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
114 (0.239)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'extension/module/isenselabs_gdpr/cookie_consent_bar'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
115 (0.181)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/frontadmin'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
116 (1.680)
SHOW TABLES LIKE 'oc_announcement_bar'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/announcement_bar.php:34
117 (0.270)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'extension/module/newsletters'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
118 (0.254)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'extension/module/WDSocial_list'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
119 (0.226)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/footer'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
120 (0.330)
SELECT seo_keyword
FROM `oc_product_description`
WHERE `product_id` = '337' AND (`language_id` = '1' OR `language_id` = 0)
ORDER BY language_id DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/controller/startup/seo_url.php:361
121 (0.271)
SELECT seo_keyword
FROM `oc_product_description`
WHERE `product_id` = '337' AND (`language_id` = '2' OR `language_id` = 0)
ORDER BY language_id DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/controller/startup/seo_url.php:361
122 (0.272)
SELECT seo_keyword
FROM `oc_product_description`
WHERE `product_id` = '337' AND (`language_id` = '3' OR `language_id` = 0)
ORDER BY language_id DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/controller/startup/seo_url.php:361
123 (0.972)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/extension.php:44
124 (0.239)
SELECT *
FROM oc_module
WHERE module_id = '176'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module.php:11
125 (0.222)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/burger_menu'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
126 (0.292)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/language'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
127 (0.236)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/language_mob'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
128 (0.197)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/currency'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
129 (0.185)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/currency_mob'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
130 (0.227)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/search'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
131 (0.988)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/extension.php:44
132 (0.337)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/var/www/elvijs.nomasveikals.lv/web/system/library/cart/customer.php:146
133 (0.319)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/cart'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
134 (0.224)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/content_menu'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
135 (0.241)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/content_after'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
136 (0.223)
SELECT *
FROM oc_theme
WHERE theme = 'wd_freshshop' AND route = 'common/header'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/extension/module/d_twig_manager.php:15
137 (0.584)
SELECT *
FROM oc_unit_class uc
LEFT JOIN oc_unit_class_description ucd ON (uc.unit_class_id = ucd.unit_class_id)
WHERE ucd.language_id = '1'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1997
138 (0.579)
SELECT *
FROM oc_product_related pr
LEFT JOIN oc_product p ON (pr.related_id = p.product_id)
WHERE pr.product_id = '337' AND p.status = '1' AND p.date_available <= NOW() AND p.type NOT LIKE 'option'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1243
139 (0.664)
SELECT DISTINCT p.product_id
FROM oc_product p
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE p.status = '1' AND p.type NOT LIKE 'option'AND (p2c.category_id = '65')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1465
140 (13.769)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '0' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '1')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '1')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '1' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '1' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('16','339','18','9','338') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
141 (1.721)
SELECT p.*, pd.*, m.*, pd.name AS name, p.image, m.name AS manufacturer, md.seo_keyword AS manufacturer_seo_keyword, prw.points AS reward, wcd.unit AS weight_class, lcd.unit AS length_class, AVG(r.rating) AS rating, COUNT(DISTINCT r.review_id) AS reviews, p.sort_order, pr_restricted.value AS restrict_customer_group, pr_blocked.value AS block_customer_group
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_manufacturer_description md ON (p.manufacturer_id = md.manufacturer_id AND md.language_id = '1')
LEFT JOIN oc_product_reward prw ON (prw.product_id = p.product_id AND prw.customer_group_id = '1')
LEFT JOIN oc_weight_class_description wcd ON (p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1')
LEFT JOIN oc_length_class_description lcd ON (p.length_class_id = lcd.length_class_id AND lcd.language_id = '1')
LEFT JOIN oc_review r ON (r.product_id = p.product_id AND r.status = '1')
LEFT JOIN oc_product_rule pr_restricted ON pr_restricted.product_id = p.product_id AND pr_restricted.type = 'restrict_customer_group'
LEFT JOIN oc_product_rule pr_blocked ON pr_blocked.product_id = p.product_id AND pr_blocked.type = 'block_customer_group'
WHERE p.product_id IN (16,339,18,9,338) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() GROUP BY p.product_id
ORDER BY FIELD(p.product_id,16,339,18,9,338)
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2653
142 (0.492)
SELECT *
FROM oc_product p
WHERE p.product_id IN (16,339,18,9,338)
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2601
143 (10.932)
WITH RECURSIVE cgd AS ( SELECT cgd.percentage
FROM `oc_customer_group_discount` AS cgd
WHERE cgd.status = '1' AND cgd.customer_group_id = '11' AND (cgd.date_start = '0000-00-00' OR cgd.date_start < NOW())
ORDER BY cgd.priority ASC, cgd.percentage ASC LIMIT 0, 1), cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT p.product_id, CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END AS `before`, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END) AS discount, (CASE WHEN pdf.price IS NOT NULL THEN pdf.price WHEN pdp.percentage IS NOT NULL THEN (100 - pdp.percentage) * p.price / 100 ELSE p.price END * IF((MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0))) < 100, (100 - (MAX(IFNULL(cgd.percentage, 0)) + MAX(IFNULL(cd.percentage, 0)) + MAX(IFNULL(vnd.percentage, 0)))) / 100, 1)) AS final
FROM `oc_product` AS p
LEFT JOIN cgd ON (1)
LEFT JOIN `oc_product_discount` AS pdf ON (pdf.product_id = p.product_id AND pdf.quantity <= p.minimum AND pdf.discount_type = 'F' AND pdf.price > 0 AND (pdf.date_start = '0000-00-00' OR pdf.date_start < NOW()) AND pdf.customer_group_id = '11')
LEFT JOIN `oc_product_discount` AS pdp ON (pdp.product_id = p.product_id AND pdp.quantity <= p.minimum AND pdp.discount_type = 'P' AND pdp.percentage > 0 AND (pdp.date_start = '0000-00-00' OR pdp.date_start < NOW()) AND pdp.customer_group_id = '11')
LEFT JOIN `oc_product_to_category` AS ptc ON (ptc.product_id = p.product_id)
LEFT JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON ((cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1')) AND cd.status = '1' AND cd.customer_group_id = '11' AND cd.qty <= p.minimum AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start < NOW()))
LEFT JOIN `oc_vendor_discount` AS vnd ON (vnd.vendor = p.vendor AND vnd.status = '1' AND vnd.customer_group_id = '11' AND vnd.qty <= p.minimum AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE()))
WHERE p.status = '1' AND p.date_available <= NOW() AND p.product_id IN ('9','16','18','338','339') GROUP BY p.product_id
ORDER BY pdf.priority ASC, pdp.priority ASC, pdf.price ASC, pdp.percentage DESC, cd.priority ASC, cd.percentage DESC, vnd.priority ASC, vnd.percentage DESC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1422
144 (0.288)
SELECT product_id, type, value
FROM oc_product_rule
WHERE product_id IN (16,339,18,9,338) AND type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2901
145 (0.347)
SELECT p2c.product_id, cr.type, cr.value
FROM oc_product_to_category p2c
INNER JOIN oc_category_rule cr ON (cr.category_id = p2c.category_id)
WHERE p2c.product_id IN (16,339,18,9,338) AND cr.type IN ('restrict_customer_group','block_customer_group')
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:2908
146 (0.248)
SELECT *
FROM oc_product_to_category
WHERE product_id = '16'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
147 (0.418)
SELECT DISTINCT c.*, cd.*, GROUP_CONCAT(cep.parent_id
ORDER BY cep.sort_order ASC) as parent_ids
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_extra_parents cep ON (c.category_id = cep.category_id)
WHERE c.category_id = '65' AND cd.language_id = '1' AND c.status = '1' GROUP BY c.category_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/category.php:4
148 (0.406)
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 = '16' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1083
149 (0.329)
SELECT *
FROM oc_product_label pl
WHERE pl.status = 1
ORDER BY pl.sort_order ASC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/tool/product_label.php:75
150 (0.248)
SELECT manufacturer_id
FROM oc_product
WHERE product_id = '16'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/tool/product_label.php:81
151 (0.233)
SELECT *
FROM oc_product_to_category
WHERE product_id = '339'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
152 (0.459)
SELECT DISTINCT c.*, cd.*, GROUP_CONCAT(cep.parent_id
ORDER BY cep.sort_order ASC) as parent_ids
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_extra_parents cep ON (c.category_id = cep.category_id)
WHERE c.category_id = '65' AND cd.language_id = '1' AND c.status = '1' GROUP BY c.category_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/category.php:4
153 (0.414)
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 = '339' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1083
154 (0.531)
SELECT *
FROM oc_product_to_category
WHERE product_id = '18'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
155 (0.567)
SELECT DISTINCT c.*, cd.*, GROUP_CONCAT(cep.parent_id
ORDER BY cep.sort_order ASC) as parent_ids
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_extra_parents cep ON (c.category_id = cep.category_id)
WHERE c.category_id = '65' AND cd.language_id = '1' AND c.status = '1' GROUP BY c.category_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/category.php:4
156 (0.431)
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 = '18' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1083
157 (0.294)
SELECT *
FROM oc_product_to_category
WHERE product_id = '9'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
158 (0.430)
SELECT DISTINCT c.*, cd.*, GROUP_CONCAT(cep.parent_id
ORDER BY cep.sort_order ASC) as parent_ids
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_extra_parents cep ON (c.category_id = cep.category_id)
WHERE c.category_id = '65' AND cd.language_id = '1' AND c.status = '1' GROUP BY c.category_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/category.php:4
159 (0.418)
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 = '9' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1083
160 (0.261)
SELECT *
FROM oc_product_to_category
WHERE product_id = '338'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
161 (0.463)
SELECT DISTINCT c.*, cd.*, GROUP_CONCAT(cep.parent_id
ORDER BY cep.sort_order ASC) as parent_ids
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_extra_parents cep ON (c.category_id = cep.category_id)
WHERE c.category_id = '65' AND cd.language_id = '1' AND c.status = '1' GROUP BY c.category_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/category.php:4
162 (0.377)
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 = '338' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1083
163 (0.225)
SELECT manufacturer_id
FROM oc_product
WHERE product_id = '338'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/tool/product_label.php:81
164 (0.276)
SELECT manufacturer_id
FROM oc_product
WHERE product_id = '337'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/tool/product_label.php:81
165 (0.254)
SELECT product_id
FROM `oc_product_option_value`
WHERE o2p_ids = '337'
/var/www/elvijs.nomasveikals.lv/web/catalog/controller/product/product.php:1635
166 (2.191)
CREATE TABLE IF NOT EXISTS `oc_tabs` ( `tabs_id` int(11) NOT NULL AUTO_INCREMENT, `products` text NOT NULL, `categories` text NOT NULL, `manufactures` text NOT NULL, `vendors` text NOT NULL, `stock_statuses` text NOT NULL, `special_filter` tinyint(1) NOT NULL DEFAULT '0', `customer_groups` text NOT NULL, `customer_group_all` tinyint(1) NOT NULL DEFAULT '1', `include_subcategories` tinyint(1) NOT NULL DEFAULT '0', `ingore_products` text NOT NULL, `ignore_categories` text NOT NULL, `ignore_manufacturers` text NOT NULL, `ignore_vendors` text NOT NULL, `stores` text NOT NULL, `allproducts` tinyint(4) NOT NULL, `status` int(11) NOT NULL, `sort_order` int(11) NOT NULL, `date_added` datetime NOT NULL, PRIMARY KEY (`tabs_id`) ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3389
167 (1.415)
CREATE TABLE IF NOT EXISTS `oc_tabs_description` ( `tabs_id` int(11) NOT NULL, `language_id` int(11) NOT NULL, `title` varchar(255) NOT NULL, `description` text NOT NULL ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3412
168 (1.875)
CREATE TABLE IF NOT EXISTS `oc_blocks` ( `blocks_id` int(11) NOT NULL AUTO_INCREMENT, `products` text NOT NULL, `categories` text NOT NULL, `manufacturers` text NOT NULL, `vendors` text NOT NULL, `stock_statuses` text NOT NULL, `special_filter` tinyint(1) NOT NULL DEFAULT '0', `customer_groups` text NOT NULL, `customer_group_all` tinyint(1) NOT NULL DEFAULT '1', `include_subcategories` tinyint(1) NOT NULL DEFAULT '0', `ingore_products` text NOT NULL, `ignore_categories` text NOT NULL, `ignore_manufacturers` text NOT NULL, `ignore_vendors` text NOT NULL, `stores` text NOT NULL, `allproducts` tinyint(4) NOT NULL, `status` int(11) NOT NULL, `sort_order` int(11) NOT NULL, `date_added` datetime NOT NULL, PRIMARY KEY (`blocks_id`) ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3419
169 (1.409)
CREATE TABLE IF NOT EXISTS `oc_blocks_description` ( `blocks_id` int(11) NOT NULL, `language_id` int(11) NOT NULL, `title` varchar(255) NOT NULL, `description` text NOT NULL ) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3442
170 (0.333)
SELECT *
FROM oc_product_to_category
WHERE product_id = '337'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
171 (0.427)
SELECT *
FROM oc_tabs t
LEFT JOIN oc_tabs_description td ON (t.tabs_id = td.tabs_id)
WHERE t.status = 1 AND td.language_id = '1'
ORDER BY t.sort_order ASC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3190
172 (0.311)
SELECT *
FROM oc_product_to_category
WHERE product_id = '337'
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:1516
173 (0.529)
SELECT *
FROM oc_blocks t
LEFT JOIN oc_blocks_description td ON (t.blocks_id = td.blocks_id)
WHERE t.status = 1 AND td.language_id = '1'
ORDER BY t.sort_order ASC
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/product.php:3190
174 (0.451)
SELECT DISTINCT c.*, cd.*, GROUP_CONCAT(cep.parent_id
ORDER BY cep.sort_order ASC) as parent_ids
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_extra_parents cep ON (c.category_id = cep.category_id)
WHERE c.category_id = '65' AND cd.language_id = '1' AND c.status = '1' GROUP BY c.category_id
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/category.php:4
175 (0.357)
SELECT DISTINCT pd.quantity AS product_quantity
FROM `oc_product_discount` AS pd
WHERE pd.product_id = '337' AND pd.customer_group_id = '1' AND pd.quantity > '1' AND (pd.date_start = '0000-00-00' OR pd.date_start < NOW())
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1545
176 (0.703)
WITH RECURSIVE cat_anc AS (SELECT c.category_id AS desc_id, c.category_id AS anc_id, 0 AS depth
FROM `oc_category` c UNION ALL SELECT a.desc_id, c.parent_id AS anc_id, a.depth + 1
FROM cat_anc a
INNER JOIN `oc_category` c ON c.category_id = a.anc_id
WHERE c.parent_id != 0) SELECT DISTINCT cd.qty AS category_quantity
FROM `oc_product_to_category` AS ptc
INNER JOIN cat_anc ON (cat_anc.desc_id = ptc.category_id)
LEFT JOIN `oc_category_discount` AS cd ON (cd.category_id = cat_anc.anc_id AND (cat_anc.depth = 0 OR cd.affect = '1'))
WHERE ptc.product_id = '337' AND cd.status = '1' AND cd.customer_group_id = '1' AND cd.qty > '1' AND cd.qty IS NOT NULL AND (cd.date_start = '0000-00-00' OR cd.date_start <= NOW())
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1603
177 (0.463)
SELECT DISTINCT vnd.qty AS vendor_quantity
FROM `oc_vendor_discount` AS vnd
LEFT JOIN `oc_product` AS p ON (vnd.vendor = p.vendor)
WHERE p.product_id = '337' AND vnd.status = '1' AND vnd.customer_group_id = '1' AND vnd.qty > '1' AND (vnd.date_start = '0000-00-00' OR vnd.date_start <= CURDATE()) AND (vnd.date_end = '0000-00-00' OR vnd.date_end >= CURDATE())
/var/www/elvijs.nomasveikals.lv/web/catalog/model/catalog/discount.php:1636