0 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.* FROM tbl_dictionary
WHERE ifnull(scope,'') = ""
| 738μs |
1 | SELECT FOUND_ROWS() AS totrow | 206μs |
2 | SELECT SQL_CALC_FOUND_ROWS
tbl_settings.* FROM tbl_settings
WHERE (company_code = 1 OR company_code = '')
AND (shop_code = "seacsub" OR shop_code = '')
| 857μs |
3 | SELECT FOUND_ROWS() AS totrow | 113μs |
4 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-01 00:12:27' AND to_date > '2024-11-01 00:12:27' AND (order_type = 1 OR order_type = "") AND (company_code = 1) AND
company_code = 1
| 1.27ms |
5 | SELECT FOUND_ROWS() AS totrow | 172μs |
6 | SELECT SQL_CALC_FOUND_ROWS
tbl_catalog_categories_product.id,
tbl_catalog_categories_product.parent_id FROM tbl_catalog_categories_product
where enabled = 1 and tbl_catalog_categories_product.id in(SELECT
tpcct.category_id
FROM tbl_products tp
INNER JOIN tbl_families_product tfp ON (tp.family_code = tfp.code) INNER JOIN tbl_categories_product tctp ON (tp.category_code = tctp.code)
LEFT OUTER JOIN tbl_products_price_lists tppl ON (tppl.product_code = tp.code AND tppl.company_code = 1 AND tppl.currency = "99" AND tppl.code = "-1") LEFT OUTER JOIN tbl_products_price_lists tppl_c ON (tppl_c.product_code = tp.code AND tppl_c.company_code = 1 AND tppl_c.currency = '99' AND tppl_c.code = '01')
INNER JOIN tbl_products_catalog_categories tpcct ON (tp.code = tpcct.product_code)
WHERE tpcct.category_id is not null and tfp.enabled = 1 AND tctp.enabled = 1 AND tp.enabled = 1 AND tppl_c.price > 0
GROUP BY
tpcct.category_id
) and (tbl_catalog_categories_product.view_type LIKE '%"0"%' || tbl_catalog_categories_product.view_type LIKE '%"1"%')
| 249μs |
7 | SELECT FOUND_ROWS() AS totrow | 151μs |
8 | SELECT SQL_CALC_FOUND_ROWS
tbl_catalog_categories_product.id,
tbl_catalog_categories_product.name_it AS name,
tbl_catalog_categories_product.name_it AS name_default,
tbl_catalog_categories_product.nright,
tbl_catalog_categories_product.nleft,
tbl_catalog_categories_product.image,
tbl_catalog_categories_product.stages_category,
tbl_catalog_categories_product.parent_id AS parent FROM tbl_catalog_categories_product
WHERE id in(1,1,1,1,1,1,1,1,1,15,15,15,47,47,47,47,47,47,47,1,1,1,15,15,15,15,15,15,152,152,152,152,152,152,152,152,152,152,152,152,152,152,152,152,170,170,170,170,170,170,170,170,47,1,15,15,15,1,2,4,5,6,7,10,11,13,14,20,25,26,48,49,50,51,52,55,56,143,144,145,146,147,148,149,150,151,153,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,171,173,175,176,177,178,180,181,182,183,184,186,224,251)
ORDER BY
tbl_catalog_categories_product.sorting asc | 178μs |
9 | SELECT FOUND_ROWS() AS totrow | 88μs |
10 | SELECT SQL_CALC_FOUND_ROWS
tbl_pages.url,
tbl_pages.id,
tbl_pages.title_it AS title,
tbl_pages.excerpt_it AS excerpt,
tbl_pages.content_it AS content,
tbl_pages.meta_title_it AS meta_title,
tbl_pages.meta_keywords_it AS meta_keywords,
tbl_pages.meta_description_it AS meta_description,
tbl_pages.title_it AS title_default,
tbl_pages.excerpt_it AS excerpt_default,
tbl_pages.content_it AS content_default,
tbl_pages.meta_title_it AS meta_title_default,
tbl_pages.meta_keywords_it AS meta_keywords_default,
tbl_pages.meta_description_it AS meta_description_default FROM tbl_pages
WHERE url = "catalog.php" AND enabled = 1 AND
company_code in(0,1)
LIMIT 0, 1 | 192μs |
11 | SELECT SQL_CALC_FOUND_ROWS
tbl_banners.position,
tbl_banners.id,
tbl_banners.title_it AS title,
tbl_banners.subtitle_it AS subtitle,
tbl_banners.excerpt_it AS excerpt,
tbl_banners.link_text_it AS link_text,
tbl_banners.link_it AS link,
tbl_banners.image_it AS image,
tbl_banners.icon,
tbl_banners.page_id,
tbl_banners.category_id,
tbl_banners.view_type,
tbl_banners.title_it AS title_default,
tbl_banners.subtitle_it AS subtitle_default,
tbl_banners.excerpt_it AS excerpt_default,
tbl_banners.link_text_it AS link_text_default,
tbl_banners.link_it AS link_default,
tbl_banners.image_it AS image_default FROM tbl_banners
WHERE enabled = 1 AND (shop_code = "seacsub" OR shop_code = "") AND ( page_id LIKE '%"5"%' AND
(category_id LIKE '%"25"%' OR category_id LIKE '%"0"%') AND
(view_type LIKE '%"0"%' OR view_type LIKE '%"1"%')) AND
company_code in(0,1)
ORDER BY
tbl_banners.sorting asc | 344μs |
12 | SELECT FOUND_ROWS() AS totrow | 137μs |
13 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-01 00:12:27' AND to_date > '2024-11-01 00:12:27' AND (order_type = 1 OR order_type = "") AND (company_code = 1) AND
company_code = 1
| 426μs |
14 | SELECT FOUND_ROWS() AS totrow | 228μs |
15 | SELECT SQL_CALC_FOUND_ROWS
tp.code_master AS code,
tpd.name_it AS name,
tpd.title_it AS title,
tpd.excerpt_it AS excerpt,
tpd.description_it AS description,
tpd.name_it AS name_default,
tpd.title_it AS title_default,
tpd.excerpt_it AS excerpt_default,
tpd.description_it AS description_default,
tp.family_code,
tfp.name_it AS family_name,
tfp.name_it AS family_name_default,
tp.season_code,
tp.gender_code,
tpd.meta_title_it AS meta_title,
tpd.meta_keywords_it AS meta_keywords,
tpd.meta_description_it AS meta_description,
tpd.meta_title_it AS meta_title_default,
tpd.meta_keywords_it AS meta_keywords_default,
tpd.meta_description_it AS meta_description_default,
tctp.label_variant1_it AS label_variant1,
tctp.label_variant2_it AS label_variant2,
tctp.label_variant1_it AS label_variant1_default,
tctp.label_variant2_it AS label_variant2_default,
tctp.variant_image,
tp.own_production,
tp.pack,
tpd.default_variant1,
tp.featured,
tp.featured2,
MAX(tppl.discount1) AS discount1,
MAX(tppl.discount2) AS discount2,
MAX(tppl.discount3) AS discount3,
MIN(tppl.price) AS original_price,
tppl.currency,
MIN(productPrice(tppl.price,tppl.discount1,tppl.discount2,tppl.discount3)) AS price,
MAX(tp.featured) AS featured,
MAX(tp.featured2) AS featured2,
MAX(tp.new) AS new,
tp.code AS product_image_code
FROM tbl_products tp
INNER JOIN tbl_products_descriptions tpd ON (tpd.product_code_master = tp.code_master) INNER JOIN tbl_families_product tfp ON (tp.family_code = tfp.code) INNER JOIN tbl_categories_product tctp ON (tp.category_code = tctp.code)
LEFT OUTER JOIN tbl_products_price_lists tppl ON (tppl.product_code = tp.code AND tppl.company_code = 1 AND tppl.currency = "99" AND tppl.code = "-1") LEFT OUTER JOIN tbl_products_price_lists tppl_c ON (tppl_c.product_code = tp.code AND tppl_c.company_code = 1 AND tppl_c.currency = '99' AND tppl_c.code = '01')
LEFT OUTER JOIN tbl_products_catalog_categories tpcct ON (tp.code = tpcct.product_code) LEFT OUTER JOIN tbl_catalog_categories_product tcctp ON (tcctp.id = tpcct.category_id)
WHERE tfp.enabled = 1 AND tctp.enabled = 1 AND tp.enabled = 1 AND tppl_c.price > 0 AND tcctp.nright <= 39 and tcctp.nleft >= 38
GROUP BY
tp.code_master
ORDER BY
tpd.sorting asc
LIMIT 0, 8 | 23.36ms |
16 | SELECT FOUND_ROWS() AS totrow | 216μs |
17 | SELECT SQL_CALC_FOUND_ROWS
tbl_image_repository.*,
tbl_products_images.product_code,
tbl_products_images.sorting,
tbl_products_images.hidden,
tbl_products_images.id AS rel_id
FROM tbl_image_repository
LEFT JOIN tbl_products_images ON (tbl_image_repository.id = tbl_products_images.image_id)
LEFT JOIN tbl_products ON (tbl_products_images.product_code = tbl_products.code)
WHERE tbl_products_images.product_code IN ('1500021520440A','1500001000410A','1500012020410A','1500010018380A','1500018520406A','1500015160450A','1500019131450A','1500016526450A')
ORDER BY
tbl_products_images.sorting ASC
| 491μs |
18 | SELECT SQL_CALC_FOUND_ROWS
tp.code_master,
tp.color_code,
tszp.code,
tszp.name_it AS name,
tszp.name_it AS name_default
FROM tbl_products tp
LEFT OUTER JOIN tbl_sizes_product tszp ON (tp.size = tszp.code)
WHERE (tszp.id IS NOT NULL OR tp.size = '000') AND tp.code_master IN ("1500021","1500001","1500012","1500010","1500018","1500015","1500019","1500016") AND tp.enabled = 1
GROUP BY
tp.code
ORDER BY
tszp.sorting asc,tszp.id asc | 348μs |
19 | SELECT FOUND_ROWS() AS totrow | 152μs |
20 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-01 00:12:27' AND to_date > '2024-11-01 00:12:27' AND (order_type = 1 OR order_type = "") AND (company_code = 1) AND
company_code = 1
| 157μs |
21 | SELECT FOUND_ROWS() AS totrow | 134μs |
22 | SELECT SQL_CALC_FOUND_ROWS
tp.id,
tp.code,
tp.code_master,
tp.color_code,
tcp.name_it AS color_name,
tcp.name_it AS color_name_default,
tpd.name_it,
tpd.name_it AS name_default,
tp.size,
tszp.name_it AS size_name,
tszp.name_it AS size_name_default,
tszp.sorting AS size_sorting,
(tpst.quantity - IFNULL(torr_stb.quantity,0)) AS availability,
tpst.availability_date,
(tpst.future_quantity - IFNULL(torr_stb.quantity,0)) AS future_availability,
tpst.coming_arrivals_quantity,
tpst.coming_arrivals_date,
tp.family_code,
tp.category_code,
tpd.line_code,
tp.season_code,
tp.gender_code,
tp.commercial_code,
tp.own_production,
tp.pack,
tppl.discount1 AS discount1,
tppl.discount2 AS discount2,
tppl.discount3 AS discount3,
productPrice(tppl.price,tppl.discount1,tppl.discount2,tppl.discount3) AS price,
tppl.price AS original_price,
tp.hide_price,
tppl.currency,
tp.code AS product_image_code
FROM tbl_products tp
INNER JOIN tbl_products_descriptions tpd ON (tpd.product_code_master = tp.code_master) INNER JOIN tbl_families_product tfp ON (tp.family_code = tfp.code) INNER JOIN tbl_categories_product tctp ON (tp.category_code = tctp.code)
LEFT OUTER JOIN tbl_colors_product tcp ON (tp.color_code = tcp.code)
LEFT OUTER JOIN tbl_sizes_product tszp ON (tp.size = tszp.code)
LEFT OUTER JOIN tbl_products_price_lists tppl ON (tppl.product_code = tp.code AND tppl.company_code = 1 AND tppl.currency = "99" AND tppl.code = "-1") LEFT OUTER JOIN tbl_products_price_lists tppl_c ON (tppl_c.product_code = tp.code AND tppl_c.company_code = 1 AND tppl_c.currency = '99' AND tppl_c.code = '01') LEFT OUTER JOIN tbl_products_stocks tpst ON (tpst.product_code = tp.code AND tpst.company_code = "1") LEFT OUTER JOIN (SELECT torr.product_code, SUM(torr.quantity) AS quantity FROM tbl_orders_rows torr JOIN tbl_orders tor on tor.id = torr.order_id WHERE tor.company_code = "1" AND torr.order_status IN ('ordered') AND torr.aside = 0
AND torr.canceled = 0 AND torr.order_type != 5 and tor.order_status >= -1
GROUP BY product_code) torr_stb ON (torr_stb.product_code = tp.code)
LEFT OUTER JOIN tbl_products_catalog_categories tpcct ON (tp.code = tpcct.product_code) LEFT OUTER JOIN tbl_catalog_categories_product tcctp ON (tcctp.id = tpcct.category_id)
WHERE tfp.enabled = 1 AND tctp.enabled = 1 AND tp.enabled = 1 AND tppl_c.price > 0 AND code_master IN ("1500021","1500001","1500012","1500010","1500018","1500015","1500019","1500016") AND tcctp.nright <= 39 and tcctp.nleft >= 38
GROUP BY
tp.code
ORDER BY
tp.color_code asc,tszp.sorting asc | 197ms |
23 | SELECT FOUND_ROWS() AS totrow | 274μs |
24 | SELECT SQL_CALC_FOUND_ROWS
tbl_image_repository.*,
tbl_products_images.product_code,
tbl_products_images.sorting,
tbl_products_images.hidden,
tbl_products_images.id AS rel_id
FROM tbl_image_repository
LEFT JOIN tbl_products_images ON (tbl_image_repository.id = tbl_products_images.image_id)
LEFT JOIN tbl_products ON (tbl_products_images.product_code = tbl_products.code)
WHERE tbl_products_images.product_code IN ('1500001000410A','1500001000415A','1500001000420A','1500001000425A','1500001000430A','1500001000435A','1500001000440A','1500001000445A','1500001000450A','1500001000455A','1500001000460A','1500001000465A','1500001000470A','1500001000475A','1500001000480A','1500001000485A','1500001000490A','1500001000495A','1500001000500A','1500001000505A','1500010018380A','1500010018385A','1500010018390A','1500010018395A','1500010018400A','1500010018405A','1500010018410A','1500010018415A','1500010018420A','1500010018425A','1500010018430A','1500010018435A','1500010018440A','1500010018445A','1500012020410A','1500012020415A','1500012020420A','1500012020425A','1500012020430A','1500012020435A','1500012020440A','1500012020445A','1500012020450A','1500012020455A','1500012020460A','1500012020465A','1500012020470A','1500012020475A','1500012020480A','1500012020485A','1500012020490A','1500012020495A','1500012020500A','1500012125410A','1500012125415A','1500012125420A','1500012125425A','1500012125430A','1500012125435A','1500012125440A','1500012125445A','1500012125450A','1500012125455A','1500012125460A','1500012125465A','1500012125470A','1500012125475A','1500012125480A','1500012125485A','1500012125490A','1500012125495A','1500012125500A','1500019131450A','1500019131455A','1500019131460A','1500019131465A','1500019131470A','1500019131475A','1500019131480A','1500019131485A','1500019131490A','1500019131495A','1500019131500A','1500019131505A','1500015160450A','1500015160455A','1500015160460A','1500015160465A','1500015160470A','1500015160475A','1500015160480A','1500015160485A','1500015160490A','1500015160495A','1500015160500A','1500001400410A','1500001400415A','1500001400420A','1500001400425A','1500001400430A','1500001400435A','1500001400440A','1500001400445A','1500001400450A','1500001400455A','1500001400460A','1500001400465A','1500001400470A','1500001400475A','1500001400480A','1500001400485A','1500001400490A','1500001400495A','1500001400500A','1500018520406A','1500018520416A','1500018520426A','1500018520436A','1500021520440A','1500021520445A','1500018520446A','1500021520450A','1500021520455A','1500018520456A','1500021520460A','1500021520465A','1500018520466A','1500021520470A','1500021520475A','1500018520476A','1500021520480A','1500021520485A','1500018520486A','1500021520490A','1500021520495A','1500018520496A','1500021520500A','1500021520505A','1500016526450A','1500016526455A','1500016526460A','1500016526465A','1500016526470A','1500016526475A','1500016526480A','1500016526485A','1500016526490A','1500016526495A','1500016531450A','1500016531455A','1500016531460A','1500016531465A','1500016531470A','1500016531475A','1500016531480A','1500016531485A','1500016531490A','1500016531495A','1500018800406A','1500018800416A','1500018800426A','1500018800436A','1500018800446A','1500018800456A','1500018800466A','1500018800476A','1500018800486A','1500018800496A','1500015882450A','1500015882455A','1500015882460A','1500015882465A','1500015882470A','1500015882475A','1500015882480A','1500015882485A','1500015882490A','1500015882495A','1500015882500A')
ORDER BY
tbl_products_images.sorting ASC
| 790μs |
25 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-01 00:12:27' AND to_date > '2024-11-01 00:12:27' AND (order_type = 1 OR order_type = "") AND (company_code = 1) AND
company_code = 1
| 202μs |
26 | SELECT FOUND_ROWS() AS totrow | 241μs |
27 | SELECT SQL_CALC_FOUND_ROWS
tszp.code,
tszp.name_it AS name,
tszp.name_it AS name_default
FROM tbl_products tp
INNER JOIN tbl_families_product tfp ON (tp.family_code = tfp.code) INNER JOIN tbl_categories_product tctp ON (tp.category_code = tctp.code)
LEFT OUTER JOIN tbl_sizes_product tszp ON (tp.size = tszp.code)
LEFT OUTER JOIN tbl_products_price_lists tppl ON (tppl.product_code = tp.code AND tppl.company_code = 1 AND tppl.currency = "99" AND tppl.code = "-1") LEFT OUTER JOIN tbl_products_price_lists tppl_c ON (tppl_c.product_code = tp.code AND tppl_c.company_code = 1 AND tppl_c.currency = '99' AND tppl_c.code = '01')
LEFT OUTER JOIN tbl_products_catalog_categories tpcct ON (tp.code = tpcct.product_code) LEFT OUTER JOIN tbl_catalog_categories_product tcctp ON (tcctp.id = tpcct.category_id)
WHERE tfp.enabled = 1 AND tctp.enabled = 1 AND tp.enabled = 1 AND tppl_c.price > 0 AND tcctp.nright <= 39 and tcctp.nleft >= 38 AND tszp.id IS NOT NULL AND tszp.type = 1
GROUP BY
tszp.name_it
ORDER BY
tszp.sorting asc | 199μs |
28 | SELECT FOUND_ROWS() AS totrow | 136μs |
29 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-01 00:12:27' AND to_date > '2024-11-01 00:12:27' AND (order_type = 1 OR order_type = "") AND (company_code = 1) AND
company_code = 1
| 108μs |
30 | SELECT FOUND_ROWS() AS totrow | 107μs |
31 | SELECT SQL_CALC_FOUND_ROWS
tgp.code,
tgp.name_it AS name,
tgp.name_it AS name_default
FROM tbl_products tp
INNER JOIN tbl_families_product tfp ON (tp.family_code = tfp.code) INNER JOIN tbl_categories_product tctp ON (tp.category_code = tctp.code)
LEFT OUTER JOIN tbl_genders_product tgp ON (tp.gender_code = tgp.code)
LEFT OUTER JOIN tbl_products_price_lists tppl ON (tppl.product_code = tp.code AND tppl.company_code = 1 AND tppl.currency = "99" AND tppl.code = "-1") LEFT OUTER JOIN tbl_products_price_lists tppl_c ON (tppl_c.product_code = tp.code AND tppl_c.company_code = 1 AND tppl_c.currency = '99' AND tppl_c.code = '01')
LEFT OUTER JOIN tbl_products_catalog_categories tpcct ON (tp.code = tpcct.product_code) LEFT OUTER JOIN tbl_catalog_categories_product tcctp ON (tcctp.id = tpcct.category_id)
WHERE tfp.enabled = 1 AND tctp.enabled = 1 AND tp.enabled = 1 AND tppl_c.price > 0 AND tcctp.nright <= 39 and tcctp.nleft >= 38 AND tgp.id IS NOT NULL
GROUP BY
tgp.id
ORDER BY
tgp.sorting asc | 112μs |
32 | SELECT FOUND_ROWS() AS totrow | 85μs |
33 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_it AS translate FROM tbl_dictionary
WHERE
slug = "068f80c7519d0528fb08e82137a72131" and scope is null
LIMIT 0, 1 | 144μs |
34 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.string,
tbl_dictionary.translate_it AS translate FROM tbl_dictionary
WHERE ifnull(scope,'') = ""
| 404μs |
35 | SELECT FOUND_ROWS() AS totrow | 243μs |