Προσφορά Κέκκερη Γ. καφές ελληνικός 1 kg + αλάτι ιμαλαϊων 700 gr + πιπέρι (μαύρο - κόκκινο) 200 gr

15,95 €
Με ΦΠΑ

ΚΑΦΕΣ, ΑΛΑΤΙ, ΠΙΠΕΡΙ

Ποσότητα

  • PR-2030
  • Μπαχαρικά
  • Αποστολή σε 1 έως 3 ημέρες

Η ΠΡΟΣΦΟΡΑ ΠΕΡΙΕΧΕΙ:

  • Καφές Ελληνικός Γιάννη Κέκκερη 1000 γρ.
  • Αλάτι Ιμαλαϊων Γιάννη Κέκκερη 700 γρ.
  • Πιπέρι Μαύρο Γιάννη Κέκκερη 100 γρ.
  • Πιπέρι Κόκκινο (Πάπρικα) Γιάννη Κέκκερη 100 γρ.

Επεξεργασία & Συσκευασία: Κέκκερης Γιάννης

Product Details

PR-2030
9971 αντικείμενα

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

Προέλευση
ΕΛΛΗΝΙΚΟ ΠΡΟΪΟΝ
Παραγωγός
ΚΑΦΕΣ & ΜΠΑΧΑΡΙΚΑ ΓΙΑΝΝΗ ΚΕΚΚΕΡΗ
Νέο
chat Σχόλια (0)
Δεν υπάρχουν κριτικές πελατών προς το παρόν.

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

Load Time 1474 ms
Querying Time 194 ms
Queries 857
Memory Peak Usage 78.8 Mb
Included Files 1329 files - 15.62 Mb
PrestaShop Cache - Mb
Global vars 0.27 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 37.236 ms 37.236 ms 24.64 Mb 25.0 Mb
__construct 0.030 ms 37.266 ms - Mb 25.0 Mb
init 259.181 ms 296.447 ms 10.44 Mb 35.1 Mb
checkAccess 0.002 ms 296.449 ms - Mb 35.1 Mb
setMedia 4.728 ms 301.177 ms 0.85 Mb 36.1 Mb
postProcess 0.001 ms 301.178 ms - Mb 36.1 Mb
initHeader 0.001 ms 301.179 ms - Mb 36.1 Mb
initContent 569.727 ms 871 ms 17.04 Mb 53.2 Mb
initFooter 0.001 ms 871 ms - Mb 53.2 Mb
display 603.157 ms 1474 ms 25.58 Mb 78.8 Mb
Hook Time Memory Usage
DisplayHeader 468.989 ms 7.15 Mb
DorRelatedProduct 216.956 ms 7.84 Mb
DorHeaderSearch 117.082 ms 11.22 Mb
DorFlipImages 48.215 ms 0.59 Mb
DisplayFooterProduct 46.539 ms 3.34 Mb
DisplayBeforeBodyClosingTag 38.488 ms 0.44 Mb
DisplayProductPriceBlock 27.419 ms 1.97 Mb
Dorwishlist 24.867 ms 0.05 Mb
displayProductListReviews 24.340 ms 0.12 Mb
DorCompare 20.425 ms 0.30 Mb
displayNav2 12.833 ms 0.17 Mb
Header 5.148 ms 0.12 Mb
DorMegamenu 5.128 ms 0.05 Mb
DoradoFooter1 3.907 ms 0.05 Mb
DisplayAfterProductThumbs 3.107 ms 0.02 Mb
DorVideoProduct 3.008 ms 0.06 Mb
DisplayAfterBodyOpeningTag 2.004 ms 0.01 Mb
Dorwishlisttotal 1.968 ms 0.01 Mb
DorOrderTrackingTop 1.965 ms 0.01 Mb
DoradoFooterAdv 1.959 ms 0.01 Mb
DorCompareLink 1.945 ms 0.01 Mb
Dorwishlistlink 1.862 ms 0.01 Mb
DorCompareTotal 1.767 ms 0.02 Mb
ActionFrontControllerSetMedia 0.922 ms 0.13 Mb
ActionDispatcherBefore 0.883 ms 0.09 Mb
displayNav1 0.663 ms 0.09 Mb
DorTags 0.334 ms 0.01 Mb
DorTabVideoProduct 0.295 ms 0.02 Mb
DisplayNav2 0.260 ms 0.02 Mb
DorProductTags 0.219 ms 0.02 Mb
TabDorProductTags 0.166 ms 0.02 Mb
ActionOutputHTMLBefore 0.044 ms - Mb
ModuleRoutes 0.024 ms 0.01 Mb
DorRelatedProductByBrand 0.004 ms - Mb
DisplayOverrideTemplate 0.003 ms - Mb
35 hook(s) 1084 ms 34.03 Mb
Module Time Memory Usage
smartblog 14.016 ms 3.64 Mb
customfields 2.827 ms 0.46 Mb
ets_cfultimate 15.785 ms 1.95 Mb
g_cartreminder 2.259 ms 0.37 Mb
psxdesign 10.995 ms 3.20 Mb
ps_mbo 8.367 ms 1.75 Mb
ets_payment_with_fee 4.413 ms 0.89 Mb
ps_emailalerts 1.490 ms 0.25 Mb
b2bmarkt 1.061 ms 0.22 Mb
ps_facebook 426.921 ms 4.13 Mb
dor_themeoptions 63.149 ms 3.49 Mb
dorgallery 1.009 ms 0.21 Mb
dor_imageslider 2.016 ms 0.37 Mb
dor_managerblocks 6.816 ms 0.31 Mb
dor_megamenu 7.625 ms 0.40 Mb
dor_ajaxtabproductcategory 3.507 ms 0.59 Mb
dor_ajaxtabsidebar_product 1.627 ms 0.29 Mb
dor_videoproducts 3.713 ms 0.14 Mb
dor_instagram 0.421 ms 0.08 Mb
dorcompare 24.786 ms 0.47 Mb
dorverticalmenu 2.028 ms 0.32 Mb
dor_sourcetabproductcategory 2.060 ms 0.42 Mb
dor_advanceproduct 3.933 ms 0.78 Mb
dor_viewedproducts 0.569 ms 0.09 Mb
ets_manufacturerslider 0.747 ms 0.11 Mb
ets_cookie_banner 2.897 ms 0.20 Mb
restrictpaymentmethods 0.646 ms 0.11 Mb
lggoogleanalytics 8.314 ms 0.55 Mb
phgoogletagmanager 22.824 ms 0.70 Mb
ps_accounts 0.654 ms 0.10 Mb
productcomments 71.823 ms 3.67 Mb
ps_shoppingcart 6.629 ms 0.12 Mb
dor_searchcategories 117.635 ms 11.30 Mb
dor_ordertracking 2.600 ms 0.09 Mb
dorblocktags 1.568 ms 0.16 Mb
dor_productsamecategory 218.113 ms 7.97 Mb
dorblockwishlist 30.734 ms 0.35 Mb
dor_dailydeals 1.509 ms 0.17 Mb
dor_bizproduct 1.530 ms 0.17 Mb
dor_testimonials 1.269 ms 0.15 Mb
smartbloghomelatestnews 0.777 ms 0.09 Mb
bestpriceanalytics 2.045 ms 0.07 Mb
productlabel 30.122 ms 2.34 Mb
freega4 2.270 ms 0.05 Mb
vivawalletsmartcheckout 3.032 ms 0.37 Mb
ps_languageselector 0.596 ms 0.07 Mb
ps_currencyselector 0.548 ms 0.07 Mb
ps_customersignin 6.824 ms 0.13 Mb
statsdata 36.516 ms 0.40 Mb
49 module(s) 1184 ms 54.34 Mb

Stopwatch SQL - 857 queries

# Query Time (ms) Rows Filesort Group By Location
847
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')
7.328 ms 1 /classes/ObjectModel.php:622
853
INSERT INTO `ps_connections_source` (`id_connections`, `http_referer`, `request_uri`, `keywords`, `date_add`) VALUES ('3636200', '', 'farmadeals.com/3172-prosfora-kekkeri-g-kafes-ellinikos-1-kg-alati-imalaion-700-gr-piperi-mayro-kokkino-200-gr.html', '', '2024-02-29 09:20:56')
6.537 ms 1 /classes/ObjectModel.php:622
852
INSERT IGNORE INTO `ps_connections_page` (`id_connections`, `id_page`, `time_start`) VALUES ('3636200', '598', '2024-02-29 09:20:56')
6.530 ms 1 /classes/Connection.php:122
856
INSERT INTO `ps_page_viewed` (`id_date_range`, `id_page`, `counter`, `id_shop`, `id_shop_group`) VALUES ('1354', '598', '1', '1', '1')
6.291 ms 1 /classes/Page.php:142
851
INSERT INTO `ps_connections` (`id_guest`, `id_page`, `ip_address`, `http_referer`, `id_shop`, `id_shop_group`, `date_add`) VALUES ('4348975', '598', '586128073', '', '1', '1', '2024-02-29 09:20:56')
5.702 ms 1 /classes/ObjectModel.php:622
574
SELECT SQL_NO_CACHE c.id_contact FROM `ps_ets_cfu_contact` c
INNER JOIN `ps_ets_cfu_contact_shop` cs ON (c.id_contact= cs.id_contact)
LEFT JOIN `ps_ets_cfu_contact_lang` cl on (c.id_contact= cl.id_contact AND cl.id_lang="2")
WHERE c.active=1 AND c.hook like "%product_thumbs%" AND cs.id_shop="1";
3.015 ms 8 /modules/ets_cfultimate/ets_cfultimate.php:1335
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.012 ms 2354 /classes/Configuration.php:180
13
SELECT SQL_NO_CACHE h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module
FROM `ps_module` m
INNER JOIN ps_module_shop module_shop
ON (module_shop.id_module = m.id_module AND module_shop.id_shop = 1 AND module_shop.enable_device & 1)
INNER JOIN `ps_hook_module` `hm` ON hm.`id_module` = m.`id_module`
INNER JOIN `ps_hook` `h` ON hm.`id_hook` = h.`id_hook`
LEFT JOIN `ps_module_group` `mg` ON mg.`id_module` = m.`id_module`
WHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1) AND (mg.id_shop = 1 AND  mg.`id_group` IN (1))
GROUP BY hm.id_hook, hm.id_module
ORDER BY hm.`position`
1.621 ms 1965 Yes Yes /classes/Hook.php:1233
48
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.313 ms 671 /classes/Hook.php:456
47
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.272 ms 0 /classes/Hook.php:1292
591
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` = 292 AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog") ORDER BY cp.`position` ASC
LIMIT 0,30
0.881 ms 14 /classes/Category.php:1062
81
SELECT SQL_NO_CACHE p.*, product_shop.*, stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity, pl.`description`, pl.`description_short`, pl.`link_rewrite`,
pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, pl.`available_now`, pl.`available_later`,
image_shop.`id_image` id_image, il.`legend`, m.`name` as manufacturer_name, cl.`name` AS category_default, IFNULL(product_attribute_shop.id_product_attribute, 0) id_product_attribute,
DATEDIFF(
p.`date_add`,
DATE_SUB(
"2024-02-29 00:00:00",
INTERVAL 30 DAY
)
) > 0 AS new
FROM `ps_accessory`
LEFT JOIN `ps_product` p ON p.`id_product` = `id_product_2`
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `ps_product_attribute_shop` product_attribute_shop
ON (p.`id_product` = product_attribute_shop.`id_product` AND product_attribute_shop.`default_on` = 1 AND product_attribute_shop.id_shop=1)
LEFT JOIN `ps_product_lang` pl ON (
p.`id_product` = pl.`id_product`
AND pl.`id_lang` = 2 AND pl.id_shop = 1 
)
LEFT JOIN `ps_category_lang` cl ON (
product_shop.`id_category_default` = cl.`id_category`
AND cl.`id_lang` = 2 AND cl.id_shop = 1 
)
LEFT JOIN `ps_image_shop` image_shop
ON (image_shop.`id_product` = p.`id_product` AND image_shop.cover=1 AND image_shop.id_shop=1)
LEFT JOIN `ps_image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = 2)
LEFT JOIN `ps_manufacturer` m ON (p.`id_manufacturer`= m.`id_manufacturer`)
LEFT JOIN ps_stock_available stock
ON (stock.id_product = `p`.id_product AND stock.id_product_attribute = 0 AND stock.id_shop = 1  AND stock.id_shop_group = 0  )
WHERE `id_product_1` = 3172 AND product_shop.`active` = 1 AND product_shop.`visibility` != 'none'
GROUP BY product_shop.id_product
0.837 ms 1 Yes Yes /classes/Product.php:4685
575
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 = 3172 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 3172)))
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.735 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
827
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 = 3191 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 3191)))
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.712 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
854
SELECT SQL_NO_CACHE `id_date_range`, `time_end`
FROM `ps_date_range`
WHERE `time_end` = (SELECT MAX(`time_end`) FROM `ps_date_range`) LIMIT 1
0.661 ms 1716100 /classes/DateRange.php:60
91
SELECT SQL_NO_CACHE ag.`id_attribute_group`, ag.`is_color_group`, agl.`name` AS group_name, agl.`public_name` AS public_group_name,
a.`id_attribute`, al.`name` AS attribute_name, a.`color` AS attribute_color, product_attribute_shop.`id_product_attribute`,
IFNULL(stock.quantity, 0) as quantity, product_attribute_shop.`price`, product_attribute_shop.`ecotax`, product_attribute_shop.`weight`,
product_attribute_shop.`default_on`, pa.`reference`, pa.`ean13`, pa.`mpn`, pa.`upc`, pa.`isbn`, product_attribute_shop.`unit_price_impact`,
product_attribute_shop.`minimal_quantity`, product_attribute_shop.`available_date`, ag.`group_type`,
pal.`available_now`, pal.`available_later`
FROM `ps_product_attribute` pa
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
LEFT JOIN ps_stock_available stock
ON (stock.id_product = `pa`.id_product AND stock.id_product_attribute = IFNULL(`pa`.id_product_attribute, 0) AND stock.id_shop = 1  AND stock.id_shop_group = 0  )
LEFT JOIN `ps_product_attribute_lang` pal
ON (
pa.`id_product_attribute` = pal.`id_product_attribute` AND
pal.`id_lang` = 2)
LEFT JOIN `ps_product_attribute_combination` pac ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
LEFT JOIN `ps_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
LEFT JOIN `ps_attribute_group` ag ON (ag.`id_attribute_group` = a.`id_attribute_group`)
LEFT JOIN `ps_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute`)
LEFT JOIN `ps_attribute_group_lang` agl ON (ag.`id_attribute_group` = agl.`id_attribute_group`)
INNER JOIN ps_attribute_shop attribute_shop
ON (attribute_shop.id_attribute = a.id_attribute AND attribute_shop.id_shop = 1)
WHERE pa.`id_product` = 3172
AND al.`id_lang` = 2
AND agl.`id_lang` = 2
GROUP BY id_attribute_group, id_product_attribute
ORDER BY ag.`position` ASC, a.`position` ASC, agl.`name` ASC
0.635 ms 1 Yes Yes /classes/Product.php:4581
12
SELECT SQL_NO_CACHE lower(name) as name
FROM `ps_hook` h
WHERE (h.active = 1)
0.621 ms 921 /classes/Hook.php:1332
764
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 = 2504 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 2504)))
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.596 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
792
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, p.priority, p.id_shop, IFNULL(p.start_date, "") as start_date, IFNULL(p.end_date, "") as end_date,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color FROM ps_productlabel as p LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) LEFT JOIN ps_productlabel_item as i ON i.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE ((i.id_item = 3184 AND i.type_item = "Product") OR
(i.id_item = 202 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 = 3184)))
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.583 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
756
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 = 2503 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 2503)))
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.577 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
771
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 = 2505 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 2505)))
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.577 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
799
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 = 3185 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 3185)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.558 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
785
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 = 3172 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 3172)))
AND p.status = 1
AND p.id_shop = 1
AND ((start_date <= "2024-02-29" OR start_date = "0000-00-00")
AND (end_date >= "2024-02-29" OR end_date = "0000-00-00"))
ORDER BY p.priority ASC LIMIT 1
0.558 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
834
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 = 4295 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 4295)))
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.540 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
820
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 = 3190 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 3190)))
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.527 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
778
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 = 2506 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 2506)))
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.520 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
841
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 = 4356 AND i.type_item = "Product") OR
(i.id_item = 299 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 = 4356)))
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.517 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
813
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 = 3189 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 3189)))
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.508 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
806
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 = 3186 AND i.type_item = "Product") OR
(i.id_item = 292 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 = 3186)))
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.506 ms 2 Yes /modules/productlabel/classes/ProductLabelDAO.php:731
120
SELECT SQL_NO_CACHE c.id_category, cl.name, c.id_parent
FROM `ps_category` c
LEFT JOIN `ps_category_lang` `cl` ON cl.id_category = c.id_category AND cl.id_shop = 1
WHERE (cl.id_lang = 2)
ORDER BY cl.id_category
0.466 ms 300 /modules/ps_facebook/classes/Repository/GoogleCategoryRepository.php:309
57
SELECT SQL_NO_CACHE t.`id_lang`, t.`name`
FROM ps_tag t
LEFT JOIN ps_product_tag pt ON (pt.id_tag = t.id_tag)
WHERE pt.`id_product`=3172
0.429 ms 1 /classes/Tag.php:244
725
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 (2506)
0.405 ms 1 /classes/ProductAssembler.php:64
15
SELECT SQL_NO_CACHE `id_hook`, `name` FROM `ps_hook`
0.399 ms 921 /classes/Hook.php:1292
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.397 ms 154 Yes /classes/Dispatcher.php:654
578
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.396 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
830
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.395 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
43
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.392 ms 131 /classes/module/Module.php:345
749
SELECT SQL_NO_CACHE p.*,
ps.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2024-02-29 00:00:00',
INTERVAL 30 DAY
)
) > 0) as new
FROM ps_product p
LEFT JOIN ps_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 2
LEFT JOIN ps_stock_available sa   ON sa.id_product = p.id_product
AND sa.id_product_attribute = 0
AND sa.id_shop = 1 LEFT JOIN ps_product_shop ps
ON ps.id_product = p.id_product
AND ps.id_shop = 1
WHERE p.id_product IN (4295)
0.387 ms 1 /classes/ProductAssembler.php:64
760
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.387 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
80
SELECT SQL_NO_CACHE DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group`,pa.`reference`, pa.`ean13`, pa.`isbn`, pa.`upc`, pa.`mpn`
FROM `ps_attribute` a
LEFT JOIN `ps_attribute_lang` al
ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 2)
LEFT JOIN `ps_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 2)
LEFT JOIN `ps_product_attribute_combination` pac
ON (a.`id_attribute` = pac.`id_attribute`)
LEFT JOIN `ps_product_attribute` pa
ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
INNER JOIN ps_attribute_shop attribute_shop
ON (attribute_shop.id_attribute = pac.id_attribute AND attribute_shop.id_shop = 1)
WHERE pa.`id_product` = 3172
0.375 ms 1 /classes/Product.php:7544
719
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 (2504)
0.373 ms 1 /classes/ProductAssembler.php:64
728
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 (3172)
0.372 ms 1 /classes/ProductAssembler.php:64
767
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.363 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
828
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.362 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
123
SELECT SQL_NO_CACHE google_category_id
FROM `ps_fb_category_match`
WHERE (`id_category` = "292") AND (id_shop = 1) LIMIT 1
0.359 ms 0 /modules/ps_facebook/classes/Repository/GoogleCategoryRepository.php:167
802
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.358 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
837
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.358 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.356 ms 131 /classes/module/Module.php:345
816
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.352 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
823
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.352 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
844
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.350 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
809
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.347 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
44
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` = 3172) AND (b.`id_shop` = 1) LIMIT 1
0.344 ms 1 /src/Adapter/EntityMapper.php:71
85
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 = 3172
ORDER BY f.position ASC
0.342 ms 4 Yes /classes/Product.php:6002
72
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` = 292
AND `active` = 1
AND cg.`id_group` =1
GROUP BY c.`id_category`
ORDER BY `level_depth` ASC, category_shop.`position` ASC
0.341 ms 2 Yes Yes /classes/Category.php:924
576
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.339 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
84
SELECT SQL_NO_CACHE COALESCE(SUM(first_level_quantity) + SUM(pack_quantity), 0) as deep_quantity,
COALESCE(SUM(first_level_quantity), 0) as quantity
FROM (SELECT cp.`quantity` as first_level_quantity, 0 as pack_quantity
FROM `ps_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 3172 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` = 3172 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
0.335 ms 0 /classes/Cart.php:1410
765
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.334 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
774
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.330 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
800
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.329 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
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.328 ms 131 /classes/module/Module.php:345
762
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 (2503) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.328 ms 1 Yes Yes /classes/Product.php:4507
788
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.327 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
781
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.327 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
743
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 (3190)
0.325 ms 1 /classes/ProductAssembler.php:64
831
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.324 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
769
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 (2504) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.324 ms 1 Yes Yes /classes/Product.php:4507
597
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 9, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price`
WHERE
`id_shop` IN (0, 1) AND
`id_currency` IN (0, 1) AND
`id_country` IN (0, 9) AND
`id_group` IN (0, 1) AND `id_product` = 2503 AND `id_customer` = 0 AND `id_product_attribute` = 0 AND `id_cart` = 0  AND (`from` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' >= `from`) AND (`to` = '0000-00-00 00:00:00' OR '2024-02-29 00:00:00' <= `to`)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `id_cart` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.323 ms 1 Yes /classes/SpecificPrice.php:576
795
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.322 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:908
734
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 (3185)
0.319 ms 1 /classes/ProductAssembler.php:64
842
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.319 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
835
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.319 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
731
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 (3184)
0.318 ms 1 /classes/ProductAssembler.php:64
821
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.317 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
579
SELECT SQL_NO_CACHE p.id_product_label, p.id_type, a.attribute, a.attribute_value, p.priority, p.id_shop,
IFNULL(lt.text_content, IFNULL(lt2.text_content, NULL)) as label_text_content,
l.bg_color as label_bg_color, l.text_font as label_text_font, l.text_color as label_text_color,
l.text_size as label_text_size, l.position as label_position, l.is_resize as label_is_resize,
IFNULL(ba.id_background, IFNULL(ba2.id_background, NULL)) as id_background,
IFNULL(ba.image, IFNULL(ba2.image, NULL)) as image,
IFNULL(ba.is_perso, IFNULL(ba2.is_perso, NULL)) as is_perso,
IFNULL(ba.id_lang, IFNULL(ba2.id_lang, NULL)) as id_lang , bt.id_lang, IFNULL(bt.text_content, IFNULL(bt2.text_content, NULL)) as banner_text_content,
b.text_color as banner_text_color, b.bg_color as banner_bg_color
FROM ps_productlabel as p
LEFT JOIN ps_productlabel_banner as b ON b.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_banner_text as bt ON (bt.id_banner = b.id_banner AND bt.id_lang = 2)
LEFT JOIN ps_productlabel_banner_text as bt2 ON (bt2.id_banner = b.id_banner AND bt2.id_lang = 2) RIGHT JOIN ps_productlabel_attribute as a ON a.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label as l ON l.id_product_label = p.id_product_label
LEFT JOIN ps_productlabel_label_text as lt ON (lt.id_label = l.id_label AND lt.id_lang = 2)
LEFT JOIN ps_productlabel_label_text as lt2 ON (lt2.id_label = l.id_label AND lt2.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba ON (ba.id_label = l.id_label AND ba.id_lang = 2)
LEFT JOIN ps_productlabel_background as ba2 ON (ba2.id_label = l.id_label AND ba2.id_lang = 2)
WHERE p.id_type = 5
AND p.status = 1
AND p.id_shop = 1
ORDER BY p.priority ASC LIMIT 1
0.317 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
758
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.316 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
807
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.315 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
814
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.314 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
25
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `ps_module` m
LEFT JOIN `ps_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
0.313 ms 131 /classes/module/Module.php:345
106
SELECT SQL_NO_CACHE c.id_contact FROM `ps_ets_cfu_contact` c
INNER JOIN `ps_ets_cfu_contact_shop` cs ON (c.id_contact= cs.id_contact)
LEFT JOIN `ps_ets_cfu_contact_lang` cl on (c.id_contact= cl.id_contact AND cl.id_lang="2")
WHERE c.active=1 AND c.hook like "%header%" AND cs.id_shop="1";
0.310 ms 8 /modules/ets_cfultimate/ets_cfultimate.php:1335
775
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.308 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:845
776
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 (2505) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.300 ms 1 Yes Yes /classes/Product.php:4507
365
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` = 248
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.299 ms 5 Yes Yes /classes/Category.php:1151
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.298 ms 131 /classes/module/Module.php:345
127
SELECT SQL_NO_CACHE COUNT(DISTINCT c.id_currency) FROM `ps_currency` c
LEFT JOIN ps_currency_shop cs ON (cs.id_currency = c.id_currency AND cs.id_shop = 1)
WHERE c.`active` = 1 AND c.`deleted` = 0 LIMIT 1
0.297 ms 1 /classes/Currency.php:1136
716
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 (2503)
0.296 ms 1 /classes/ProductAssembler.php:64
772
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.296 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
786
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.296 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
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.295 ms 131 /classes/module/Module.php:345
797
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 (3184) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.294 ms 1 Yes Yes /classes/Product.php:4507
793
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.294 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780
137
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` = 1
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY category_shop.`position` ASC
0.293 ms 1 Yes Yes /classes/Category.php:1151
722
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 (2505)
0.291 ms 1 /classes/ProductAssembler.php:64
779
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.290 ms 1 Yes /modules/productlabel/classes/ProductLabelDAO.php:780