0 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.* FROM tbl_dictionary
WHERE ifnull(scope,'') = ""
| 859μs |
1 | SELECT FOUND_ROWS() AS totrow | 259μs |
2 | SELECT SQL_CALC_FOUND_ROWS
tbl_settings.* FROM tbl_settings
WHERE (company_code = 2 OR company_code = '')
AND (shop_code = "seacsub" OR shop_code = '')
| 1.26ms |
3 | SELECT FOUND_ROWS() AS totrow | 209μs |
4 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "19ec5b589f66eb57230083177d6e5468" and scope is null
LIMIT 0, 1 | 238μs |
5 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-21 07:23:48' AND to_date > '2024-11-21 07:23:48' AND (order_type = 1 OR order_type = "") AND (company_code = 2) AND
company_code = 2
| 1.19ms |
6 | SELECT FOUND_ROWS() AS totrow | 161μs |
7 | 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 = 2 AND tppl.currency = "1" 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 = 2 AND tppl_c.currency = '1' 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"%')
| 244μs |
8 | SELECT FOUND_ROWS() AS totrow | 108μs |
9 | SELECT SQL_CALC_FOUND_ROWS
tbl_catalog_categories_product.id,
tbl_catalog_categories_product.name_en 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,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,1,15,15,58,15,1,2,4,5,6,7,10,11,13,14,20,25,26,48,49,50,51,52,55,56,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,183,184,186,187,224,251)
ORDER BY
tbl_catalog_categories_product.sorting asc | 150μs |
10 | SELECT FOUND_ROWS() AS totrow | 187μs |
11 | SELECT SQL_CALC_FOUND_ROWS
tbl_pages.url,
tbl_pages.id,
tbl_pages.title_en AS title,
tbl_pages.excerpt_en AS excerpt,
tbl_pages.content_en AS content,
tbl_pages.meta_title_en AS meta_title,
tbl_pages.meta_keywords_en AS meta_keywords,
tbl_pages.meta_description_en 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,2)
LIMIT 0, 1 | 230μs |
12 | SELECT SQL_CALC_FOUND_ROWS
tbl_banners.position,
tbl_banners.id,
tbl_banners.title_en AS title,
tbl_banners.subtitle_en AS subtitle,
tbl_banners.excerpt_en AS excerpt,
tbl_banners.link_text_en AS link_text,
tbl_banners.link_en AS link,
tbl_banners.image_en 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 '%"1"%' OR category_id LIKE '%"0"%') AND
(view_type LIKE '%"0"%' OR view_type LIKE '%"1"%')) AND
company_code in(0,2)
ORDER BY
tbl_banners.sorting asc | 923μs |
13 | SELECT FOUND_ROWS() AS totrow | 131μs |
14 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-21 07:23:48' AND to_date > '2024-11-21 07:23:48' AND (order_type = 1 OR order_type = "") AND (company_code = 2) AND
company_code = 2
| 408μs |
15 | SELECT FOUND_ROWS() AS totrow | 208μs |
16 | SELECT SQL_CALC_FOUND_ROWS
tp.code_master AS code,
tpd.name_en AS name,
tpd.title_en AS title,
tpd.excerpt_en AS excerpt,
tpd.description_en 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_en AS family_name,
tfp.name_it AS family_name_default,
tp.season_code,
tp.gender_code,
tpd.meta_title_en AS meta_title,
tpd.meta_keywords_en AS meta_keywords,
tpd.meta_description_en 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_en AS label_variant1,
tctp.label_variant2_en 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 = 2 AND tppl.currency = "1" 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 = 2 AND tppl_c.currency = '1' 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 <= 32 and tcctp.nleft >= 1 AND featured = 1
GROUP BY
tp.code_master
ORDER BY
(if(ifnull(tcctp.sorting,0) = 0,999,tcctp.sorting)) asc, tcctp.id asc, tpd.sorting asc
LIMIT 0, 8 | 53.45ms |
17 | SELECT FOUND_ROWS() AS totrow | 295μs |
18 | 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 ('1600006000538A','1600008000525A','0420040000025A','0060001009080A','0010372350040A','5050020070080A','0710004160461A')
ORDER BY
tbl_products_images.sorting ASC
| 2.13ms |
19 | SELECT SQL_CALC_FOUND_ROWS
tp.code_master,
tp.color_code,
tszp.code,
tszp.name_en 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 ("1600006","1600008","0420040","0060001","0010372L5","5050020","0710004") AND tp.enabled = 1
GROUP BY
tp.code
ORDER BY
tszp.sorting asc,tszp.id asc | 2.14ms |
20 | SELECT FOUND_ROWS() AS totrow | 130μs |
21 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-21 07:23:48' AND to_date > '2024-11-21 07:23:48' AND (order_type = 1 OR order_type = "") AND (company_code = 2) AND
company_code = 2
| 143μs |
22 | SELECT FOUND_ROWS() AS totrow | 97μs |
23 | SELECT SQL_CALC_FOUND_ROWS
tp.id,
tp.code,
tp.code_master,
tp.color_code,
tcp.name_en AS color_name,
tcp.name_it AS color_name_default,
tpd.name_en,
tpd.name_it AS name_default,
tp.size,
tszp.name_en 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 = 2 AND tppl.currency = "1" 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 = 2 AND tppl_c.currency = '1' AND tppl_c.code = '01') LEFT OUTER JOIN tbl_products_stocks tpst ON (tpst.product_code = tp.code AND tpst.company_code = "2") 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 = "2" 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 ("1600006","1600008","0420040","0060001","0010372L5","5050020","0710004") AND tcctp.nright <= 32 and tcctp.nleft >= 1
GROUP BY
tp.code
ORDER BY
tp.color_code asc,tszp.sorting asc | 83.69ms |
24 | SELECT FOUND_ROWS() AS totrow | 274μs |
25 | 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 ('0420040000025A','0420040000040A','0420040000055A','0420040000080A','0420040000105A','0010372350042A','0010372350041A','0010372350025A','0010372350060A','0010372350040A','0010372350055A','0010372350065A','0010372350080A','0010372350105A','0060001009040A','0060001009091A','0060001009055A','0060001009080A','0060001009105A','0060001009121A','0060001009125A','0060001009145A','0060001009141A','0060001009156A','0060001009160A','5050020070015A','5050020070025A','5050020070040A','5050020070055A','5050020070080A','5050020070105A','5050020070125A','5050020070145A','5050020070160A','0710004120451A','0710004120461A','0710004120471A','0710004120481A','0710004120491A','0710004120501A','0710004160451A','0710004160461A','0710004160471A','0710004160481A','0710004160491A','0710004160501A','0710004360451A','0710004360461A','0710004360471A','0710004360481A','0710004360491A','0710004360501A','0710004520451A','0710004520461A','0710004520471A','0710004520481A','0710004520491A','0710004520501A','0710004799451A','0710004799461A','0710004799471A','0710004799481A','0710004799491A','0710004799501A','1600008000525A','1600006000525A','1600008000538A','1600006000538A','1600006000520A','1600008000524A')
ORDER BY
tbl_products_images.sorting ASC
| 6.48ms |
26 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "e22269bb51f9f2394e148716babbafbb" and scope is null
LIMIT 0, 1 | 201μs |
27 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "736120e08cfee521afef5c51679f66bb" and scope is null
LIMIT 0, 1 | 96μs |
28 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "00686485645fd43d1965cda6eff84e50" and scope is null
LIMIT 0, 1 | 80μs |
29 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "99a1e453ffb1d3b779ae38ac923bafd3" and scope is null
LIMIT 0, 1 | 76μs |
30 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "c736112524766db4e73a906b4a2edadd" and scope is null
LIMIT 0, 1 | 77μs |
31 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-21 07:23:48' AND to_date > '2024-11-21 07:23:48' AND (order_type = 1 OR order_type = "") AND (company_code = 2) AND
company_code = 2
| 140μs |
32 | SELECT FOUND_ROWS() AS totrow | 137μs |
33 | SELECT SQL_CALC_FOUND_ROWS
tszp.code,
tszp.name_en 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 = 2 AND tppl.currency = "1" 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 = 2 AND tppl_c.currency = '1' 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 <= 32 and tcctp.nleft >= 1 AND tszp.id IS NOT NULL AND tszp.type = 1
GROUP BY
tszp.name_it
ORDER BY
tszp.sorting asc | 61.41ms |
34 | SELECT FOUND_ROWS() AS totrow | 540μs |
35 | SELECT SQL_CALC_FOUND_ROWS
tbl_exclusions.* FROM tbl_exclusions
WHERE enabled = 1 AND from_date < '2024-11-21 07:23:48' AND to_date > '2024-11-21 07:23:48' AND (order_type = 1 OR order_type = "") AND (company_code = 2) AND
company_code = 2
| 225μs |
36 | SELECT FOUND_ROWS() AS totrow | 177μs |
37 | SELECT SQL_CALC_FOUND_ROWS
tgp.code,
tgp.name_en 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 = 2 AND tppl.currency = "1" 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 = 2 AND tppl_c.currency = '1' 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 <= 32 and tcctp.nleft >= 1 AND tgp.id IS NOT NULL
GROUP BY
tgp.id
ORDER BY
tgp.sorting asc | 59.77ms |
38 | SELECT FOUND_ROWS() AS totrow | 278μs |
39 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "cf8156f1f57a8603cd6b3a28c9c2c61b" and scope is null
LIMIT 0, 1 | 152μs |
40 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "68cb97e86fabb3cc85d81e5d09089d31" and scope is null
LIMIT 0, 1 | 173μs |
41 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "c44a1a3420df56fe335fab4668d57c90" and scope is null
LIMIT 0, 1 | 89μs |
42 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "9ce416335987b4dfdc083db1fde250e2" and scope is null
LIMIT 0, 1 | 81μs |
43 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "ff6fbc0f84e2abc908206014316f0b99" and scope is null
LIMIT 0, 1 | 159μs |
44 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "1113fca866539d319db4413175dc1bd1" and scope is null
LIMIT 0, 1 | 87μs |
45 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE
slug = "0a0b6f3f2fb36e77b9788457562b95e0" and scope is null
LIMIT 0, 1 | 72μs |
46 | SELECT SQL_CALC_FOUND_ROWS
tbl_dictionary.string,
tbl_dictionary.translate_en AS translate FROM tbl_dictionary
WHERE ifnull(scope,'') = ""
| 400μs |
47 | SELECT FOUND_ROWS() AS totrow | 181μs |