Wert ανοξείδωτη αντλία βαρελιού

34,90 €
Με ΦΠΑ

ΑΝΤΛΙΑ

ΔΩΡΕΑΝ ΜΕΤΑΦΟΡΙΚΑ

Ποσότητα
Τελευταία προϊόντα σε απόθεμα

● Χειροκίνητη αντλία αυτόματης πλήρωσης σχεδιασμένη για διανομή και μεταφορά
   υγρών από κλασικά βαρέλια.
● Μπορεί να χρησιμοποιηθεί για καύσιμο ντίζελ, λάδια, καθαριστικά, αντιψυκτικά και πολλά άλλα
   μη διαβρωτικά υγρά.
● Τύπος αντλίας: Έμβολο
● Ρυθμός ροής: 20 l/min/διαδρομή
● Ακροφύσιο: Στόμιο
● Τοποθέτηση δεξαμενής: 2" NPT
● Suction Pipe: τηλεσκοπικός σωλήνας αναρρόφησης

 

Barrel Pump (20L/min)

● Hand operated self priming pump designed for dispensing and transferring
   fluids from standard drums.
● Can be used for diesel fuel, oils, cleaning agents, anti freeze and many other
   non corrosive fluids.
● Pump Type: Plunger
● Flow Rate: 20 l/min/stroke
● Nozzle: Spout
● Tank Fitting: 2" NPT
● Suction Pipe: telescoping suction pipe
   

Product Details

2903-W
3 αντικείμενα

Χαρακτηριστικά

Νέο
chat Σχόλια (0)
Δεν υπάρχουν κριτικές πελατών προς το παρόν.

Σχετικά Προϊόντα

Load Time 2227 ms
Querying Time 238 ms
Queries 912
Memory Peak Usage 80.1 Mb
Included Files 1328 files - 15.49 Mb
PrestaShop Cache - Mb
Global vars 0.28 Mb
PrestaShop Version 8.1.4
PHP Version 7.4.33
MySQL Version 5.7.44
Memory Limit 8G
Max Execution Time 10000s
Smarty Cache disabled
Smarty Compilation force compile
  Time Cumulated Time Memory Usage Memory Peak Usage
config 55.136 ms 55.136 ms 24.64 Mb 25.0 Mb
__construct 0.028 ms 55.164 ms - Mb 25.0 Mb
init 111.226 ms 166.390 ms 9.55 Mb 34.2 Mb
checkAccess 0.001 ms 166.391 ms - Mb 34.2 Mb
setMedia 20.599 ms 186.990 ms 0.93 Mb 35.3 Mb
postProcess 0.002 ms 186.992 ms - Mb 35.3 Mb
initHeader 0.002 ms 186.994 ms - Mb 35.3 Mb
initContent 880 ms 1067 ms 17.35 Mb 52.6 Mb
initFooter 0.003 ms 1067 ms - Mb 52.6 Mb
display 1160 ms 2227 ms 27.36 Mb 80.1 Mb
Hook Time Memory Usage
DorRelatedProduct 713.929 ms 9.49 Mb
DisplayHeader 698.205 ms 5.92 Mb
DorCompare 241.266 ms 0.33 Mb
DorHeaderSearch 208.061 ms 11.22 Mb
DisplayProductPriceBlock 77.792 ms 2.76 Mb
DorFlipImages 56.044 ms 0.56 Mb
DisplayFooterProduct 45.764 ms 3.34 Mb
DisplayBeforeBodyClosingTag 40.478 ms 0.42 Mb
Dorwishlist 27.086 ms 0.06 Mb
displayProductListReviews 25.405 ms 0.13 Mb
ActionFrontControllerSetMedia 10.824 ms 0.13 Mb
displayNav2 9.817 ms 0.17 Mb
Header 6.583 ms 0.13 Mb
DoradoFooter1 3.918 ms 0.05 Mb
DorMegamenu 3.316 ms 0.05 Mb
DorVideoProduct 3.241 ms 0.06 Mb
DorOrderTrackingTop 2.043 ms 0.01 Mb
Dorwishlistlink 2.000 ms 0.01 Mb
DisplayAfterBodyOpeningTag 1.997 ms 0.01 Mb
Dorwishlisttotal 1.909 ms 0.01 Mb
DorCompareTotal 1.884 ms 0.02 Mb
DoradoFooterAdv 1.859 ms 0.01 Mb
ActionDispatcherBefore 0.897 ms 0.09 Mb
DorCompareLink 0.895 ms 0.01 Mb
displayNav1 0.736 ms 0.08 Mb
DisplayAfterProductThumbs 0.337 ms 0.02 Mb
DorTabVideoProduct 0.312 ms 0.02 Mb
DisplayNav2 0.296 ms 0.02 Mb
DorTags 0.270 ms 0.02 Mb
DorProductTags 0.207 ms 0.02 Mb
TabDorProductTags 0.168 ms 0.02 Mb
ActionOutputHTMLBefore 0.042 ms - Mb
ModuleRoutes 0.032 ms 0.01 Mb
DorRelatedProductByBrand 0.007 ms - Mb
34 hook(s) 2188 ms 35.24 Mb
Module Time Memory Usage
smartblog 31.240 ms 3.64 Mb
customfields 4.576 ms 0.46 Mb
ets_cfultimate 144.257 ms 1.96 Mb
g_cartreminder 2.365 ms 0.37 Mb
psxdesign 11.131 ms 3.20 Mb
ps_mbo 6.848 ms 1.75 Mb
ps_emailalerts 5.645 ms 0.39 Mb
b2bmarkt 2.117 ms 0.22 Mb
ps_facebook 541.348 ms 4.08 Mb
dor_themeoptions 71.210 ms 2.22 Mb
dorgallery 1.727 ms 1.53 Mb
dor_imageslider 2.162 ms 0.37 Mb
dor_managerblocks 6.888 ms 0.24 Mb
dor_megamenu 5.214 ms 0.46 Mb
dor_ajaxtabproductcategory 2.785 ms 0.53 Mb
dor_ajaxtabsidebar_product 1.705 ms 0.29 Mb
dor_videoproducts 4.183 ms 0.14 Mb
dor_instagram 0.654 ms 0.07 Mb
dorcompare 245.008 ms 0.56 Mb
dorverticalmenu 2.568 ms 0.32 Mb
dor_sourcetabproductcategory 1.963 ms 0.36 Mb
dor_advanceproduct 4.164 ms 0.78 Mb
dor_viewedproducts 0.757 ms 0.09 Mb
ets_manufacturerslider 0.779 ms 0.17 Mb
ets_cookie_banner 2.357 ms 0.13 Mb
restrictpaymentmethods 0.615 ms 0.11 Mb
lggoogleanalytics 11.670 ms 0.49 Mb
phgoogletagmanager 32.503 ms 0.71 Mb
ps_accounts 0.705 ms 0.10 Mb
productcomments 73.076 ms 3.74 Mb
ps_shoppingcart 4.650 ms 0.12 Mb
dor_searchcategories 208.786 ms 11.30 Mb
dor_ordertracking 2.822 ms 0.09 Mb
dorblocktags 1.679 ms 0.16 Mb
dor_productsamecategory 715.380 ms 9.62 Mb
dorblockwishlist 33.550 ms 0.30 Mb
dor_dailydeals 2.097 ms 0.18 Mb
dor_bizproduct 2.044 ms 0.17 Mb
dor_testimonials 1.470 ms 0.21 Mb
smartbloghomelatestnews 0.921 ms 0.09 Mb
bestpriceanalytics 2.781 ms 0.07 Mb
productlabel 81.147 ms 3.07 Mb
freega4 2.658 ms 0.05 Mb
vivawalletsmartcheckout 6.962 ms 0.64 Mb
ps_languageselector 0.558 ms 0.13 Mb
ps_currencyselector 0.536 ms 0.07 Mb
ps_customersignin 5.844 ms 0.13 Mb
statsdata 39.017 ms 0.44 Mb
48 module(s) 2335 ms 56.34 Mb

Stopwatch SQL - 912 queries

# Query Time (ms) Rows Filesort Group By Location
903
INSERT INTO `ps_guest` (`id_operating_system`, `id_web_browser`, `id_customer`, `javascript`, `screen_resolution_x`, `screen_resolution_y`, `screen_color`, `sun_java`, `adobe_flash`, `adobe_director`, `apple_quicktime`, `real_player`, `windows_media`, `accept_language`, `mobile_theme`) VALUES ('0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'en', '0')
9.735 ms 1 /classes/ObjectModel.php:622
911
UPDATE `ps_page_viewed`
SET `counter` = `counter` + 1
WHERE `id_date_range` = 1354
AND `id_page` = 1786
AND `id_shop` = 1
6.552 ms 1 /classes/Page.php:131
907
INSERT INTO `ps_connections` (`id_guest`, `id_page`, `ip_address`, `http_referer`, `id_shop`, `id_shop_group`, `date_add`) VALUES ('4349074', '1786', '586128073', '', '1', '1', '2024-02-29 09:26:13')
6.443 ms 1 /classes/ObjectModel.php:622
908
INSERT IGNORE INTO `ps_connections_page` (`id_connections`, `id_page`, `time_start`) VALUES ('3636299', '1786', '2024-02-29 09:26:13')
6.413 ms 1 /classes/Connection.php:122
909
INSERT INTO `ps_connections_source` (`id_connections`, `http_referer`, `request_uri`, `keywords`, `date_add`) VALUES ('3636299', '', 'farmadeals.com/4094-wert-anoxeidoti-antlia-varelioy.html', '', '2024-02-29 09:26:13')
6.310 ms 1 /classes/ObjectModel.php:622
69
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `ps_module` m
LEFT JOIN `ps_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
3.704 ms 130 /classes/module/Module.php:345
16
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `ps_module` m
LEFT JOIN `ps_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
3.440 ms 130 /classes/module/Module.php:345
257
SELECT SQL_NO_CACHE c.`id_category`, cl.`name`, cl.`link_rewrite`, category_shop.`id_shop`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
WHERE `id_lang` = 2
AND c.`id_parent` = 263
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
2.892 ms 9 Yes Yes /classes/Category.php:1151
2
SELECT SQL_NO_CACHE c.`name`, cl.`id_lang`, IF(cl.`id_lang` IS NULL, c.`value`, cl.`value`) AS value, c.id_shop_group, c.id_shop
FROM `ps_configuration` c
LEFT JOIN `ps_configuration_lang` cl ON (c.`id_configuration` = cl.`id_configuration`)
2.098 ms 2354 /classes/Configuration.php:180
13
SELECT SQL_NO_CACHE h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module
FROM `ps_module` m
INNER JOIN ps_module_shop module_shop
ON (module_shop.id_module = m.id_module AND module_shop.id_shop = 1 AND module_shop.enable_device & 1)
INNER JOIN `ps_hook_module` `hm` ON hm.`id_module` = m.`id_module`
INNER JOIN `ps_hook` `h` ON hm.`id_hook` = h.`id_hook`
LEFT JOIN `ps_module_group` `mg` ON mg.`id_module` = m.`id_module`
WHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1) AND (mg.id_shop = 1 AND  mg.`id_group` IN (1))
GROUP BY hm.id_hook, hm.id_module
ORDER BY hm.`position`
1.658 ms 1950 Yes Yes /classes/Hook.php:1233
578
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 4094 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 4094)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
1.579 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
47
SELECT SQL_NO_CACHE h.id_hook, h.name as h_name, title, description, h.position, hm.position as hm_position, m.id_module, m.name, m.active
FROM `ps_hook_module` hm
STRAIGHT_JOIN `ps_hook` h ON (h.id_hook = hm.id_hook AND hm.id_shop = 1)
STRAIGHT_JOIN `ps_module` as m ON (m.id_module = hm.id_module)
ORDER BY hm.position
1.478 ms 660 /classes/Hook.php:456
46
SELECT SQL_NO_CACHE `id_hook`, `name`
FROM `ps_hook`
UNION
SELECT `id_hook`, ha.`alias` as name
FROM `ps_hook_alias` ha
INNER JOIN `ps_hook` h ON ha.name = h.name
1.318 ms 0 /classes/Hook.php:1292
800
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3694 AND i.type_item = "Product") OR
(i.id_item = 185 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3694)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
1.177 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
624
SELECT SQL_NO_CACHE 1 FROM `ps_specific_price` WHERE id_product = 3695 LIMIT 1
1.078 ms 1 /classes/SpecificPrice.php:435
857
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 4094 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 4094)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.945 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
792
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3693 AND i.type_item = "Product") OR
(i.id_item = 185 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3693)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.933 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
595
SELECT SQL_NO_CACHE p.*, product_shop.*, stock.out_of_stock, IFNULL(stock.quantity, 0) AS quantity, IFNULL(product_attribute_shop.id_product_attribute, 0) AS id_product_attribute,
product_attribute_shop.minimal_quantity AS product_attribute_minimal_quantity, pl.`description`, pl.`description_short`, pl.`available_now`,
pl.`available_later`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, image_shop.`id_image` id_image,
il.`legend` as legend, m.`name` AS manufacturer_name, cl.`name` AS category_default,
DATEDIFF(product_shop.`date_add`, DATE_SUB("2024-02-29 00:00:00",
INTERVAL 30 DAY)) > 0 AS new, product_shop.price AS orderprice
FROM `ps_category_product` cp
LEFT JOIN `ps_product` p
ON p.`id_product` = cp.`id_product`
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1) LEFT JOIN `ps_product_attribute_shop` product_attribute_shop
ON (p.`id_product` = product_attribute_shop.`id_product` AND product_attribute_shop.`default_on` = 1 AND product_attribute_shop.id_shop=1)
LEFT JOIN ps_stock_available stock
ON (stock.id_product = `p`.id_product AND stock.id_product_attribute = 0 AND stock.id_shop = 1  AND stock.id_shop_group = 0  )
LEFT JOIN `ps_category_lang` cl
ON (product_shop.`id_category_default` = cl.`id_category`
AND cl.`id_lang` = 2 AND cl.id_shop = 1 )
LEFT JOIN `ps_product_lang` pl
ON (p.`id_product` = pl.`id_product`
AND pl.`id_lang` = 2 AND pl.id_shop = 1 )
LEFT JOIN `ps_image_shop` image_shop
ON (image_shop.`id_product` = p.`id_product` AND image_shop.cover=1 AND image_shop.id_shop=1)
LEFT JOIN `ps_image_lang` il
ON (image_shop.`id_image` = il.`id_image`
AND il.`id_lang` = 2)
LEFT JOIN `ps_manufacturer` m
ON m.`id_manufacturer` = p.`id_manufacturer`
WHERE product_shop.`id_shop` = 1
AND cp.`id_category` = 376 AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog") ORDER BY cp.`position` ASC
LIMIT 0,30
0.924 ms 14 /classes/Category.php:1062
81
SELECT SQL_NO_CACHE p.*, product_shop.*, stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity, pl.`description`, pl.`description_short`, pl.`link_rewrite`,
pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, pl.`available_now`, pl.`available_later`,
image_shop.`id_image` id_image, il.`legend`, m.`name` as manufacturer_name, cl.`name` AS category_default, IFNULL(product_attribute_shop.id_product_attribute, 0) id_product_attribute,
DATEDIFF(
p.`date_add`,
DATE_SUB(
"2024-02-29 00:00:00",
INTERVAL 30 DAY
)
) > 0 AS new
FROM `ps_accessory`
LEFT JOIN `ps_product` p ON p.`id_product` = `id_product_2`
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `ps_product_attribute_shop` product_attribute_shop
ON (p.`id_product` = product_attribute_shop.`id_product` AND product_attribute_shop.`default_on` = 1 AND product_attribute_shop.id_shop=1)
LEFT JOIN `ps_product_lang` pl ON (
p.`id_product` = pl.`id_product`
AND pl.`id_lang` = 2 AND pl.id_shop = 1 
)
LEFT JOIN `ps_category_lang` cl ON (
product_shop.`id_category_default` = cl.`id_category`
AND cl.`id_lang` = 2 AND cl.id_shop = 1 
)
LEFT JOIN `ps_image_shop` image_shop
ON (image_shop.`id_product` = p.`id_product` AND image_shop.cover=1 AND image_shop.id_shop=1)
LEFT JOIN `ps_image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = 2)
LEFT JOIN `ps_manufacturer` m ON (p.`id_manufacturer`= m.`id_manufacturer`)
LEFT JOIN ps_stock_available stock
ON (stock.id_product = `p`.id_product AND stock.id_product_attribute = 0 AND stock.id_shop = 1  AND stock.id_shop_group = 0  )
WHERE `id_product_1` = 4094 AND product_shop.`active` = 1 AND product_shop.`visibility` != 'none'
GROUP BY product_shop.id_product
0.831 ms 1 Yes Yes /classes/Product.php:4685
455
SELECT SQL_NO_CACHE c.`id_category`, cl.`name`, cl.`link_rewrite`, category_shop.`id_shop`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
WHERE `id_lang` = 2
AND c.`id_parent` = 224
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.747 ms 13 Yes Yes /classes/Category.php:1151
92
SELECT SQL_NO_CACHE ag.`id_attribute_group`, ag.`is_color_group`, agl.`name` AS group_name, agl.`public_name` AS public_group_name,
a.`id_attribute`, al.`name` AS attribute_name, a.`color` AS attribute_color, product_attribute_shop.`id_product_attribute`,
IFNULL(stock.quantity, 0) as quantity, product_attribute_shop.`price`, product_attribute_shop.`ecotax`, product_attribute_shop.`weight`,
product_attribute_shop.`default_on`, pa.`reference`, pa.`ean13`, pa.`mpn`, pa.`upc`, pa.`isbn`, product_attribute_shop.`unit_price_impact`,
product_attribute_shop.`minimal_quantity`, product_attribute_shop.`available_date`, ag.`group_type`,
pal.`available_now`, pal.`available_later`
FROM `ps_product_attribute` pa
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
LEFT JOIN ps_stock_available stock
ON (stock.id_product = `pa`.id_product AND stock.id_product_attribute = IFNULL(`pa`.id_product_attribute, 0) AND stock.id_shop = 1  AND stock.id_shop_group = 0  )
LEFT JOIN `ps_product_attribute_lang` pal
ON (
pa.`id_product_attribute` = pal.`id_product_attribute` AND
pal.`id_lang` = 2)
LEFT JOIN `ps_product_attribute_combination` pac ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
LEFT JOIN `ps_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
LEFT JOIN `ps_attribute_group` ag ON (ag.`id_attribute_group` = a.`id_attribute_group`)
LEFT JOIN `ps_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute`)
LEFT JOIN `ps_attribute_group_lang` agl ON (ag.`id_attribute_group` = agl.`id_attribute_group`)
INNER JOIN ps_attribute_shop attribute_shop
ON (attribute_shop.id_attribute = a.id_attribute AND attribute_shop.id_shop = 1)
WHERE pa.`id_product` = 4094
AND al.`id_lang` = 2
AND agl.`id_lang` = 2
GROUP BY id_attribute_group, id_product_attribute
ORDER BY ag.`position` ASC, a.`position` ASC, agl.`name` ASC
0.704 ms 1 Yes Yes /classes/Product.php:4581
796
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.661 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
840
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3762 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3762)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.660 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
71
SELECT SQL_NO_CACHE id_shop
FROM `ps_category_shop`
WHERE `id_category` = 376
AND id_shop = 1 LIMIT 1
0.643 ms 1 /classes/ObjectModel.php:1729
848
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3867 AND i.type_item = "Product") OR
(i.id_item = 185 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3867)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.639 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
910
SELECT SQL_NO_CACHE `id_date_range`, `time_end`
FROM `ps_date_range`
WHERE `time_end` = (SELECT MAX(`time_end`) FROM `ps_date_range`) LIMIT 1
0.637 ms 1716100 /classes/DateRange.php:60
832
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3720 AND i.type_item = "Product") OR
(i.id_item = 185 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3720)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.628 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
806
SELECT SQL_NO_CACHE pa.`id_product`, a.`color`, pac.`id_product_attribute`, 0 qty, a.`id_attribute`, al.`name`, IF(color = "", a.id_attribute, color) group_by
FROM `ps_product_attribute` pa
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
JOIN `ps_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `ps_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `ps_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 2)
JOIN `ps_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (3694) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.600 ms 1 Yes Yes /classes/Product.php:4507
15
SELECT SQL_NO_CACHE `id_hook`, `name` FROM `ps_hook`
0.594 ms 921 /classes/Hook.php:1292
12
SELECT SQL_NO_CACHE lower(name) as name
FROM `ps_hook` h
WHERE (h.active = 1)
0.594 ms 921 /classes/Hook.php:1332
18
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `ps_module` m
LEFT JOIN `ps_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
0.586 ms 130 /classes/module/Module.php:345
804
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.570 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
794
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 2
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.569 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
808
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3695 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3695)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.568 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
888
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 4265 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 4265)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.559 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
824
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3697 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3697)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.558 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
581
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.550 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
864
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 4218 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 4218)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.549 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
872
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3665 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3665)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.541 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
816
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3696 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3696)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.534 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
749
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3693)
0.530 ms 1 /classes/ProductAssembler.php:64
860
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.525 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
896
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3708 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3708)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.524 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
579
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 2
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.521 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
752
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3694)
0.515 ms 1 /classes/ProductAssembler.php:64
797
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color
FROM ps_productlabel as p
LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 5
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.515 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
767
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3762)
0.512 ms 1 /classes/ProductAssembler.php:64
776
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (4218)
0.503 ms 1 /classes/ProductAssembler.php:64
785
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (4265)
0.500 ms 1 /classes/ProductAssembler.php:64
779
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3665)
0.493 ms 1 /classes/ProductAssembler.php:64
761
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3697)
0.491 ms 1 /classes/ProductAssembler.php:64
802
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 2
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.490 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
537
SELECT SQL_NO_CACHE c.`id_category`, cl.`name`, cl.`link_rewrite`, category_shop.`id_shop`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
WHERE `id_lang` = 2
AND c.`id_parent` = 212
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.490 ms 1 Yes Yes /classes/Category.php:1151
880
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3859 AND i.type_item = "Product") OR
(i.id_item = 376 AND i.type_item = "Category") OR
(i.type_item = "Category" AND i.id_item = (SELECT DISTINCT(cp.id_category) FROM ps_category_product as cp
WHERE cp.id_category = i.id_item AND cp.id_product = 3859)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.490 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
755
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3695)
0.489 ms 1 /classes/ProductAssembler.php:64
902
SELECT SQL_NO_CACHE pa.`id_product`, a.`color`, pac.`id_product_attribute`, 0 qty, a.`id_attribute`, al.`name`, IF(color = "", a.id_attribute, color) group_by
FROM `ps_product_attribute` pa
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
JOIN `ps_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `ps_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `ps_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 2)
JOIN `ps_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (3708) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.486 ms 1 Yes Yes /classes/Product.php:4507
509
SELECT SQL_NO_CACHE c.`id_category`, cl.`name`, cl.`link_rewrite`, category_shop.`id_shop`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
WHERE `id_lang` = 2
AND c.`id_parent` = 199
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.480 ms 1 Yes Yes /classes/Category.php:1151
626
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 9, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price`
WHERE
`id_shop` IN (0, 1) AND
`id_currency` IN (0, 1) AND
`id_country` IN (0, 9) AND
`id_group` IN (0, 1) AND `id_product` = 3695 AND `id_customer` = 0 AND `id_product_attribute` = 0 AND `id_cart` = 0  AND (`from` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' >= `from`) AND (`to` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' <= `to`)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `id_cart` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.477 ms 1 Yes /classes/SpecificPrice.php:576
773
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (4094)
0.473 ms 1 /classes/ProductAssembler.php:64
121
SELECT SQL_NO_CACHE c.id_category, cl.name, c.id_parent
FROM `ps_category` c
LEFT JOIN `ps_category_lang` `cl` ON cl.id_category = c.id_category AND cl.id_shop = 1
WHERE (cl.id_lang = 2)
ORDER BY cl.id_category
0.469 ms 300 /modules/ps_facebook/classes/Repository/GoogleCategoryRepository.php:309
770
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3867)
0.465 ms 1 /classes/ProductAssembler.php:64
764
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3720)
0.465 ms 1 /classes/ProductAssembler.php:64
788
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3708)
0.460 ms 1 /classes/ProductAssembler.php:64
650
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 9, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price`
WHERE
`id_shop` IN (0, 1) AND
`id_currency` IN (0, 1) AND
`id_country` IN (0, 9) AND
`id_group` IN (0, 1) AND `id_product` = 3697 AND `id_customer` = 0 AND `id_product_attribute` = 0 AND `id_cart` = 0  AND (`from` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' >= `from`) AND (`to` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' <= `to`)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `id_cart` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.460 ms 1 Yes /classes/SpecificPrice.php:576
858
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 2
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.460 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
782
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3859)
0.458 ms 1 /classes/ProductAssembler.php:64
638
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 9, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price`
WHERE
`id_shop` IN (0, 1) AND
`id_currency` IN (0, 1) AND
`id_country` IN (0, 9) AND
`id_group` IN (0, 1) AND `id_product` = 3696 AND `id_customer` = 0 AND `id_product_attribute` = 0 AND `id_cart` = 0  AND (`from` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' >= `from`) AND (`to` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' <= `to`)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `id_cart` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.455 ms 1 Yes /classes/SpecificPrice.php:576
758
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (3696)
0.453 ms 1 /classes/ProductAssembler.php:64
801
SELECT SQL_NO_CACHE p.id_product_label, p.priority, p.id_shop, p.id_type,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 1
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.444 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:675
80
SELECT SQL_NO_CACHE DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group`,pa.`reference`, pa.`ean13`, pa.`isbn`, pa.`upc`, pa.`mpn`
FROM `ps_attribute` a
LEFT JOIN `ps_attribute_lang` al
ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 2)
LEFT JOIN `ps_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 2)
LEFT JOIN `ps_product_attribute_combination` pac
ON (a.`id_attribute` = pac.`id_attribute`)
LEFT JOIN `ps_product_attribute` pa
ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
INNER JOIN ps_attribute_shop attribute_shop
ON (attribute_shop.id_attribute = pac.id_attribute AND attribute_shop.id_shop = 1)
WHERE pa.`id_product` = 4094
0.442 ms 1 /classes/Product.php:7544
23
SELECT SQL_NO_CACHE m.page, ml.url_rewrite, ml.id_lang
FROM `ps_meta` m
LEFT JOIN `ps_meta_lang` ml ON (m.id_meta = ml.id_meta AND ml.id_shop = 1 )
ORDER BY LENGTH(ml.url_rewrite) DESC
0.442 ms 154 Yes /classes/Dispatcher.php:654
793
SELECT SQL_NO_CACHE p.id_product_label, p.priority, p.id_shop, p.id_type,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 1
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.435 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:675
91
SELECT SQL_NO_CACHE *
FROM `ps_manufacturer` a
LEFT JOIN `ps_manufacturer_lang` `b` ON a.`id_manufacturer` = b.`id_manufacturer` AND b.`id_lang` = 2
LEFT JOIN `ps_manufacturer_shop` `c` ON a.`id_manufacturer` = c.`id_manufacturer` AND c.`id_shop` = 1
WHERE (a.`id_manufacturer` = 167) LIMIT 1
0.430 ms 1 /src/Adapter/EntityMapper.php:71
21
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `ps_module` m
LEFT JOIN `ps_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
0.429 ms 130 /classes/module/Module.php:345
25
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `ps_module` m
LEFT JOIN `ps_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
0.427 ms 130 /classes/module/Module.php:345
292
SELECT SQL_NO_CACHE *
FROM `ps_category` a
LEFT JOIN `ps_category_lang` `b` ON a.`id_category` = b.`id_category` AND b.`id_lang` = 2
LEFT JOIN `ps_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 418) AND (b.`id_shop` = 1) LIMIT 1
0.427 ms 1 /src/Adapter/EntityMapper.php:71
582
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color
FROM ps_productlabel as p
LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 5
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.420 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
291
SELECT SQL_NO_CACHE c.`id_category`, cl.`name`, cl.`link_rewrite`, category_shop.`id_shop`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
WHERE `id_lang` = 2
AND c.`id_parent` = 411
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.418 ms 1 Yes Yes /classes/Category.php:1151
483
SELECT SQL_NO_CACHE c.`id_category`, cl.`name`, cl.`link_rewrite`, category_shop.`id_shop`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
WHERE `id_lang` = 2
AND c.`id_parent` = 227
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.409 ms 10 Yes Yes /classes/Category.php:1151
805
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color
FROM ps_productlabel as p
LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 5
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.406 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
84
SELECT SQL_NO_CACHE COALESCE(SUM(first_level_quantity) + SUM(pack_quantity), 0) as deep_quantity,
COALESCE(SUM(first_level_quantity), 0) as quantity
FROM (SELECT cp.`quantity` as first_level_quantity, 0 as pack_quantity
FROM `ps_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 4094 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `ps_cart_product` cp JOIN `ps_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `ps_product` pr ON p.`id_product_pack` = pr.`id_product`
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND p.`id_product_item` = 4094 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
0.406 ms 0 /classes/Cart.php:1410
756
SELECT SQL_NO_CACHE image_shop.`cover`, i.`id_image`, il.`legend`, i.`position`
FROM `ps_image` i
INNER JOIN ps_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1)
LEFT JOIN `ps_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 2)
WHERE i.`id_product` = 3695
ORDER BY `position`
0.402 ms 3 Yes /classes/Product.php:3545
798
SELECT SQL_NO_CACHE pa.`id_product`, a.`color`, pac.`id_product_attribute`, 0 qty, a.`id_attribute`, al.`name`, IF(color = "", a.id_attribute, color) group_by
FROM `ps_product_attribute` pa
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
JOIN `ps_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `ps_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `ps_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 2)
JOIN `ps_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (3693) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.401 ms 1 Yes Yes /classes/Product.php:4507
655
SELECT SQL_NO_CACHE COALESCE(SUM(first_level_quantity) + SUM(pack_quantity), 0) as deep_quantity,
COALESCE(SUM(first_level_quantity), 0) as quantity
FROM (SELECT cp.`quantity` as first_level_quantity, 0 as pack_quantity
FROM `ps_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 3697 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `ps_cart_product` cp JOIN `ps_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `ps_product` pr ON p.`id_product_pack` = pr.`id_product`
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND p.`id_product_item` = 3697 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
0.392 ms 0 /classes/Cart.php:1410
843
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.384 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
812
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.384 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
828
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.373 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
295
SELECT SQL_NO_CACHE c.`id_category`, cl.`name`, cl.`link_rewrite`, category_shop.`id_shop`
FROM `ps_category` c
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.id_shop = 1 )
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
WHERE `id_lang` = 2
AND c.`id_parent` = 425
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.370 ms 1 Yes Yes /classes/Category.php:1151
643
SELECT SQL_NO_CACHE COALESCE(SUM(first_level_quantity) + SUM(pack_quantity), 0) as deep_quantity,
COALESCE(SUM(first_level_quantity), 0) as quantity
FROM (SELECT cp.`quantity` as first_level_quantity, 0 as pack_quantity
FROM `ps_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 3696 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `ps_cart_product` cp JOIN `ps_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `ps_product` pr ON p.`id_product_pack` = pr.`id_product`
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND p.`id_product_item` = 3696 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
0.370 ms 0 /classes/Cart.php:1410
868
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.369 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
820
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, GROUP_CONCAT(CONCAT(a.attribute, ",", a.attribute_value) separator ";") as attr, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 3
AND p.status = 1
AND p.id_shop = 1
GROUP BY p.id_product_label
ORDER BY p.priority ASC, p.id_product_label DESC LIMIT 1
0.369 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908