| 1 |
2.06 ms |
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1
Parameters: [
"acooptest03.taller.fesomia.net"
1
]
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = 'acooptest03.taller.fesomia.net' AND t0.enabled = 1 ORDER BY t0.id ASC LIMIT 1;
|
| 2 |
0.77 ms |
SELECT COUNT(*) FROM sylius_channel t0
SELECT COUNT(*) FROM sylius_channel t0;
|
| 3 |
0.77 ms |
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id LIMIT 1
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id LIMIT 1;
|
| 4 |
1.17 ms |
SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ?
SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = 2;
|
| 5 |
4.05 ms |
SELECT vendor.id, vendor_actor.actor_id AS vendor_actor_id, vendor.name, vendor.slug, logo.path AS image_path,
EXISTS(
SELECT 1
FROM b2b_document document
WHERE document.vendor_actor_id = vendor_actor.actor_id
AND document.document_type = ?
AND document.visibility = ?
) AS has_commercial_catalog
FROM vendor
INNER JOIN b2b_vendor_actor vendor_actor ON vendor_actor.vendor_id = vendor.id
INNER JOIN b2b_actor actor ON actor.id = vendor_actor.actor_id
LEFT JOIN vendor_logo logo ON logo.owner_id = vendor.id
WHERE vendor.slug = ?
AND vendor.enabled = 1
AND actor.status = 'active'
LIMIT 1
Parameters: [
"catàleg comercial"
"public"
"melmuria"
]
SELECT vendor.id, vendor_actor.actor_id AS vendor_actor_id, vendor.name, vendor.slug, logo.path AS image_path,
EXISTS(
SELECT 1
FROM b2b_document document
WHERE document.vendor_actor_id = vendor_actor.actor_id
AND document.document_type = 'catàleg comercial'
AND document.visibility = 'public'
) AS has_commercial_catalog
FROM vendor
INNER JOIN b2b_vendor_actor vendor_actor ON vendor_actor.vendor_id = vendor.id
INNER JOIN b2b_actor actor ON actor.id = vendor_actor.actor_id
LEFT JOIN vendor_logo logo ON logo.owner_id = vendor.id
WHERE vendor.slug = 'melmuria'
AND vendor.enabled = 1
AND actor.status = 'active'
LIMIT 1;
|
| 6 |
2.99 ms |
SELECT locale, short_description FROM vendor_translation WHERE translatable_id = ?
SELECT locale, short_description FROM vendor_translation WHERE translatable_id = 155;
|
| 7 |
31.43 ms |
SELECT DISTINCT
taxon.id AS taxon_id,
translation.locale,
translation.name,
translation.slug,
image.path AS icon_path
FROM b2b_catalog_item catalog_item
INNER JOIN sylius_taxon taxon ON taxon.id = catalog_item.category_taxon_id
INNER JOIN sylius_taxon_translation translation ON translation.translatable_id = taxon.id
LEFT JOIN sylius_taxon_image image ON image.owner_id = taxon.id AND image.type = 'icon'
WHERE catalog_item.vendor_actor_id = ?
AND translation.name <> ''
ORDER BY taxon.id ASC, translation.locale ASC
SELECT DISTINCT
taxon.id AS taxon_id,
translation.locale,
translation.name,
translation.slug,
image.path AS icon_path
FROM b2b_catalog_item catalog_item
INNER JOIN sylius_taxon taxon ON taxon.id = catalog_item.category_taxon_id
INNER JOIN sylius_taxon_translation translation ON translation.translatable_id = taxon.id
LEFT JOIN sylius_taxon_image image ON image.owner_id = taxon.id AND image.type = 'icon'
WHERE catalog_item.vendor_actor_id = 13
AND translation.name <> ''
ORDER BY taxon.id ASC, translation.locale ASC;
|
| 8 |
1.15 ms |
SELECT attribute.id AS attribute_id, attribute.configuration, attribute_value.json_value
FROM sylius_product product
INNER JOIN sylius_product_attribute_value attribute_value ON attribute_value.product_id = product.id
INNER JOIN sylius_product_attribute attribute ON attribute.id = attribute_value.attribute_id
WHERE product.vendor_id = ?
AND product.enabled = 1
AND attribute.type = 'select_image'
AND attribute_value.json_value IS NOT NULL
SELECT attribute.id AS attribute_id, attribute.configuration, attribute_value.json_value
FROM sylius_product product
INNER JOIN sylius_product_attribute_value attribute_value ON attribute_value.product_id = product.id
INNER JOIN sylius_product_attribute attribute ON attribute.id = attribute_value.attribute_id
WHERE product.vendor_id = 155
AND product.enabled = 1
AND attribute.type = 'select_image'
AND attribute_value.json_value IS NOT NULL;
|
| 9 |
0.67 ms |
SELECT document.id, document.document_type
FROM b2b_document document
WHERE document.vendor_actor_id = ?
AND document.visibility = 'public'
AND document.origin = 'library'
AND document.document_type <> ?
ORDER BY document.uploaded_at DESC, document.id DESC
Parameters: [
13
"catàleg comercial"
]
SELECT document.id, document.document_type
FROM b2b_document document
WHERE document.vendor_actor_id = 13
AND document.visibility = 'public'
AND document.origin = 'library'
AND document.document_type <> 'catàleg comercial'
ORDER BY document.uploaded_at DESC, document.id DESC;
|
| 10 |
1.27 ms |
SELECT b0_.slug AS slug_0 FROM b2b_content_page_translation b0_ INNER JOIN b2b_content_page b1_ ON b0_.page_id = b1_.id WHERE b1_.content_key = ? AND b0_.is_published = ? AND b0_.locale = ? LIMIT 1
Parameters: [
"legal_notice"
1
"ca"
]
SELECT b0_.slug AS slug_0 FROM b2b_content_page_translation b0_ INNER JOIN b2b_content_page b1_ ON b0_.page_id = b1_.id WHERE b1_.content_key = 'legal_notice' AND b0_.is_published = 1 AND b0_.locale = 'ca' LIMIT 1;
|
| 11 |
0.59 ms |
SELECT b0_.slug AS slug_0 FROM b2b_content_page_translation b0_ INNER JOIN b2b_content_page b1_ ON b0_.page_id = b1_.id WHERE b1_.content_key = ? AND b0_.is_published = ? AND b0_.locale = ? LIMIT 1
Parameters: [
"terms_and_conditions"
1
"ca"
]
SELECT b0_.slug AS slug_0 FROM b2b_content_page_translation b0_ INNER JOIN b2b_content_page b1_ ON b0_.page_id = b1_.id WHERE b1_.content_key = 'terms_and_conditions' AND b0_.is_published = 1 AND b0_.locale = 'ca' LIMIT 1;
|