MasterLock

MasterLock

Filtros activos

Load Time2437 ms - You'd better run your shop on a toaster
Querying Time509 ms
Queries513
Memory Peak Usage46.8 Mb
Included Files590 files - 9.25 Mb
PrestaShop Cache- Mb
Global vars0.21 Mb
PrestaShop Version1.7.4.2
PHP Version7.0.33 (Consider upgrading)
MySQL Version5.7.26-log (OK)
Memory Limit1024M
Max Execution Time300s
Smarty Cacheenabled
Smarty Compilationauto
 TimeCumulated TimeMemory UsageMemory Peak Usage
config 187 ms 187 ms 10.64 Mb 10.89 Mb
__construct 0 ms 187 ms - Mb 10.89 Mb
init 160 ms 347 ms 5.58 Mb 16.74 Mb
checkAccess 0 ms 347 ms - Mb 16.74 Mb
setMedia 1 ms 347 ms - Mb 16.74 Mb
postProcess 0 ms 347 ms - Mb 16.74 Mb
initHeader 0 ms 347 ms - Mb 16.74 Mb
initContent 1413 ms 1761 ms 20.51 Mb 36.73 Mb
initFooter 0 ms 1761 ms - Mb 36.73 Mb
display 677 ms 2437 ms 9.86 Mb 46.81 Mb
Hook Time Memory Usage
0 hooks - ms - Mb
Module Time Memory Usage
0 modules - ms - Mb

Stopwatch SQL - 513 queries

Query Time (ms) Rows Filesort Group By Location
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 `fp_configuration` c
LEFT JOIN `fp_configuration_lang` cl ON (c.`id_configuration` = cl.`id_configuration`)
9.2 554 /classes/Configuration.php:157
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, active
FROM `fp_hook_module` hm
STRAIGHT_JOIN `fp_hook` h ON (h.id_hook = hm.id_hook AND hm.id_shop = 1)
STRAIGHT_JOIN `fp_module` as m ON (m.id_module = hm.id_module)
ORDER BY hm.position
8.2 481 /classes/Hook.php:374
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 7 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
5.5 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 3 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
5 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE p.*,
product_shop.*,
product_shop.id_category_default,
pl.*,
image_shop.`id_image` id_image,
il.legend,
m.name manufacturer_name,
product_attribute_shop.id_product_attribute id_product_attribute,
DATEDIFF(product_shop.`date_add`, DATE_SUB("2019-05-26 00:00:00", INTERVAL 20 DAY)) > 0 AS new,
stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity, product_attribute_shop.minimal_quantity AS product_attribute_minimal_quantity
FROM  ((SELECT cp.id_product, MIN(cp.position) position FROM fp_category c
STRAIGHT_JOIN fp_category_product cp ON (c.id_category = cp.id_category AND
c.id_category = 107
AND c.active = 1)
STRAIGHT_JOIN `fp_product` p ON (p.id_product=cp.id_product)
INNER JOIN fp_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
WHERE 1  AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")
GROUP BY cp.id_product) UNION ALL (SELECT cp.id_product, MIN(cp.position) position FROM fp_category c
STRAIGHT_JOIN fp_category_product cp ON (c.id_category = cp.id_category AND
c.id_category != 107
AND c.nleft >= 214
AND c.nright <= 215
AND c.active = 1)
STRAIGHT_JOIN `fp_product` p ON (p.id_product=cp.id_product)
INNER JOIN fp_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
WHERE NOT EXISTS(SELECT * FROM fp_category_product cpe 
WHERE cp.id_product=cpe.id_product AND cpe.id_category = 107)
AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")
GROUP BY cp.id_product)) cp
LEFT JOIN `fp_product` p ON p.`id_product` = cp.`id_product`
INNER JOIN fp_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1) LEFT JOIN `fp_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 fp_product_lang pl ON (pl.id_product = p.id_product AND pl.id_shop = 1  AND pl.id_lang = 1)
LEFT JOIN `fp_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 `fp_image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = 1)
LEFT JOIN fp_manufacturer m ON (m.id_manufacturer = p.id_manufacturer)
LEFT JOIN fp_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 product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")
ORDER BY cp.position asc , cp.id_product LIMIT 0,12
4.4 1921374 Yes /modules/ps_facetedsearch/ps_facetedsearch.php:1630
INSERT INTO `fp_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')
4.4 1 /classes/ObjectModel.php:529
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 8 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
4.3 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 4 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
4.1 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 9 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
4 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite
FROM `fp_category` c
INNER JOIN `fp_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_lang` = 1 AND cl.id_shop = 1 )
INNER JOIN `fp_category_shop` cs ON (cs.`id_category` = c.`id_category` AND cs.`id_shop` = 1)
WHERE (c.`active` = 1 OR c.`id_category` = 2)
AND c.`id_category` != 1
AND `level_depth` <= 6
AND nleft >= 195 AND nright <= 248
AND c.id_category IN (
SELECT id_category
FROM `fp_category_group`
WHERE `id_group` IN (3)
)
ORDER BY `level_depth` ASC, cs.`position` ASC
3.9 143 Yes /modules/ps_categorytree/ps_categorytree.php:117
SELECT SQL_NO_CACHE h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module
FROM `fp_module` m
INNER JOIN fp_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 `fp_module_shop` `ms` ON ms.`id_module` = m.`id_module`
INNER JOIN `fp_hook_module` `hm` ON hm.`id_module` = m.`id_module`
INNER JOIN `fp_hook` `h` ON hm.`id_hook` = h.`id_hook`
WHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1)
GROUP BY hm.id_hook, hm.id_module
ORDER BY hm.`position`
3.7 385 Yes Yes /classes/Hook.php:629
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 10 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
3.4 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 5 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
3.4 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 6 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
3.1 131 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE *
FROM `fp_category` a0
LEFT JOIN `fp_category_lang` `a1` ON (a0.`id_category` = a1.`id_category`)
WHERE (a0.`nleft` < 214) AND (a0.`nright` > 215) AND (a1.`id_lang` = 1)
ORDER BY a0.`nleft` asc
3.1 131 Yes /classes/PrestaShopCollection.php:357
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 20) LIMIT 1
2.8 1 /src/Adapter/EntityMapper.php:67
INSERT INTO `fp_connections` (`id_guest`, `id_page`, `ip_address`, `http_referer`, `id_shop`, `id_shop_group`, `date_add`) VALUES ('39825', '269', '583794869', '', '1', '1', '2019-05-26 09:27:32')
2.8 1 /classes/ObjectModel.php:529
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `fp_module` m
LEFT JOIN `fp_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
2.6 84 /classes/module/Module.php:301
SELECT SQL_NO_CACHE COUNT(*) FROM  ((SELECT cp.id_product, MIN(cp.position) position FROM fp_category c
STRAIGHT_JOIN fp_category_product cp ON (c.id_category = cp.id_category AND
c.id_category = 107
AND c.active = 1)
STRAIGHT_JOIN `fp_product` p ON (p.id_product=cp.id_product)
INNER JOIN fp_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
WHERE 1  AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")
GROUP BY cp.id_product) UNION ALL (SELECT cp.id_product, MIN(cp.position) position FROM fp_category c
STRAIGHT_JOIN fp_category_product cp ON (c.id_category = cp.id_category AND
c.id_category != 107
AND c.nleft >= 214
AND c.nright <= 215
AND c.active = 1)
STRAIGHT_JOIN `fp_product` p ON (p.id_product=cp.id_product)
INNER JOIN fp_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
WHERE NOT EXISTS(SELECT * FROM fp_category_product cpe 
WHERE cp.id_product=cpe.id_product AND cpe.id_category = 107)
AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")
GROUP BY cp.id_product)) ps LIMIT 1
2.6 1921374 /modules/ps_facetedsearch/ps_facetedsearch.php:1595
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 12 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
2.5 4 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 25
2.2 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE `id_product_attribute`
FROM `fp_product_attribute`
WHERE `id_product` = 161
2.2 1 /classes/Product.php:2416
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 56
2.1 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 61) LIMIT 1
2.1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 26
2 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 12) LIMIT 1
2 1 /src/Adapter/EntityMapper.php:67
(SELECT 1 FROM `fp_cart_rule` WHERE date_to >= "2019-05-26 00:00:00" AND date_to <= "2019-05-26 23:59:59" AND `id_customer` IN (0,0) LIMIT 1)UNION ALL (SELECT 1 FROM `fp_cart_rule` WHERE date_from >= "2019-05-26 00:00:00" AND date_from <= "2019-05-26 23:59:59" AND `id_customer` IN (0,0) LIMIT 1)UNION ALL (SELECT 1 FROM `fp_cart_rule` WHERE date_from < "2019-05-26 00:00:00" AND date_to > "2019-05-26 23:59:59" AND `id_customer` IN (0,0) LIMIT 1) LIMIT 1
2 1 /classes/CartRule.php:335
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 45 AND `id_shop` = 1
2 1 /src/Adapter/EntityMapper.php:74
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (169) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1.9 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE `id_hook`, `name`
FROM `fp_hook`
UNION
SELECT `id_hook`, ha.`alias` as name
FROM `fp_hook_alias` ha
INNER JOIN `fp_hook` h ON ha.name = h.name
1.8 0 /classes/Hook.php:186
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 91) LIMIT 1
1.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE c.*, cl.*
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
RIGHT JOIN `fp_category` c2 ON c2.`id_category` = 11 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
1.8 5 Yes /classes/Category.php:747
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 62
1.7 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 29
1.7 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE m.page, ml.url_rewrite, ml.id_lang
FROM `fp_meta` m
LEFT JOIN `fp_meta_lang` ml ON (m.id_meta = ml.id_meta AND ml.id_shop = 1 )
ORDER BY LENGTH(ml.url_rewrite) DESC
1.7 45 Yes /classes/Dispatcher.php:530
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 169 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 169 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1.6 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE *
FROM `fp_product` a
LEFT JOIN `fp_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `fp_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 164) AND (b.`id_shop` = 1) LIMIT 1
1.6 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_product` a
LEFT JOIN `fp_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `fp_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 157) AND (b.`id_shop` = 1) LIMIT 1
1.6 1 /src/Adapter/EntityMapper.php:67
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 164 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 164 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1.6 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_lang` `b` ON a.`id_category` = b.`id_category` AND b.`id_lang` = 1
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 2) AND (b.`id_shop` = 1) LIMIT 1
1.6 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 88) LIMIT 1
1.5 1 /src/Adapter/EntityMapper.php:67
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (162) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1.5 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 49 AND `id_shop` = 1
1.5 1 /src/Adapter/EntityMapper.php:74
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 157 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 157 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1.5 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE c.*, cl.`id_lang`, cl.`name`, cl.`description`, cl.`link_rewrite`, cl.`meta_title`, cl.`meta_keywords`, cl.`meta_description`
FROM `fp_category` c
INNER JOIN fp_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `fp_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1  AND cl.id_shop = 1 )
WHERE `id_parent` = 107
AND `active` = 1
GROUP BY c.`id_category`
ORDER BY `level_depth` ASC, category_shop.`position` ASC
1.5 1 Yes Yes /classes/Category.php:873
SELECT SQL_NO_CACHE * FROM `fp_spcustomhtml` b
LEFT JOIN `fp_spcustomhtml_shop` bs ON (b.`id_spcustomhtml` = bs.`id_spcustomhtml`)
LEFT JOIN `fp_spcustomhtml_lang` bl ON (b.`id_spcustomhtml` = bl.`id_spcustomhtml`)
WHERE bs.`active` = 1 AND (bs.`id_shop` = 1)
AND (bl.`id_lang` = 1)
AND b.`hook` = 268 ORDER BY b.`ordering`
1.5 20 Yes /modules/spcustomhtml/spcustomhtml.php:1254
SELECT SQL_NO_CACHE name, value, pf.id_feature
FROM fp_feature_product pf
LEFT JOIN fp_feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = 1)
LEFT JOIN fp_feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = 1)
LEFT JOIN fp_feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = 1)
INNER JOIN fp_feature_shop feature_shop
ON (feature_shop.id_feature = f.id_feature AND feature_shop.id_shop = 1)
WHERE pf.id_product = 169
ORDER BY f.position ASC
1.5 1 Yes /classes/Product.php:4860
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 161 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 161 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1.5 0 /classes/Cart.php:1225
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (164) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1.5 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-backup-addon/revslider-backup-addon.php' LIMIT 1
1.5 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
(SELECT 1 FROM `fp_cart_rule` WHERE date_to >= "2019-05-26 00:00:00" AND date_to <= "2019-05-26 23:59:59" AND `id_customer` IN (0,0) LIMIT 1)UNION ALL (SELECT 1 FROM `fp_cart_rule` WHERE date_from >= "2019-05-26 00:00:00" AND date_from <= "2019-05-26 23:59:59" AND `id_customer` IN (0,0) LIMIT 1)UNION ALL (SELECT 1 FROM `fp_cart_rule` WHERE date_from < "2019-05-26 00:00:00" AND date_to > "2019-05-26 23:59:59" AND `id_customer` IN (0,0) LIMIT 1) LIMIT 1
1.4 1 /classes/CartRule.php:335
SELECT SQL_NO_CACHE m.*, ml.title,ml.sub_title, ml.html, ml.url, ml.short_description, ml.label
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1 WHERE id_parent=1 AND m.`active`=1  AND m.`id_spmegamenu_group`=1 ORDER BY `position`
1.4 37 Yes /modules/spmegamenu/Megamenu.php:143
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-maintenance-addon/revslider-maintenance-addon.php' LIMIT 1
1.4 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE image_shop.`cover`, i.`id_image`, il.`legend`, i.`position`
FROM `fp_image` i
INNER JOIN fp_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1)
LEFT JOIN `fp_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1)
WHERE i.`id_product` = 160
ORDER BY `position`
1.4 1 Yes /classes/Product.php:2984
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 161
1.4 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE name, value, pf.id_feature
FROM fp_feature_product pf
LEFT JOIN fp_feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = 1)
LEFT JOIN fp_feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = 1)
LEFT JOIN fp_feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = 1)
INNER JOIN fp_feature_shop feature_shop
ON (feature_shop.id_feature = f.id_feature AND feature_shop.id_shop = 1)
WHERE pf.id_product = 160
ORDER BY f.position ASC
1.4 1 Yes /classes/Product.php:4860
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 45) LIMIT 1
1.4 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE `fp_whatsappchatblock`.`id_whatsappchatblock`, `message`, `def_message`,
`offline_message`, `position`, `open_chat`, `mobile_phone`, `color`, `only_home`, `chat_group`, 
`customer_groups`, `only_mobile`, `share_option`, `schedule`, `only_desktop`, `only_tablet`, 
`custom_css`, `custom_js`, `offline_link`
FROM `fp_whatsappchatblock` LEFT JOIN `fp_whatsappchatblock_lang` ON (`fp_whatsappchatblock`.`id_whatsappchatblock` = `fp_whatsappchatblock_lang`.`id_whatsappchatblock` AND `id_lang` = 1) WHERE `id_hook` = "leftcolumn" AND `id_shop` = 1 AND `active` = 1
1.4 1 /modules/whatsappchat/classes/WhatsappChatBlock.php:110
SELECT SQL_NO_CACHE id_shop
FROM `fp_currency_shop`
WHERE `id_currency` = 1
AND id_shop = 1 LIMIT 1
1.4 1 /classes/ObjectModel.php:1548
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_lang` `b` ON a.`id_category` = b.`id_category` AND b.`id_lang` = 1
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 107) AND (b.`id_shop` = 1) LIMIT 1
1.4 1 /src/Adapter/EntityMapper.php:67
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 158 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 158 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1.4 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 157
1.4 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 28
1.4 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 128) LIMIT 1
1.4 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE `id_page`
FROM `fp_page`
WHERE `id_page_type` = 3 AND `id_object` = 107 LIMIT 1
1.4 1 /classes/Page.php:80
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 99 AND `id_shop` = 1
1.4 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 112 AND `id_shop` = 1
1.4 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 78 AND `id_shop` = 1
1.4 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group`, pa.`reference`, pa.`ean13`, pa.`isbn`,pa.`upc`
FROM `fp_attribute` a
LEFT JOIN `fp_attribute_lang` al
ON (al.`id_attribute` = a.`id_attribute` AND al.`id_lang` = 1)
LEFT JOIN `fp_product_attribute_combination` pac
ON (pac.`id_attribute` = a.`id_attribute`)
LEFT JOIN `fp_product_attribute` pa
ON (pa.`id_product_attribute` = pac.`id_product_attribute`)
INNER JOIN fp_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 `fp_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 1)
WHERE pa.`id_product` = 160
AND pac.`id_product_attribute` = 0
AND agl.`id_lang` = 1
1.3 0 /classes/Product.php:6020
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 96 AND `id_shop` = 1
1.3 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 162
1.3 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 62 AND `id_shop` = 1
1.3 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 59
1.3 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 60
1.3 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 62) LIMIT 1
1.3 1 /src/Adapter/EntityMapper.php:67
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (160) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1.3 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE * FROM `fp_spcustomhtml` b
LEFT JOIN `fp_spcustomhtml_shop` bs ON (b.`id_spcustomhtml` = bs.`id_spcustomhtml`)
LEFT JOIN `fp_spcustomhtml_lang` bl ON (b.`id_spcustomhtml` = bl.`id_spcustomhtml`)
WHERE bs.`active` = 1 AND (bs.`id_shop` = 1)
AND (bl.`id_lang` = 1)
AND b.`hook` = 255 ORDER BY b.`ordering`
1.3 20 Yes /modules/spcustomhtml/spcustomhtml.php:1254
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 43 AND `id_shop` = 1
1.2 1 /src/Adapter/EntityMapper.php:74
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 163 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 163 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1.2 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE `id_module` FROM `fp_module_shop` WHERE `id_module` = 0 AND `id_shop` = 1 LIMIT 1
1.2 0 /classes/module/Module.php:2151
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 57
1.2 38 /modules/spmegamenu/Megamenu.php:276
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 20 AND `id_shop` = 1
1.2 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 169
1.2 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 57 AND `id_shop` = 1
1.2 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE c.id_category, c.id_parent, cl.name, (SELECT count(DISTINCT p.id_product) # 
FROM fp_category_product cp
LEFT JOIN fp_product p ON (p.id_product = cp.id_product)  INNER JOIN fp_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
WHERE cp.id_category = c.id_category
AND product_shop.active = 1 AND product_shop.`visibility` IN ("both", "catalog")
) count_products
FROM fp_category c
LEFT JOIN fp_category_lang cl ON (cl.id_category = c.id_category AND cl.`id_shop` = 1 and cl.id_lang = 1) WHERE c.nleft > 214
AND c.nright < 215
AND c.active = 1
GROUP BY c.id_category ORDER BY c.nleft, c.position
1.2 130 Yes /modules/ps_facetedsearch/ps_facetedsearch.php:1977
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 71) LIMIT 1
1.2 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE m.*, ml.title, ml.sub_title , ml.html, ml.url
FROM fp_spmegamenu m
LEFT JOIN fp_spmegamenu_lang ml ON m.id_spmegamenu = ml.id_spmegamenu AND ml.id_lang = 1 JOIN fp_spmegamenu_shop ms ON m.id_spmegamenu = ms.id_spmegamenu AND ms.id_shop = 1
WHERE m.id_parent = 61
1.2 38 /modules/spmegamenu/Megamenu.php:276
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 160 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 160 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1.2 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 163
1.2 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 102 AND `id_shop` = 1
1.2 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-polyfold-addon/revslider-polyfold-addon.php' LIMIT 1
1.2 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE name, value, pf.id_feature
FROM fp_feature_product pf
LEFT JOIN fp_feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = 1)
LEFT JOIN fp_feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = 1)
LEFT JOIN fp_feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = 1)
INNER JOIN fp_feature_shop feature_shop
ON (feature_shop.id_feature = f.id_feature AND feature_shop.id_shop = 1)
WHERE pf.id_product = 164
ORDER BY f.position ASC
1.2 1 Yes /classes/Product.php:4860
SELECT SQL_NO_CACHE *
FROM `fp_product` a
LEFT JOIN `fp_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `fp_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 162) AND (b.`id_shop` = 1) LIMIT 1
1.2 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
IFNULL(product_attribute_shop.id_product_attribute,0) id_product_attribute, product_attribute_shop.`price` AS attribute_price, product_attribute_shop.default_on
FROM `fp_product` p
INNER JOIN `fp_product_shop` `product_shop` ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `fp_product_attribute_shop` `product_attribute_shop` ON (product_attribute_shop.id_product = p.id_product AND product_attribute_shop.id_shop = 1)
WHERE (p.`id_product` = 161)
1.2 1 /classes/Product.php:3280
SELECT SQL_NO_CACHE value FROM `fp_configuration` WHERE `name` = "PS_MULTISHOP_FEATURE_ACTIVE" LIMIT 1
1.2 1 /classes/shop/Shop.php:1127
SELECT SQL_NO_CACHE image_shop.`cover`, i.`id_image`, il.`legend`, i.`position`
FROM `fp_image` i
INNER JOIN fp_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1)
LEFT JOIN `fp_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1)
WHERE i.`id_product` = 164
ORDER BY `position`
1.2 1 Yes /classes/Product.php:2984
SELECT SQL_NO_CACHE * FROM `fp_hook_alias`
1.2 83 /classes/Hook.php:249
SELECT SQL_NO_CACHE *
FROM `fp_currency` a
LEFT JOIN `fp_currency_shop` `c` ON a.`id_currency` = c.`id_currency` AND c.`id_shop` = 1
WHERE (a.`id_currency` = 1) LIMIT 1
1.2 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE `id_guest`
FROM `fp_connections`
WHERE `id_guest` = 39825
AND `date_add` > '2019-05-26 08:57:00'
AND id_shop IN (1) 
ORDER BY `date_add` DESC LIMIT 1
1.2 1 Yes /classes/Connection.php:162
SELECT SQL_NO_CACHE SUM(quantity)
FROM `fp_stock_available`
WHERE (id_product = 161) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
1.1 1 /classes/stock/StockAvailable.php:383
SELECT SQL_NO_CACHE *
FROM `fp_product` a
LEFT JOIN `fp_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `fp_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 161) AND (b.`id_shop` = 1) LIMIT 1
1.1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE gs.*, s.*, gs.name AS group_name, s.name AS shop_name, s.active, su.domain, su.domain_ssl, su.physical_uri, su.virtual_uri
FROM fp_shop_group gs
LEFT JOIN fp_shop s
ON s.id_shop_group = gs.id_shop_group
LEFT JOIN fp_shop_url su
ON s.id_shop = su.id_shop AND su.main = 1
WHERE s.deleted = 0
AND gs.deleted = 0
ORDER BY gs.name, s.name
1.1 1 Yes /classes/shop/Shop.php:692
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 73 AND `id_shop` = 1
1.1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 164
1.1 1 /classes/ProductAssembler.php:91
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (161) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1.1 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 101 AND `id_shop` = 1
1.1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE image_shop.`cover`, i.`id_image`, il.`legend`, i.`position`
FROM `fp_image` i
INNER JOIN fp_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1)
LEFT JOIN `fp_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1)
WHERE i.`id_product` = 162
ORDER BY `position`
1.1 1 Yes /classes/Product.php:2984
SELECT SQL_NO_CACHE `id_tax_rules_group`
FROM `fp_product_shop`
WHERE `id_product` = 169 AND id_shop=1 LIMIT 1
1.1 1 /classes/Product.php:5515
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-global-settings' LIMIT 1
1.1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 71 AND `id_shop` = 1
1.1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE name, value, pf.id_feature
FROM fp_feature_product pf
LEFT JOIN fp_feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = 1)
LEFT JOIN fp_feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = 1)
LEFT JOIN fp_feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = 1)
INNER JOIN fp_feature_shop feature_shop
ON (feature_shop.id_feature = f.id_feature AND feature_shop.id_shop = 1)
WHERE pf.id_product = 162
ORDER BY f.position ASC
1.1 1 Yes /classes/Product.php:4860
SELECT SQL_NO_CACHE tr.*
FROM `fp_tax_rule` tr
JOIN `fp_tax_rules_group` trg ON (tr.`id_tax_rules_group` = trg.`id_tax_rules_group`)
WHERE trg.`active` = 1
AND tr.`id_country` = 68
AND tr.`id_tax_rules_group` = 1
AND tr.`id_state` IN (0, 0)
AND ('0' BETWEEN tr.`zipcode_from` AND tr.`zipcode_to`
OR (tr.`zipcode_to` = 0 AND tr.`zipcode_from` IN(0, '0')))
ORDER BY tr.`zipcode_from` DESC, tr.`zipcode_to` DESC, tr.`id_state` DESC, tr.`id_country` DESC
1.1 1 Yes /classes/tax/TaxRulesTaxManager.php:110
SELECT SQL_NO_CACHE s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
FROM fp_shop_url su
LEFT JOIN fp_shop s ON (s.id_shop = su.id_shop)
WHERE (su.domain = 'aerovan.cl' OR su.domain_ssl = 'aerovan.cl')
AND s.active = 1
AND s.deleted = 0
ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
1.1 1 Yes /classes/shop/Shop.php:344
SELECT SQL_NO_CACHE * FROM `fp_hook_module_exceptions`
WHERE `id_shop` IN (1)
1.1 1 /classes/module/Module.php:2066
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 8 AND `id_shop` = 1
1.1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE COUNT(DISTINCT c.id_currency) FROM `fp_currency` c
LEFT JOIN fp_currency_shop cs ON (cs.id_currency = c.id_currency AND cs.id_shop = 1)
WHERE c.`active` = 1 LIMIT 1
1.1 3 /classes/Currency.php:657
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 88 AND `id_shop` = 1
1.1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group`, pa.`reference`, pa.`ean13`, pa.`isbn`,pa.`upc`
FROM `fp_attribute` a
LEFT JOIN `fp_attribute_lang` al
ON (al.`id_attribute` = a.`id_attribute` AND al.`id_lang` = 1)
LEFT JOIN `fp_product_attribute_combination` pac
ON (pac.`id_attribute` = a.`id_attribute`)
LEFT JOIN `fp_product_attribute` pa
ON (pa.`id_product_attribute` = pac.`id_product_attribute`)
INNER JOIN fp_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 `fp_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 1)
WHERE pa.`id_product` = 169
AND pac.`id_product_attribute` = 0
AND agl.`id_lang` = 1
1.1 0 /classes/Product.php:6020
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 73) LIMIT 1
1.1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 13 AND `id_shop` = 1
1.1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 94 AND `id_shop` = 1
1.1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 79) LIMIT 1
1.1 1 /src/Adapter/EntityMapper.php:67
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (163) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1.1 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 42) LIMIT 1
1.1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_lang` `b` ON a.`id_category` = b.`id_category` AND b.`id_lang` = 1
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 9) AND (b.`id_shop` = 1) LIMIT 1
1.1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-maintenance-addon/revslider-maintenance-addon.php' LIMIT 1
1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 51) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-particles-addon/revslider-particles-addon.php' LIMIT 1
1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-beforeafter-addon/revslider-beforeafter-addon.php' LIMIT 1
1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 64 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group`, pa.`reference`, pa.`ean13`, pa.`isbn`,pa.`upc`
FROM `fp_attribute` a
LEFT JOIN `fp_attribute_lang` al
ON (al.`id_attribute` = a.`id_attribute` AND al.`id_lang` = 1)
LEFT JOIN `fp_product_attribute_combination` pac
ON (pac.`id_attribute` = a.`id_attribute`)
LEFT JOIN `fp_product_attribute` pa
ON (pa.`id_product_attribute` = pac.`id_product_attribute`)
INNER JOIN fp_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 `fp_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 1)
WHERE pa.`id_product` = 164
AND pac.`id_product_attribute` = 0
AND agl.`id_lang` = 1
1 0 /classes/Product.php:6020
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 77 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_product` a
LEFT JOIN `fp_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `fp_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 169) AND (b.`id_shop` = 1) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (158) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 21) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE `fp_whatsappchatblock`.`id_whatsappchatblock`, `message`, `def_message`,
`offline_message`, `position`, `open_chat`, `mobile_phone`, `color`, `only_home`, `chat_group`, 
`customer_groups`, `only_mobile`, `share_option`, `schedule`, `only_desktop`, `only_tablet`, 
`custom_css`, `custom_js`, `offline_link`
FROM `fp_whatsappchatblock` LEFT JOIN `fp_whatsappchatblock_lang` ON (`fp_whatsappchatblock`.`id_whatsappchatblock` = `fp_whatsappchatblock_lang`.`id_whatsappchatblock` AND `id_lang` = 1) WHERE `id_hook` = "topWidth" AND `id_shop` = 1 AND `active` = 1
1 1 /modules/whatsappchat/classes/WhatsappChatBlock.php:110
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 22 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 44) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 84) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 12 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE image_shop.`cover`, i.`id_image`, il.`legend`, i.`position`
FROM `fp_image` i
INNER JOIN fp_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1)
LEFT JOIN `fp_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1)
WHERE i.`id_product` = 161
ORDER BY `position`
1 1 Yes /classes/Product.php:2984
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 81) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 22) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 60) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 51 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 41) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
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 `fp_product_attribute` pa
INNER JOIN fp_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 `fp_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `fp_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `fp_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `fp_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (157) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
1 1 Yes Yes /classes/Product.php:3788
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-particles-addon/revslider-particles-addon.php' LIMIT 1
1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 85) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE name, value, pf.id_feature
FROM fp_feature_product pf
LEFT JOIN fp_feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = 1)
LEFT JOIN fp_feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = 1)
LEFT JOIN fp_feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = 1)
INNER JOIN fp_feature_shop feature_shop
ON (feature_shop.id_feature = f.id_feature AND feature_shop.id_shop = 1)
WHERE pf.id_product = 157
ORDER BY f.position ASC
1 1 Yes /classes/Product.php:4860
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 21 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-refresh-addon/revslider-refresh-addon.php' LIMIT 1
1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_country` a
LEFT JOIN `fp_country_shop` `c` ON a.`id_country` = c.`id_country` AND c.`id_shop` = 1
WHERE (a.`id_country` = 68) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-snow-addon/revslider-snow-addon.php' LIMIT 1
1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 46 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 162 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 162 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
1 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 86 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 63) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-filmstrip-addon/revslider-filmstrip-addon.php' LIMIT 1
1 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 120) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE image_shop.`cover`, i.`id_image`, il.`legend`, i.`position`
FROM `fp_image` i
INNER JOIN fp_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1)
LEFT JOIN `fp_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1)
WHERE i.`id_product` = 169
ORDER BY `position`
1 1 Yes /classes/Product.php:2984
SELECT SQL_NO_CACHE 1 FROM fp_cart_product cp INNER JOIN fp_product p
ON (p.id_product = cp.id_product) INNER JOIN fp_product_shop ps
ON (ps.id_shop = cp.id_shop AND ps.id_product = p.id_product) WHERE cp.id_cart=0 LIMIT 1
1 1 /classes/Cart.php:3921
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 74 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module`as `mshop`
FROM `fp_module` m
LEFT JOIN `fp_module_shop` ms
ON m.`id_module` = ms.`id_module`
AND ms.`id_shop` = 1
1 84 /classes/module/Module.php:301
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 94) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 93) LIMIT 1
1 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 97 AND `id_shop` = 1
1 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE image_shop.`cover`, i.`id_image`, il.`legend`, i.`position`
FROM `fp_image` i
INNER JOIN fp_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1)
LEFT JOIN `fp_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1)
WHERE i.`id_product` = 163
ORDER BY `position`
1 1 Yes /classes/Product.php:2984
SELECT SQL_NO_CACHE *
FROM `fp_product` a
LEFT JOIN `fp_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `fp_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 163) AND (b.`id_shop` = 1) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-slicey-addon/revslider-slicey-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 84 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 78) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-typewriter-addon/revslider-typewriter-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 10) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-global-settings' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 98 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-liquideffect-addon/revslider-liquideffect-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-snow-addon/revslider-snow-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 115) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 53) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 92 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 111 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 112) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE * FROM `fp_image_type` WHERE 1 AND `products` = 1  ORDER BY `width` DESC, `height` DESC, `name`ASC
0.9 11 Yes /classes/ImageType.php:108
SELECT SQL_NO_CACHE format
FROM `fp_address_format`
WHERE `id_country` = 68 LIMIT 1
0.9 1 /classes/AddressFormat.php:616
SELECT SQL_NO_CACHE SUM(quantity)
FROM `fp_stock_available`
WHERE (id_product = 158) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.9 1 /classes/stock/StockAvailable.php:383
SELECT SQL_NO_CACHE name, value, pf.id_feature
FROM fp_feature_product pf
LEFT JOIN fp_feature_lang fl ON (fl.id_feature = pf.id_feature AND fl.id_lang = 1)
LEFT JOIN fp_feature_value_lang fvl ON (fvl.id_feature_value = pf.id_feature_value AND fvl.id_lang = 1)
LEFT JOIN fp_feature f ON (f.id_feature = pf.id_feature AND fl.id_lang = 1)
INNER JOIN fp_feature_shop feature_shop
ON (feature_shop.id_feature = f.id_feature AND feature_shop.id_shop = 1)
WHERE pf.id_product = 161
ORDER BY f.position ASC
0.9 1 Yes /classes/Product.php:4860
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 118) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 6 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 11 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE 1 FROM `fp_specific_price` WHERE id_product = 161 LIMIT 1
0.9 1 /classes/SpecificPrice.php:408
SELECT SQL_NO_CACHE id_shop
FROM `fp_lang_shop`
WHERE `id_lang` = 1
AND id_shop = 1 LIMIT 1
0.9 1 /classes/ObjectModel.php:1548
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 92) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 48 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 61 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_country_lang`
WHERE `id_country` = 68
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 158
0.9 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE * FROM fp_revslider_sliders
0.9 1 /modules/revsliderprestashop/includes/revslider_db.class.php:215
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 3) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE SUM(quantity)
FROM `fp_stock_available`
WHERE (id_product = 164) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.9 1 /classes/stock/StockAvailable.php:383
SELECT SQL_NO_CACHE `id_module` FROM `fp_module` WHERE `name` = "RevsliderPrestashop" LIMIT 1
0.9 1 /classes/module/Module.php:2603
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 16 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-whiteboard-addon/revslider-whiteboard-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 128 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 75) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 86) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-weather-addon/revslider-weather-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
IFNULL(product_attribute_shop.id_product_attribute,0) id_product_attribute, product_attribute_shop.`price` AS attribute_price, product_attribute_shop.default_on
FROM `fp_product` p
INNER JOIN `fp_product_shop` `product_shop` ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `fp_product_attribute_shop` `product_attribute_shop` ON (product_attribute_shop.id_product = p.id_product AND product_attribute_shop.id_shop = 1)
WHERE (p.`id_product` = 169)
0.9 1 /classes/Product.php:3280
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-typewriter-addon/revslider-typewriter-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-bubblemorph-addon/revslider-bubblemorph-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 47) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
IFNULL(product_attribute_shop.id_product_attribute,0) id_product_attribute, product_attribute_shop.`price` AS attribute_price, product_attribute_shop.default_on
FROM `fp_product` p
INNER JOIN `fp_product_shop` `product_shop` ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `fp_product_attribute_shop` `product_attribute_shop` ON (product_attribute_shop.id_product = p.id_product AND product_attribute_shop.id_shop = 1)
WHERE (p.`id_product` = 158)
0.9 1 /classes/Product.php:3280
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 125 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 126) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 159
0.9 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 87 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 80) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_shop` a
WHERE (a.`id_shop` = 1) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 102) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 79 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-beforeafter-addon/revslider-beforeafter-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 13) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 52) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE tr.*
FROM `fp_tax_rule` tr
JOIN `fp_tax_rules_group` trg ON (tr.`id_tax_rules_group` = trg.`id_tax_rules_group`)
WHERE trg.`active` = 1
AND tr.`id_country` = 68
AND tr.`id_tax_rules_group` = 0
AND tr.`id_state` IN (0, 0)
AND ('0' BETWEEN tr.`zipcode_from` AND tr.`zipcode_to`
OR (tr.`zipcode_to` = 0 AND tr.`zipcode_from` IN(0, '0')))
ORDER BY tr.`zipcode_from` DESC, tr.`zipcode_to` DESC, tr.`id_state` DESC, tr.`id_country` DESC
0.9 0 /classes/tax/TaxRulesTaxManager.php:110
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 41 AND `id_shop` = 1
0.9 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-static-css' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 48) LIMIT 1
0.9 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-panorama-addon/revslider-panorama-addon.php' LIMIT 1
0.9 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 8) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 89) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 14 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 60 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 23) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 19) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE ctg.`id_group`
FROM fp_category_group ctg
WHERE ctg.`id_category` = 107 AND ctg.`id_group` = 1 LIMIT 1
0.8 1 /classes/Category.php:1652
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 93 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 77) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 98) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
IFNULL(product_attribute_shop.id_product_attribute,0) id_product_attribute, product_attribute_shop.`price` AS attribute_price, product_attribute_shop.default_on
FROM `fp_product` p
INNER JOIN `fp_product_shop` `product_shop` ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `fp_product_attribute_shop` `product_attribute_shop` ON (product_attribute_shop.id_product = p.id_product AND product_attribute_shop.id_shop = 1)
WHERE (p.`id_product` = 164)
0.8 1 /classes/Product.php:3280
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 109) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
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 `fp_cart_product` cp
WHERE cp.`id_product_attribute` = 0
AND cp.`id_customization` = 0
AND cp.`id_cart` = 0 AND cp.`id_product` = 159 UNION SELECT 0 as first_level_quantity, cp.`quantity` * p.`quantity` as pack_quantity
FROM `fp_cart_product` cp JOIN `fp_pack` p ON cp.`id_product` = p.`id_product_pack` JOIN `fp_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` = 159 AND (pr.`pack_stock_type` IN (1,2) OR (
pr.`pack_stock_type` = 3
AND 0 = 1
))) as q LIMIT 1
0.8 0 /classes/Cart.php:1225
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 59) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 72) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 42 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_tax` a
WHERE (a.`id_tax` = 1) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE p.*,
pl.*,
sa.out_of_stock,
IFNULL(sa.quantity, 0) as quantity,
(DATEDIFF(
p.`date_add`,
DATE_SUB(
'2019-05-26 00:00:00',
INTERVAL 20 DAY
)
) > 0) as new
FROM fp_product p
LEFT JOIN fp_product_lang pl
ON pl.id_product = p.id_product
AND pl.id_shop = 1
AND pl.id_lang = 1
LEFT JOIN fp_stock_available sa
ON sa.id_product = p.id_product 
AND sa.id_shop = 1
WHERE p.id_product = 160
0.8 1 /classes/ProductAssembler.php:91
SELECT SQL_NO_CACHE type, id_value, filter_show_limit, filter_type FROM fp_layered_category
WHERE id_category = 107
AND id_shop = 1
GROUP BY `type`, id_value ORDER BY position ASC
0.8 1 Yes Yes /modules/ps_facetedsearch/ps_facetedsearch.php:1718
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 58 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 121 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 6) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 3 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_product` a
LEFT JOIN `fp_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `fp_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 160) AND (b.`id_shop` = 1) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
IFNULL(product_attribute_shop.id_product_attribute,0) id_product_attribute, product_attribute_shop.`price` AS attribute_price, product_attribute_shop.default_on
FROM `fp_product` p
INNER JOIN `fp_product_shop` `product_shop` ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `fp_product_attribute_shop` `product_attribute_shop` ON (product_attribute_shop.id_product = p.id_product AND product_attribute_shop.id_shop = 1)
WHERE (p.`id_product` = 162)
0.8 1 /classes/Product.php:3280
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 72 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_group` a
LEFT JOIN `fp_group_shop` `c` ON a.`id_group` = c.`id_group` AND c.`id_shop` = 1
WHERE (a.`id_group` = 1) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 124) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 126 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 18) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 57) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl
FROM fp_shop s
LEFT JOIN fp_shop_url su ON (s.id_shop = su.id_shop)
WHERE s.id_shop = 1
AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1
0.8 1 /classes/shop/Shop.php:203
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 74) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 101) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE option_value FROM `fp_revslider_options` WHERE `option_name`='revslider-slicey-addon/revslider-slicey-addon.php' LIMIT 1
0.8 14 /modules/revsliderprestashop/includes/revslider_db.class.php:193
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 4 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 95 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 26) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
IFNULL(product_attribute_shop.id_product_attribute,0) id_product_attribute, product_attribute_shop.`price` AS attribute_price, product_attribute_shop.default_on
FROM `fp_product` p
INNER JOIN `fp_product_shop` `product_shop` ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `fp_product_attribute_shop` `product_attribute_shop` ON (product_attribute_shop.id_product = p.id_product AND product_attribute_shop.id_shop = 1)
WHERE (p.`id_product` = 157)
0.8 1 /classes/Product.php:3280
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 75 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 19 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group`, pa.`reference`, pa.`ean13`, pa.`isbn`,pa.`upc`
FROM `fp_attribute` a
LEFT JOIN `fp_attribute_lang` al
ON (al.`id_attribute` = a.`id_attribute` AND al.`id_lang` = 1)
LEFT JOIN `fp_product_attribute_combination` pac
ON (pac.`id_attribute` = a.`id_attribute`)
LEFT JOIN `fp_product_attribute` pa
ON (pa.`id_product_attribute` = pac.`id_product_attribute`)
INNER JOIN fp_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 `fp_attribute_group_lang` agl
ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 1)
WHERE pa.`id_product` = 161
AND pac.`id_product_attribute` = 0
AND agl.`id_lang` = 1
0.8 0 /classes/Product.php:6020
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 76 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 97) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 63 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 53 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74
SELECT SQL_NO_CACHE *
FROM `fp_category` a
LEFT JOIN `fp_category_shop` `c` ON a.`id_category` = c.`id_category` AND c.`id_shop` = 1
WHERE (a.`id_category` = 58) LIMIT 1
0.8 1 /src/Adapter/EntityMapper.php:67
SELECT SQL_NO_CACHE *
FROM `fp_category_lang`
WHERE `id_category` = 7 AND `id_shop` = 1
0.8 1 /src/Adapter/EntityMapper.php:74