Σύγκρινε τα προϊόντα

  • Δεν προστέθηκαν προϊόντα για σύγκριση

ΜΗΧΑΝΗΜΑΤΑ - ΕΡΓΑΛΕΙΑ

Ενεργά φίλτρα

Troy φορητό πιστόλι βαφής 800W

Κανονική τιμή 82,50 € -5% Τιμή 78,38 €

ΠΙΣΤΟΛΙ ΒΑΦΗΣ

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

Load Time 2481 ms
Querying Time 413 ms
Queries 1154
Memory Peak Usage 81.9 Mb
Included Files 1353 files - 15.65 Mb
PrestaShop Cache - Mb
Global vars 0.24 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 39.435 ms 39.435 ms 24.57 Mb 24.9 Mb
__construct 0.041 ms 39.476 ms - Mb 24.9 Mb
init 101.772 ms 141.248 ms 7.38 Mb 32.9 Mb
checkAccess 0.001 ms 141.249 ms - Mb 32.9 Mb
setMedia 5.672 ms 146.921 ms 0.93 Mb 33.1 Mb
postProcess 0.002 ms 146.923 ms - Mb 33.1 Mb
initHeader 0.001 ms 146.924 ms - Mb 33.1 Mb
initContent 1136 ms 1283 ms 25.29 Mb 58.2 Mb
initFooter 0.002 ms 1283 ms - Mb 58.2 Mb
display 1199 ms 2481 ms 23.53 Mb 81.9 Mb
Hook Time Memory Usage
DisplayHeader 956 ms 10.40 Mb
DorHeaderSearch 544.069 ms 11.79 Mb
DisplayBeforeBodyClosingTag 185.413 ms 0.44 Mb
DorFlipImages 144.028 ms 0.62 Mb
displayProductListReviews 50.678 ms 3.11 Mb
DisplayProductPriceBlock 35.869 ms 2.67 Mb
Dorwishlist 29.032 ms 0.05 Mb
DorCompare 18.630 ms 0.28 Mb
displayNav2 9.965 ms 0.19 Mb
displayLeftColumn 5.564 ms 0.23 Mb
DoradoFooter1 3.891 ms 0.05 Mb
Header 3.484 ms 0.12 Mb
DorMegamenu 3.381 ms 0.05 Mb
LeftColumn 2.156 ms 0.04 Mb
DisplayAfterBodyOpeningTag 1.995 ms 0.01 Mb
Dorwishlistlink 1.966 ms 0.02 Mb
DorCompareLink 1.958 ms 0.01 Mb
DorOrderTrackingTop 1.943 ms 0.01 Mb
Dorwishlisttotal 1.937 ms 0.02 Mb
DorCompareTotal 1.898 ms 0.02 Mb
DoradoFooterAdv 1.881 ms 0.01 Mb
DisplayLeftColumn 1.842 ms 0.02 Mb
ActionDispatcherBefore 1.445 ms 0.09 Mb
ProductSearchProvider 1.280 ms 0.22 Mb
ActionFrontControllerSetMedia 1.000 ms 0.13 Mb
displayNav1 0.595 ms 0.09 Mb
DisplayLeftColumnProduct 0.269 ms 0.02 Mb
DisplayNav2 0.246 ms 0.02 Mb
ActionOutputHTMLBefore 0.046 ms - Mb
ModuleRoutes 0.030 ms 0.01 Mb
30 hook(s) 2012 ms 30.78 Mb
Module Time Memory Usage
smartblog 15.285 ms 3.64 Mb
customfields 3.225 ms 0.46 Mb
ets_cfultimate 13.696 ms 1.95 Mb
g_cartreminder 2.514 ms 0.37 Mb
psxdesign 11.287 ms 3.20 Mb
ps_mbo 8.379 ms 1.75 Mb
ps_emailalerts 2.083 ms 0.33 Mb
b2bmarkt 1.198 ms 0.22 Mb
ps_facebook 699.960 ms 4.69 Mb
dor_themeoptions 159.245 ms 2.27 Mb
dorgallery 1.113 ms 0.21 Mb
dor_imageslider 2.176 ms 0.43 Mb
dor_managerblocks 6.753 ms 0.24 Mb
dor_megamenu 5.343 ms 0.40 Mb
dor_ajaxtabproductcategory 2.930 ms 0.59 Mb
dor_ajaxtabsidebar_product 1.855 ms 0.29 Mb
dor_videoproducts 0.316 ms 0.05 Mb
dor_instagram 0.426 ms 0.07 Mb
dorcompare 25.252 ms 0.48 Mb
dorverticalmenu 1.990 ms 0.39 Mb
dor_sourcetabproductcategory 2.111 ms 0.36 Mb
dor_advanceproduct 4.826 ms 2.03 Mb
dor_viewedproducts 0.548 ms 0.09 Mb
ets_manufacturerslider 0.723 ms 0.11 Mb
ets_cookie_banner 2.554 ms 0.13 Mb
restrictpaymentmethods 0.653 ms 0.17 Mb
lggoogleanalytics 194.391 ms 3.80 Mb
phgoogletagmanager 50.831 ms 1.36 Mb
ps_accounts 0.633 ms 0.10 Mb
productcomments 51.849 ms 3.38 Mb
ps_shoppingcart 4.441 ms 0.13 Mb
dor_searchcategories 544.458 ms 11.87 Mb
dor_ordertracking 2.361 ms 0.10 Mb
dorblocktags 0.541 ms 0.11 Mb
dor_productsamecategory 0.671 ms 0.12 Mb
dorblockwishlist 34.369 ms 0.29 Mb
dor_dailydeals 1.080 ms 0.18 Mb
dor_bizproduct 1.014 ms 0.17 Mb
dor_testimonials 0.825 ms 0.21 Mb
smartbloghomelatestnews 0.516 ms 0.09 Mb
bestpriceanalytics 1.702 ms 0.06 Mb
productlabel 37.589 ms 2.98 Mb
freega4 1.261 ms 0.05 Mb
vivawalletsmartcheckout 3.352 ms 0.64 Mb
ps_facetedsearch 5.253 ms 0.60 Mb
ps_languageselector 0.478 ms 0.13 Mb
ps_currencyselector 0.471 ms 0.07 Mb
ps_customersignin 5.979 ms 0.14 Mb
ps_categorytree 6.008 ms 0.30 Mb
smartblogsearch 0.172 ms 0.02 Mb
smartblogcategories 0.237 ms 0.03 Mb
smartblogpopularposts 0.461 ms 0.05 Mb
smartblogtag 0.338 ms 0.05 Mb
statsdata 183.793 ms 0.46 Mb
54 module(s) 2112 ms 52.45 Mb

Stopwatch SQL - 1154 queries

# Query Time (ms) Rows Filesort Group By Location
346
SELECT SQL_NO_CACHE p.id_product FROM (SELECT p.id_product, p.id_manufacturer, SUM(sa.quantity) as quantity, p.condition, p.weight, p.price, psales.quantity as sales, p.on_sale, p.date_add, cp.position FROM ps_product p LEFT JOIN ps_product_attribute pa ON (p.id_product = pa.id_product) LEFT JOIN ps_product_attribute_combination pac ON (pa.id_product_attribute = pac.id_product_attribute) LEFT JOIN ps_stock_available sa ON (p.id_product = sa.id_product AND IFNULL(pac.id_product_attribute, 0) = sa.id_product_attribute AND sa.id_shop = 1  AND sa.id_shop_group = 0 ) LEFT JOIN ps_product_sale psales ON (psales.id_product = p.id_product) INNER JOIN ps_category_product cp ON (p.id_product = cp.id_product) INNER JOIN ps_product_shop ps ON (p.id_product = ps.id_product AND ps.id_shop = 1 AND ps.active = TRUE) INNER JOIN ps_category c ON (cp.id_category = c.id_category AND c.active=1) LEFT JOIN ps_category_group cg ON (cg.id_category = c.id_category) WHERE ps.id_shop='1' AND ps.visibility IN ('both', 'catalog') AND cg.id_group='1' AND c.nleft>=309 AND c.nright<=454 GROUP BY p.id_product) p INNER JOIN ps_category_product cp ON (p.id_product = cp.id_product) GROUP BY p.id_product ORDER BY p.position ASC, p.id_product DESC LIMIT 0, 12
31.026 ms 85464 Yes /modules/ps_facetedsearch/src/Adapter/MySQL.php:86
340
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` = 185 AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog") ORDER BY cp.`position` ASC
LIMIT 0,12
30.093 ms 2374 Yes /classes/Category.php:1062
347
SELECT SQL_NO_CACHE COUNT(DISTINCT p.id_product) c FROM (SELECT p.id_product, p.id_manufacturer, SUM(sa.quantity) as quantity, p.condition, p.weight, p.price, psales.quantity as sales, p.on_sale, p.date_add, cp.position FROM ps_product p LEFT JOIN ps_product_attribute pa ON (p.id_product = pa.id_product) LEFT JOIN ps_product_attribute_combination pac ON (pa.id_product_attribute = pac.id_product_attribute) LEFT JOIN ps_stock_available sa ON (p.id_product = sa.id_product AND IFNULL(pac.id_product_attribute, 0) = sa.id_product_attribute AND sa.id_shop = 1  AND sa.id_shop_group = 0 ) LEFT JOIN ps_product_sale psales ON (psales.id_product = p.id_product) INNER JOIN ps_category_product cp ON (p.id_product = cp.id_product) INNER JOIN ps_product_shop ps ON (p.id_product = ps.id_product AND ps.id_shop = 1 AND ps.active = TRUE) INNER JOIN ps_category c ON (cp.id_category = c.id_category AND c.active=1) LEFT JOIN ps_category_group cg ON (cg.id_category = c.id_category) WHERE ps.id_shop='1' AND ps.visibility IN ('both', 'catalog') AND cg.id_group='1' AND c.nleft>=309 AND c.nright<=454 GROUP BY p.id_product) p
29.110 ms 28488 /modules/ps_facetedsearch/src/Adapter/MySQL.php:86
1145
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')
24.781 ms 1 /classes/ObjectModel.php:622
79
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` = 185 AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog") ORDER BY cp.`position` ASC
LIMIT 0,12
18.068 ms 2374 Yes /classes/Category.php:1062
1150
INSERT IGNORE INTO `ps_connections_page` (`id_connections`, `id_page`, `time_start`) VALUES ('3636338', '24', '2024-02-29 09:29:21')
17.882 ms 1 /classes/Connection.php:122
277
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` = 185 AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog") ORDER BY cp.`position` ASC
LIMIT 0,12
16.250 ms 2374 Yes /classes/Category.php:1062
1149
INSERT INTO `ps_connections` (`id_guest`, `id_page`, `ip_address`, `http_referer`, `id_shop`, `id_shop_group`, `date_add`) VALUES ('4349113', '24', '586128073', '', '1', '1', '2024-02-29 09:29:21')
14.466 ms 1 /classes/ObjectModel.php:622
1151
INSERT INTO `ps_connections_source` (`id_connections`, `http_referer`, `request_uri`, `keywords`, `date_add`) VALUES ('3636338', '', 'farmadeals.com/185-michanimata-ergaleia', '', '2024-02-29 09:29:21')
11.841 ms 1 /classes/ObjectModel.php:622
1153
UPDATE `ps_page_viewed`
SET `counter` = `counter` + 1
WHERE `id_date_range` = 1354
AND `id_page` = 24
AND `id_shop` = 1
11.096 ms 1 /classes/Page.php:131
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.399 ms 2354 /classes/Configuration.php:180
88
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.940 ms 0 /classes/Hook.php:1292
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.792 ms 1965 Yes Yes /classes/Hook.php:1233
1152
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
1.564 ms 1716100 /classes/DateRange.php:60
89
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.331 ms 660 /classes/Hook.php:456
1032
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 = 3258 AND i.type_item = "Product") OR
(i.id_item = 262 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 = 3258)))
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.020 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
1041
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 = 2533 AND i.type_item = "Product") OR
(i.id_item = 245 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 = 2533)))
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.932 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
1017
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 = 3692 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 3692)))
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.928 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
1013
SELECT SQL_NO_CACHE c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite
FROM `ps_category` c
INNER JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_lang` = 2 AND cl.id_shop = 1 )
INNER JOIN `ps_category_shop` cs ON (cs.`id_category` = c.`id_category` AND cs.`id_shop` = 1)
WHERE (c.`active` = 1 OR c.`id_category` = 2)
AND c.`id_category` != 1
AND `level_depth` <= 6
AND nleft >= 309 AND nright <= 454
AND c.id_category IN (
SELECT id_category
FROM `ps_category_group`
WHERE `id_group` IN (1)
)
ORDER BY `level_depth` ASC, cs.`position` ASC
0.865 ms 227 Yes /modules/ps_categorytree/ps_categorytree.php:166
1092
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.797 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:675
45
SELECT SQL_NO_CACHE c.*, cl.`id_lang`, cl.`name`, cl.`description`, cl.`additional_description`, cl.`link_rewrite`, cl.`meta_title`, cl.`meta_keywords`, cl.`meta_description`
FROM `ps_category` c
INNER JOIN ps_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 2  AND cl.id_shop = 1 )
LEFT JOIN `ps_category_group` cg ON (cg.`id_category` = c.`id_category`)
WHERE `id_parent` = 185
AND `active` = 1
AND cg.`id_group` =1
GROUP BY c.`id_category`
ORDER BY `level_depth` ASC, category_shop.`position` ASC
0.690 ms 13 Yes Yes /classes/Category.php:924
1080
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 = 2031 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 2031)))
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.671 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
349
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 (3692,3277,3258,2533,2390,2145,2031,1419,1417,1415,1413,1411)
0.649 ms 12 /classes/ProductAssembler.php:95
12
SELECT SQL_NO_CACHE lower(name) as name
FROM `ps_hook` h
WHERE (h.active = 1)
0.643 ms 921 /classes/Hook.php:1332
1126
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 = 1413 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 1413)))
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.640 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
1091
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 = 1419 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 1419)))
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.638 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
15
SELECT SQL_NO_CACHE `id_hook`, `name` FROM `ps_hook`
0.632 ms 921 /classes/Hook.php:1292
1036
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.628 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
130
SELECT SQL_NO_CACHE a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group`,
pa.`reference`, pa.`ean13`, pa.`isbn`, pa.`upc`, pa.`mpn`,
pal.`available_now`, pal.`available_later`
FROM `ps_attribute` a
LEFT JOIN `ps_attribute_lang` al
ON (al.`id_attribute` = a.`id_attribute` AND al.`id_lang` = 2)
LEFT JOIN `ps_product_attribute_combination` pac
ON (pac.`id_attribute` = a.`id_attribute`)
LEFT JOIN `ps_product_attribute` pa
ON (pa.`id_product_attribute` = pac.`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)
LEFT JOIN `ps_product_attribute_lang` pal
ON (pal.`id_product_attribute` = pac.`id_product_attribute` AND pal.`id_lang` = 2)
LEFT JOIN `ps_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 2)
WHERE pa.`id_product` = 646
AND pac.`id_product_attribute` = 231
AND agl.`id_lang` = 2
0.623 ms 1 /classes/Product.php:7515
1042
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.587 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
1068
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 = 2145 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 2145)))
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.566 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
1034
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.563 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
29
SELECT SQL_NO_CACHE `active`
FROM `ps_module`
WHERE `name` = "ps_mbo" LIMIT 1
0.562 ms 1 /modules/ps_mbo/ps_mbo.php:316
1138
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 = 1411 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 1411)))
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.560 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
1115
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 = 1415 AND i.type_item = "Product") OR
(i.id_item = 245 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 = 1415)))
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.555 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
1048
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 = 2390 AND i.type_item = "Product") OR
(i.id_item = 183 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 = 2390)))
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
1103
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 = 1417 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 1417)))
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.542 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
94
SELECT SQL_NO_CACHE name, value, pf.id_feature, f.position, fvl.id_feature_value
FROM ps_feature_product pf
LEFT JOIN ps_feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = 2)
LEFT JOIN ps_feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = 2)
LEFT JOIN ps_feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = 2)
INNER JOIN ps_feature_shop feature_shop
ON (feature_shop.id_feature = f.id_feature AND feature_shop.id_shop = 1)
WHERE pf.id_product = 612
ORDER BY f.position ASC
0.530 ms 6 Yes /classes/Product.php:6002
1044
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.530 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
1024
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 = 3277 AND i.type_item = "Product") OR
(i.id_item = 182 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 = 3277)))
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.521 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
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.518 ms 130 /classes/module/Module.php:345
1093
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.517 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
1037
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.502 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
1033
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.491 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:675
307
SELECT SQL_NO_CACHE *
FROM `ps_product` a
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 701) LIMIT 1
0.487 ms 1 /src/Adapter/EntityMapper.php:71
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.483 ms 154 Yes /classes/Dispatcher.php:654
367
SELECT SQL_NO_CACHE DISTINCT `id_product` FROM `ps_specific_price` WHERE `id_product` != 0
0.478 ms 415 /classes/SpecificPrice.php:310
345
SELECT SQL_NO_CACHE type, id_value, filter_show_limit, filter_type FROM ps_layered_category
WHERE controller = 'category'
AND id_category = 185
AND id_shop = 1
GROUP BY `type`, id_value ORDER BY position ASC
0.453 ms 1 Yes Yes /modules/ps_facetedsearch/src/Filters/Provider.php:61
1142
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.444 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
1039
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 (3258) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.442 ms 1 Yes Yes /classes/Product.php:4507
84
SELECT SQL_NO_CACHE 1 FROM `ps_specific_price` WHERE id_product = 0 LIMIT 1
0.441 ms 1 /classes/SpecificPrice.php:426
1095
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.441 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
1022
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 (3692) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.414 ms 1 Yes Yes /classes/Product.php:4507
1083
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.405 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
735
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` = 405
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.396 ms 18 Yes Yes /classes/Category.php:1151
1085
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 (2031) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.394 ms 2 Yes Yes /classes/Product.php:4507
1045
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.392 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
1118
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.391 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
641
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` = 294
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.390 ms 1 Yes Yes /classes/Category.php:1151
1106
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.389 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
93
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` = 612 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` = 612 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
0.388 ms 0 /classes/Cart.php:1410
1140
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.381 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
1018
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.378 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
62
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.378 ms 130 /classes/module/Module.php:345
1143
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.373 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
141
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` = 677 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` = 677 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
0.366 ms 0 /classes/Cart.php:1410
638
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` = 293) AND (b.`id_shop` = 1) LIMIT 1
0.363 ms 1 /src/Adapter/EntityMapper.php:71
1073
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 (2145) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.359 ms 207 Yes Yes /classes/Product.php:4507
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
0.359 ms 130 /classes/module/Module.php:345
1144
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 (1411) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.356 ms 1 Yes Yes /classes/Product.php:4507
1028
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.355 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
1097
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 (1419) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.353 ms 1 Yes Yes /classes/Product.php:4507
135
SELECT SQL_NO_CACHE *
FROM `ps_product` a
LEFT JOIN `ps_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 2
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 677) AND (b.`id_shop` = 1) LIMIT 1
0.350 ms 1 /src/Adapter/EntityMapper.php:71
1104
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.349 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
1051
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.348 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
1038
SELECT SQL_NO_CACHE a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group`,
pa.`reference`, pa.`ean13`, pa.`isbn`, pa.`upc`, pa.`mpn`,
pal.`available_now`, pal.`available_later`
FROM `ps_attribute` a
LEFT JOIN `ps_attribute_lang` al
ON (al.`id_attribute` = a.`id_attribute` AND al.`id_lang` = 2)
LEFT JOIN `ps_product_attribute_combination` pac
ON (pac.`id_attribute` = a.`id_attribute`)
LEFT JOIN `ps_product_attribute` pa
ON (pa.`id_product_attribute` = pac.`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)
LEFT JOIN `ps_product_attribute_lang` pal
ON (pal.`id_product_attribute` = pac.`id_product_attribute` AND pal.`id_lang` = 2)
LEFT JOIN `ps_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 2)
WHERE pa.`id_product` = 3258
AND pac.`id_product_attribute` = 1
AND agl.`id_lang` = 2
0.346 ms 0 /classes/Product.php:7515
1020
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.345 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
26
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.344 ms 130 /classes/module/Module.php:345
1071
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.343 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
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.342 ms 130 /classes/module/Module.php:345
1130
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.342 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908