https://sw5demo.swk-web.com/checkout/cart

Queries

122 Total Queries
0.0090 s Total Query Time
SQL Params Execution Time
SELECT 
  shop.id, 
  shop.name, 
  shop.base_url, 
  shop.position, 
  IF(main_shop.id IS NULL, 1, 0) is_main, 
  IFNULL(main_shop.host, shop.host) as host, 
  IFNULL(main_shop.hosts, shop.hosts) as hosts, 
  IFNULL(main_shop.secure, shop.secure) as secure, 
  IFNULL(
    main_shop.base_path, shop.base_path
  ) as base_path, 
  IFNULL(
    main_shop.template_id, shop.template_id
  ) as template_id, 
  IFNULL(
    main_shop.customer_scope, shop.customer_scope
  ) as customer_scope 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops main_shop ON shop.main_id = main_shop.id 
WHERE 
  (shop.active = 1) 
  AND (
    (
      shop.host = : host 
      OR (
        shop.host IS NULL 
        AND main_shop.host = : host
      )
    )
  )
array:1 [
  ":host" => "sw5demo.swk-web.com"
]
0.0004 ms
SELECT 
  s0_.id AS id_0, 
  s0_.main_id AS main_id_1, 
  s0_.category_id AS category_id_2, 
  s0_.name AS name_3, 
  s0_.title AS title_4, 
  s0_.position AS position_5, 
  s0_.host AS host_6, 
  s0_.base_path AS base_path_7, 
  s0_.base_url AS base_url_8, 
  s0_.hosts AS hosts_9, 
  s0_.secure AS secure_10, 
  s0_.template_id AS template_id_11, 
  s0_.`default` AS default_12, 
  s0_.active AS active_13, 
  s0_.customer_scope AS customer_scope_14, 
  s0_.id AS id_15, 
  s0_.main_id AS main_id_16, 
  s0_.category_id AS category_id_17, 
  s0_.name AS name_18, 
  s0_.title AS title_19, 
  s0_.position AS position_20, 
  s0_.host AS host_21, 
  s0_.base_path AS base_path_22, 
  s0_.base_url AS base_url_23, 
  s0_.hosts AS hosts_24, 
  s0_.secure AS secure_25, 
  s0_.template_id AS template_id_26, 
  s0_.`default` AS default_27, 
  s0_.active AS active_28, 
  s0_.customer_scope AS customer_scope_29, 
  s1_.id AS id_30, 
  s1_.locale AS locale_31, 
  s1_.language AS language_32, 
  s1_.territory AS territory_33, 
  s2_.id AS id_34, 
  s2_.currency AS currency_35, 
  s2_.name AS name_36, 
  s2_.standard AS standard_37, 
  s2_.factor AS factor_38, 
  s2_.templatechar AS templatechar_39, 
  s2_.symbol_position AS symbol_position_40, 
  s2_.position AS position_41, 
  s3_.id AS id_42, 
  s3_.template AS template_43, 
  s3_.name AS name_44, 
  s3_.description AS description_45, 
  s3_.author AS author_46, 
  s3_.license AS license_47, 
  s3_.esi AS esi_48, 
  s3_.style_support AS style_support_49, 
  s3_.emotion AS emotion_50, 
  s3_.version AS version_51, 
  s3_.plugin_id AS plugin_id_52, 
  s3_.parent_id AS parent_id_53, 
  s4_.id AS id_54, 
  s4_.template AS template_55, 
  s4_.name AS name_56, 
  s4_.description AS description_57, 
  s4_.author AS author_58, 
  s4_.license AS license_59, 
  s4_.esi AS esi_60, 
  s4_.style_support AS style_support_61, 
  s4_.emotion AS emotion_62, 
  s4_.version AS version_63, 
  s4_.plugin_id AS plugin_id_64, 
  s4_.parent_id AS parent_id_65, 
  s5_.id AS id_66, 
  s5_.currency AS currency_67, 
  s5_.name AS name_68, 
  s5_.standard AS standard_69, 
  s5_.factor AS factor_70, 
  s5_.templatechar AS templatechar_71, 
  s5_.symbol_position AS symbol_position_72, 
  s5_.position AS position_73, 
  s6_.id AS id_74, 
  s6_.groupkey AS groupkey_75, 
  s6_.description AS description_76, 
  s6_.tax AS tax_77, 
  s6_.taxinput AS taxinput_78, 
  s6_.mode AS mode_79, 
  s6_.discount AS discount_80, 
  s6_.minimumorder AS minimumorder_81, 
  s6_.minimumordersurcharge AS minimumordersurcharge_82, 
  s0_.main_id AS main_id_83, 
  s0_.template_id AS template_id_84, 
  s0_.document_template_id AS document_template_id_85, 
  s0_.category_id AS category_id_86, 
  s0_.locale_id AS locale_id_87, 
  s0_.currency_id AS currency_id_88, 
  s0_.customer_group_id AS customer_group_id_89, 
  s0_.fallback_id AS fallback_id_90, 
  s3_.parent_id AS parent_id_91, 
  s3_.plugin_id AS plugin_id_92, 
  s4_.parent_id AS parent_id_93, 
  s4_.plugin_id AS plugin_id_94 
FROM 
  s_core_shops s0_ 
  LEFT JOIN s_core_locales s1_ ON s0_.locale_id = s1_.id 
  LEFT JOIN s_core_currencies s2_ ON s0_.currency_id = s2_.id 
  LEFT JOIN s_core_templates s3_ ON s0_.template_id = s3_.id 
  LEFT JOIN s_core_templates s4_ ON s0_.document_template_id = s4_.id 
  LEFT JOIN s_core_shop_currencies s7_ ON s0_.id = s7_.shop_id 
  LEFT JOIN s_core_currencies s5_ ON s5_.id = s7_.currency_id 
  LEFT JOIN s_core_customergroups s6_ ON s0_.customer_group_id = s6_.id 
WHERE 
  s0_.id = ? 
ORDER BY 
  s5_.position ASC, 
  s5_.id ASC
array:1 [
  0 => "1"
]
0.0007 ms
SELECT 
  t0.id AS id_1, 
  t0.shopID AS shopID_2, 
  t0.shopID AS shopID_3 
FROM 
  s_core_shops_attributes t0 
WHERE 
  t0.shopID = ?
array:1 [
  0 => 1
]
0.0002 ms
SELECT 
  t0.id AS id_1, 
  t0.customerGroupID AS customerGroupID_2, 
  t0.customerGroupID AS customerGroupID_3 
FROM 
  s_core_customergroups_attributes t0 
WHERE 
  t0.customerGroupID = ?
array:1 [
  0 => 1
]
0.0002 ms
SELECT 
  shop.id, 
  shop.name, 
  shop.base_url, 
  shop.position, 
  IF(main_shop.id IS NULL, 1, 0) is_main, 
  IFNULL(main_shop.host, shop.host) as host, 
  IFNULL(main_shop.hosts, shop.hosts) as hosts, 
  IFNULL(main_shop.secure, shop.secure) as secure, 
  IFNULL(
    main_shop.base_path, shop.base_path
  ) as base_path, 
  IFNULL(
    main_shop.template_id, shop.template_id
  ) as template_id, 
  IFNULL(
    main_shop.customer_scope, shop.customer_scope
  ) as customer_scope 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops main_shop ON shop.main_id = main_shop.id 
WHERE 
  (shop.active = 1) 
  AND (
    (
      shop.host = : host 
      OR (
        shop.host IS NULL 
        AND main_shop.host = : host
      )
    )
  )
array:1 [
  ":host" => "sw5demo.swk-web.com"
]
0.0003 ms
SELECT 
  t0.id AS id_1, 
  t0.name AS name_2, 
  t0.`key` AS key_3, 
  t0.active AS active_4, 
  t0.mapping_id AS mapping_id_5 
FROM 
  s_cms_static_groups t0 
  INNER JOIN s_core_shop_pages ON t0.id = s_core_shop_pages.group_id 
WHERE 
  s_core_shop_pages.shop_id = ? 
ORDER BY 
  t0.id ASC
array:1 [
  0 => 1
]
0.0002 ms
SELECT 
  t0.id AS id_1, 
  t0.main_id AS main_id_2, 
  t0.category_id AS category_id_3, 
  t0.name AS name_4, 
  t0.title AS title_5, 
  t0.position AS position_6, 
  t0.host AS host_7, 
  t0.base_path AS base_path_8, 
  t0.base_url AS base_url_9, 
  t0.hosts AS hosts_10, 
  t0.secure AS secure_11, 
  t0.template_id AS template_id_12, 
  t0.`default` AS default_13, 
  t0.active AS active_14, 
  t0.customer_scope AS customer_scope_15, 
  t0.main_id AS main_id_16, 
  t0.template_id AS template_id_17, 
  t0.document_template_id AS document_template_id_18, 
  t0.category_id AS category_id_19, 
  t0.locale_id AS locale_id_20, 
  t0.currency_id AS currency_id_21, 
  t0.customer_group_id AS customer_group_id_22, 
  t0.fallback_id AS fallback_id_23, 
  t24.id AS id_25, 
  t24.shopID AS shopID_26, 
  t24.shopID AS shopID_27 
FROM 
  s_core_shops t0 
  LEFT JOIN s_core_shops_attributes t24 ON t24.shopID = t0.id 
WHERE 
  t0.main_id = ? 
ORDER BY 
  t0.position ASC, 
  t0.id ASC
array:1 [
  0 => 1
]
0.0002 ms
SELECT 
  t0.id AS id_1, 
  t0.locale AS locale_2, 
  t0.language AS language_3, 
  t0.territory AS territory_4 
FROM 
  s_core_locales t0 
WHERE 
  t0.locale = ? 
LIMIT 
  1
array:1 [
  0 => "en_GB"
]
0.0001 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0002 ms
SELECT 
  t0.id AS id_1, 
  t0.main_id AS main_id_2, 
  t0.category_id AS category_id_3, 
  t0.name AS name_4, 
  t0.title AS title_5, 
  t0.position AS position_6, 
  t0.host AS host_7, 
  t0.base_path AS base_path_8, 
  t0.base_url AS base_url_9, 
  t0.hosts AS hosts_10, 
  t0.secure AS secure_11, 
  t0.template_id AS template_id_12, 
  t0.`default` AS default_13, 
  t0.active AS active_14, 
  t0.customer_scope AS customer_scope_15, 
  t0.main_id AS main_id_16, 
  t0.template_id AS template_id_17, 
  t0.document_template_id AS document_template_id_18, 
  t0.category_id AS category_id_19, 
  t0.locale_id AS locale_id_20, 
  t0.currency_id AS currency_id_21, 
  t0.customer_group_id AS customer_group_id_22, 
  t0.fallback_id AS fallback_id_23, 
  t24.id AS id_25, 
  t24.shopID AS shopID_26, 
  t24.shopID AS shopID_27 
FROM 
  s_core_shops t0 
  LEFT JOIN s_core_shops_attributes t24 ON t24.shopID = t0.id 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 23
]
0.0003 ms
SELECT 
  t0.type AS type_1, 
  t0.name AS name_2, 
  t0.position AS position_3, 
  t0.default_value AS default_value_4, 
  t0.selection AS selection_5, 
  t0.field_label AS field_label_6, 
  t0.support_text AS support_text_7, 
  t0.allow_blank AS allow_blank_8, 
  t0.less_compatible AS less_compatible_9, 
  t0.attributes AS attributes_10, 
  t0.container_id AS container_id_11, 
  t0.id AS id_12, 
  t0.template_id AS template_id_13, 
  t0.template_id AS template_id_14, 
  t0.container_id AS container_id_15 
FROM 
  s_core_templates_config_elements t0 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 23
]
0.0005 ms
SELECT 
  t0.name AS name_1, 
  t0.type AS type_2, 
  t0.template_id AS template_id_3, 
  t0.parent_id AS parent_id_4, 
  t0.title AS title_5, 
  t0.attributes AS attributes_6, 
  t0.id AS id_7, 
  t0.template_id AS template_id_8, 
  t0.parent_id AS parent_id_9 
FROM 
  s_core_templates_config_layout t0 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 23
]
0.0003 ms
SELECT 
  t0.id AS id_1, 
  t0.template_id AS template_id_2, 
  t0.name AS name_3, 
  t0.description AS description_4, 
  t0.element_values AS element_values_5, 
  t0.template_id AS template_id_6 
FROM 
  s_core_templates_config_set t0 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 23
]
0.0003 ms
SELECT 
  subshopID as shopId, 
  path, 
  org_path as orgPath, 
  main 
FROM 
  s_core_rewrite_urls 
WHERE 
  path LIKE : pathInfo 
ORDER BY 
  subshopID = : shopId DESC, 
  main DESC 
LIMIT 
  1
array:2 [
  ":shopId" => 1
  ":pathInfo" => "checkout/cart"
]
0.0003 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0002 ms
SELECT 
  shop.id as __shop_id, 
  shop.main_id as __shop_main_id, 
  shop.name as __shop_name, 
  shop.title as __shop_title, 
  shop.position as __shop_position, 
  shop.host as __shop_host, 
  shop.base_path as __shop_base_path, 
  shop.base_url as __shop_base_url, 
  shop.hosts as __shop_hosts, 
  shop.secure as __shop_secure, 
  shop.template_id as __shop_template_id, 
  shop.document_template_id as __shop_document_template_id, 
  shop.category_id as __shop_category_id, 
  shop.locale_id as __shop_locale_id, 
  shop.currency_id as __shop_currency_id, 
  shop.customer_group_id as __shop_customer_group_id, 
  shop.fallback_id as __shop_fallback_id, 
  shop.customer_scope as __shop_customer_scope, 
  shop.default as __shop_default, 
  shop.active as __shop_active, 
  shopAttribute.id as __shopAttribute_id, 
  shopAttribute.shopID as __shopAttribute_shopID, 
  currency.id as __currency_id, 
  currency.currency as __currency_currency, 
  currency.name as __currency_name, 
  currency.standard as __currency_standard, 
  currency.factor as __currency_factor, 
  currency.templatechar as __currency_templatechar, 
  currency.symbol_position as __currency_symbol_position, 
  currency.position as __currency_position, 
  template.id as __template_id, 
  template.template as __template_template, 
  template.name as __template_name, 
  template.description as __template_description, 
  template.author as __template_author, 
  template.license as __template_license, 
  template.esi as __template_esi, 
  template.style_support as __template_style_support, 
  template.emotion as __template_emotion, 
  template.version as __template_version, 
  template.plugin_id as __template_plugin_id, 
  template.parent_id as __template_parent_id, 
  locale.id as __locale_id, 
  locale.locale as __locale_locale, 
  locale.language as __locale_language, 
  locale.territory as __locale_territory, 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID, 
  category.id as __category_id, 
  category.parent as __category_parent_id, 
  category.position as __category_position, 
  category.path as __category_path, 
  category.description as __category_description, 
  category.meta_title as __category_metatitle, 
  category.metakeywords as __category_metakeywords, 
  category.metadescription as __category_metadescription, 
  category.cmsheadline as __category_cmsheadline, 
  category.product_box_layout as __category_product_box_layout, 
  category.cmstext as __category_cmstext, 
  category.template as __category_template, 
  category.blog as __category_blog, 
  category.external as __category_external, 
  category.external_target as __category_external_target, 
  category.hidefilter as __category_hidefilter, 
  category.hidetop as __category_hidetop, 
  category.stream_id as __category_stream_id, 
  category.hide_sortings as __category_hide_sortings, 
  categoryAttribute.id as __categoryAttribute_id, 
  categoryAttribute.categoryID as __categoryAttribute_categoryID, 
  categoryAttribute.attribute1 as __categoryAttribute_attribute1, 
  categoryAttribute.attribute2 as __categoryAttribute_attribute2, 
  categoryAttribute.attribute3 as __categoryAttribute_attribute3, 
  categoryAttribute.attribute4 as __categoryAttribute_attribute4, 
  categoryAttribute.attribute5 as __categoryAttribute_attribute5, 
  categoryAttribute.attribute6 as __categoryAttribute_attribute6, 
  categoryAttribute.swkwe_show_soldout as __categoryAttribute_swkwe_show_soldout, 
  categoryAttribute.swkwe_emotion_category_slider_media as __categoryAttribute_swkwe_emotion_category_slider_media, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops_attributes shopAttribute ON shopAttribute.shopID = shop.id 
  LEFT JOIN s_core_currencies currency ON currency.id = shop.currency_id 
  LEFT JOIN s_core_templates template ON shop.template_id = template.id 
  LEFT JOIN s_core_locales locale ON locale.id = shop.locale_id 
  LEFT JOIN s_core_customergroups customerGroup ON customerGroup.id = shop.customer_group_id 
  LEFT JOIN s_categories category ON category.id = shop.category_id 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
  LEFT JOIN s_categories_attributes categoryAttribute ON categoryAttribute.categoryID = category.id 
  LEFT JOIN s_categories_avoid_customergroups customerGroups ON customerGroups.categoryID = category.id 
  LEFT JOIN s_media media ON media.id = category.mediaID 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
WHERE 
  shop.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 1
  ]
]
0.0009 ms
SELECT 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID 
FROM 
  s_core_customergroups customerGroup 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
WHERE 
  customerGroup.groupkey IN (: keys)
array:1 [
  ":keys" => array:2 [
    0 => "EK"
    1 => "EK"
  ]
]
0.0003 ms
SELECT 
  currency.id as __currency_id, 
  currency.currency as __currency_currency, 
  currency.name as __currency_name, 
  currency.standard as __currency_standard, 
  currency.factor as __currency_factor, 
  currency.templatechar as __currency_templatechar, 
  currency.symbol_position as __currency_symbol_position, 
  currency.position as __currency_position 
FROM 
  s_core_currencies currency 
WHERE 
  currency.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 1
  ]
]
0.0002 ms
SELECT 
  tax.id as __tax_id, 
  tax.tax as __tax_tax, 
  tax.description as __tax_description 
FROM 
  s_core_tax tax
[]
0.0002 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => null
  ":country" => null
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "1"
]
0.0003 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => null
  ":country" => null
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "4"
]
0.0002 ms
SELECT 
  priceGroupDiscount.groupID, 
  priceGroupDiscount.id as __priceGroupDiscount_id, 
  priceGroupDiscount.groupID as __priceGroupDiscount_groupID, 
  priceGroupDiscount.discount as __priceGroupDiscount_discount, 
  priceGroupDiscount.discountstart as __priceGroupDiscount_discountstart, 
  priceGroup.id as __priceGroup_id, 
  priceGroup.description as __priceGroup_description 
FROM 
  s_core_pricegroups_discounts priceGroupDiscount 
  INNER JOIN s_core_pricegroups priceGroup ON priceGroup.id = priceGroupDiscount.groupID 
WHERE 
  priceGroupDiscount.customergroupID = : customerGroup 
GROUP BY 
  priceGroupDiscount.id 
ORDER BY 
  priceGroupDiscount.groupID ASC, 
  priceGroupDiscount.discountstart ASC
array:1 [
  ":customerGroup" => 1
]
0.0002 ms
SELECT 
  1 
FROM 
  s_core_plugins 
WHERE 
  name = ? 
  AND active = 1
array:1 [
  0 => "SwagCustomProducts"
]
0.0002 ms
SELECT 
  id 
FROM 
  s_core_countries country
[]
0.0002 ms
SELECT 
  country.id as __country_id, 
  country.countryname as __country_countryname, 
  country.countryiso as __country_countryiso, 
  country.areaID as __country_areaID, 
  country.countryen as __country_countryen, 
  country.position as __country_position, 
  country.notice as __country_notice, 
  country.taxfree as __country_taxfree, 
  country.taxfree_ustid as __country_taxfree_ustid, 
  country.taxfree_ustid_checked as __country_taxfree_ustid_checked, 
  country.active as __country_active, 
  country.iso3 as __country_iso3, 
  country.display_state_in_registration as __country_display_state_in_registration, 
  country.force_state_in_registration as __country_force_state_in_registration, 
  country.allow_shipping as __country_allow_shipping, 
  countryAttribute.id as __countryAttribute_id, 
  countryAttribute.countryID as __countryAttribute_countryID 
FROM 
  s_core_countries country 
  LEFT JOIN s_core_countries_attributes countryAttribute ON countryAttribute.countryID = country.id 
WHERE 
  country.id IN (: ids)
array:1 [
  ":ids" => array:250 [
    0 => "2"
    1 => "3"
    2 => "4"
    3 => "15"
    4 => "16"
    5 => "20"
    6 => "28"
    7 => "32"
    8 => "36"
    9 => "37"
    10 => "46"
    11 => "47"
    12 => "48"
    13 => "49"
    14 => "50"
    15 => "51"
    16 => "52"
    17 => "53"
    18 => "54"
    19 => "55"
    20 => "56"
    21 => "57"
    22 => "58"
    23 => "59"
    24 => "60"
    25 => "61"
    26 => "62"
    27 => "63"
    28 => "64"
    29 => "65"
    30 => "66"
    31 => "67"
    32 => "68"
    33 => "69"
    34 => "70"
    35 => "71"
    36 => "72"
    37 => "73"
    38 => "74"
    39 => "75"
    40 => "76"
    41 => "77"
    42 => "78"
    43 => "79"
    44 => "80"
    45 => "81"
    46 => "82"
    47 => "83"
    48 => "84"
    49 => "85"
    50 => "86"
    51 => "87"
    52 => "88"
    53 => "89"
    54 => "90"
    55 => "91"
    56 => "92"
    57 => "93"
    58 => "94"
    59 => "95"
    60 => "96"
    61 => "97"
    62 => "98"
    63 => "99"
    64 => "100"
    65 => "101"
    66 => "102"
    67 => "103"
    68 => "104"
    69 => "105"
    70 => "106"
    71 => "107"
    72 => "108"
    73 => "109"
    74 => "110"
    75 => "111"
    76 => "112"
    77 => "113"
    78 => "114"
    79 => "115"
    80 => "116"
    81 => "117"
    82 => "118"
    83 => "119"
    84 => "120"
    85 => "121"
    86 => "122"
    87 => "123"
    88 => "124"
    89 => "125"
    90 => "126"
    91 => "127"
    92 => "128"
    93 => "129"
    94 => "130"
    95 => "131"
    96 => "132"
    97 => "133"
    98 => "134"
    99 => "135"
    100 => "136"
    101 => "137"
    102 => "138"
    103 => "139"
    104 => "140"
    105 => "141"
    106 => "142"
    107 => "143"
    108 => "144"
    109 => "145"
    110 => "146"
    111 => "147"
    112 => "148"
    113 => "149"
    114 => "150"
    115 => "151"
    116 => "152"
    117 => "153"
    118 => "154"
    119 => "155"
    120 => "156"
    121 => "157"
    122 => "158"
    123 => "159"
    124 => "160"
    125 => "161"
    126 => "162"
    127 => "163"
    128 => "164"
    129 => "165"
    130 => "166"
    131 => "167"
    132 => "168"
    133 => "169"
    134 => "170"
    135 => "171"
    136 => "172"
    137 => "173"
    138 => "174"
    139 => "175"
    140 => "176"
    141 => "177"
    142 => "178"
    143 => "179"
    144 => "180"
    145 => "181"
    146 => "182"
    147 => "183"
    148 => "184"
    149 => "185"
    150 => "186"
    151 => "187"
    152 => "188"
    153 => "189"
    154 => "190"
    155 => "191"
    156 => "192"
    157 => "193"
    158 => "194"
    159 => "195"
    160 => "196"
    161 => "197"
    162 => "198"
    163 => "199"
    164 => "200"
    165 => "201"
    166 => "202"
    167 => "203"
    168 => "204"
    169 => "205"
    170 => "206"
    171 => "207"
    172 => "208"
    173 => "209"
    174 => "210"
    175 => "211"
    176 => "212"
    177 => "213"
    178 => "214"
    179 => "215"
    180 => "216"
    181 => "217"
    182 => "218"
    183 => "219"
    184 => "220"
    185 => "221"
    186 => "222"
    187 => "223"
    188 => "224"
    189 => "225"
    190 => "226"
    191 => "227"
    192 => "228"
    193 => "229"
    194 => "230"
    195 => "231"
    196 => "232"
    197 => "233"
    198 => "234"
    199 => "235"
    200 => "236"
    201 => "237"
    202 => "238"
    203 => "239"
    204 => "240"
    205 => "241"
    206 => "242"
    207 => "243"
    208 => "244"
    209 => "245"
    210 => "246"
    211 => "247"
    212 => "248"
    213 => "249"
    214 => "250"
    215 => "251"
    216 => "252"
    217 => "253"
    218 => "254"
    219 => "5"
    220 => "7"
    221 => "8"
    222 => "9"
    223 => "10"
    224 => "11"
    225 => "12"
    226 => "13"
    227 => "14"
    228 => "18"
    229 => "21"
    230 => "22"
    231 => "23"
    232 => "24"
    233 => "25"
    234 => "26"
    235 => "27"
    236 => "29"
    237 => "30"
    238 => "31"
    239 => "33"
    240 => "34"
    241 => "35"
    242 => "38"
    243 => "39"
    244 => "40"
    245 => "41"
    246 => "42"
    247 => "43"
    248 => "44"
    249 => "45"
  ]
]
0.0016 ms
SELECT 
  countryState.id as __countryState_id, 
  countryState.countryID as __countryState_countryID, 
  countryState.name as __countryState_name, 
  countryState.shortcode as __countryState_shortcode, 
  countryState.position as __countryState_position, 
  countryState.active as __countryState_active, 
  countryStateAttribute.id as __countryStateAttribute_id, 
  countryStateAttribute.stateID as __countryStateAttribute_stateID 
FROM 
  s_core_countries_states countryState 
  LEFT JOIN s_core_countries_states_attributes countryStateAttribute ON countryStateAttribute.stateID = countryState.id 
WHERE 
  countryState.countryID IN (: ids)
array:1 [
  ":ids" => array:250 [
    0 => "2"
    1 => "3"
    2 => "4"
    3 => "15"
    4 => "16"
    5 => "20"
    6 => "28"
    7 => "32"
    8 => "36"
    9 => "37"
    10 => "46"
    11 => "47"
    12 => "48"
    13 => "49"
    14 => "50"
    15 => "51"
    16 => "52"
    17 => "53"
    18 => "54"
    19 => "55"
    20 => "56"
    21 => "57"
    22 => "58"
    23 => "59"
    24 => "60"
    25 => "61"
    26 => "62"
    27 => "63"
    28 => "64"
    29 => "65"
    30 => "66"
    31 => "67"
    32 => "68"
    33 => "69"
    34 => "70"
    35 => "71"
    36 => "72"
    37 => "73"
    38 => "74"
    39 => "75"
    40 => "76"
    41 => "77"
    42 => "78"
    43 => "79"
    44 => "80"
    45 => "81"
    46 => "82"
    47 => "83"
    48 => "84"
    49 => "85"
    50 => "86"
    51 => "87"
    52 => "88"
    53 => "89"
    54 => "90"
    55 => "91"
    56 => "92"
    57 => "93"
    58 => "94"
    59 => "95"
    60 => "96"
    61 => "97"
    62 => "98"
    63 => "99"
    64 => "100"
    65 => "101"
    66 => "102"
    67 => "103"
    68 => "104"
    69 => "105"
    70 => "106"
    71 => "107"
    72 => "108"
    73 => "109"
    74 => "110"
    75 => "111"
    76 => "112"
    77 => "113"
    78 => "114"
    79 => "115"
    80 => "116"
    81 => "117"
    82 => "118"
    83 => "119"
    84 => "120"
    85 => "121"
    86 => "122"
    87 => "123"
    88 => "124"
    89 => "125"
    90 => "126"
    91 => "127"
    92 => "128"
    93 => "129"
    94 => "130"
    95 => "131"
    96 => "132"
    97 => "133"
    98 => "134"
    99 => "135"
    100 => "136"
    101 => "137"
    102 => "138"
    103 => "139"
    104 => "140"
    105 => "141"
    106 => "142"
    107 => "143"
    108 => "144"
    109 => "145"
    110 => "146"
    111 => "147"
    112 => "148"
    113 => "149"
    114 => "150"
    115 => "151"
    116 => "152"
    117 => "153"
    118 => "154"
    119 => "155"
    120 => "156"
    121 => "157"
    122 => "158"
    123 => "159"
    124 => "160"
    125 => "161"
    126 => "162"
    127 => "163"
    128 => "164"
    129 => "165"
    130 => "166"
    131 => "167"
    132 => "168"
    133 => "169"
    134 => "170"
    135 => "171"
    136 => "172"
    137 => "173"
    138 => "174"
    139 => "175"
    140 => "176"
    141 => "177"
    142 => "178"
    143 => "179"
    144 => "180"
    145 => "181"
    146 => "182"
    147 => "183"
    148 => "184"
    149 => "185"
    150 => "186"
    151 => "187"
    152 => "188"
    153 => "189"
    154 => "190"
    155 => "191"
    156 => "192"
    157 => "193"
    158 => "194"
    159 => "195"
    160 => "196"
    161 => "197"
    162 => "198"
    163 => "199"
    164 => "200"
    165 => "201"
    166 => "202"
    167 => "203"
    168 => "204"
    169 => "205"
    170 => "206"
    171 => "207"
    172 => "208"
    173 => "209"
    174 => "210"
    175 => "211"
    176 => "212"
    177 => "213"
    178 => "214"
    179 => "215"
    180 => "216"
    181 => "217"
    182 => "218"
    183 => "219"
    184 => "220"
    185 => "221"
    186 => "222"
    187 => "223"
    188 => "224"
    189 => "225"
    190 => "226"
    191 => "227"
    192 => "228"
    193 => "229"
    194 => "230"
    195 => "231"
    196 => "232"
    197 => "233"
    198 => "234"
    199 => "235"
    200 => "236"
    201 => "237"
    202 => "238"
    203 => "239"
    204 => "240"
    205 => "241"
    206 => "242"
    207 => "243"
    208 => "244"
    209 => "245"
    210 => "246"
    211 => "247"
    212 => "248"
    213 => "249"
    214 => "250"
    215 => "251"
    216 => "252"
    217 => "253"
    218 => "254"
    219 => "5"
    220 => "7"
    221 => "8"
    222 => "9"
    223 => "10"
    224 => "11"
    225 => "12"
    226 => "13"
    227 => "14"
    228 => "18"
    229 => "21"
    230 => "22"
    231 => "23"
    232 => "24"
    233 => "25"
    234 => "26"
    235 => "27"
    236 => "29"
    237 => "30"
    238 => "31"
    239 => "33"
    240 => "34"
    241 => "35"
    242 => "38"
    243 => "39"
    244 => "40"
    245 => "41"
    246 => "42"
    247 => "43"
    248 => "44"
    249 => "45"
  ]
]
0.0008 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:1 [
    0 => "5"
  ]
]
0.0002 ms
SELECT 
  id, 
  calculation, 
  `date` 
FROM 
  `s_premium_holidays` 
WHERE 
  `date` < CURDATE()
[]
0.0001 ms
SELECT 
  id, 
  calculation_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (active = 1) 
  AND (calculation = 3)
[]
0.0002 ms
SELECT 
  MIN(d.instock >= b.quantity) as instock, 
  MIN(
    d.instock >=(b.quantity + d.stockmin)
  ) as stockmin, 
  MIN(a.laststock) as laststock, 
  SUM(d.weight * b.quantity) as weight, 
  SUM(
    IF(a.id, b.quantity, 0)
  ) as count_article, 
  MAX(b.shippingfree) as shippingfree, 
  SUM(
    IF(
      b.modus IN (0, 21), 
      b.quantity * CAST(
        b.price as DECIMAL(10, 2)
      )/ b.currencyFactor, 
      0
    )
  ) as amount, 
  SUM(
    IF(
      b.modus IN (0, 21), 
      b.quantity * ROUND(
        CAST(
          b.price as DECIMAL(10, 2)
        )/(100 + t.tax)* 100, 
        2
      )/ b.currencyFactor, 
      0
    )
  ) as amount_net, 
  SUM(
    CAST(
      b.price as DECIMAL(10, 2)
    )* b.quantity
  ) as amount_display, 
  MAX(d.length) as `length`, 
  MAX(d.height) as height, 
  MAX(d.width) as width, 
  u.id as userID, 
  MAX(a.topseller) as has_topseller, 
  MAX(at.attr3) as has_comment, 
  MAX(b.esdarticle) as has_esd 
FROM 
  s_order_basket b 
  LEFT JOIN s_articles a ON b.articleID = a.id 
  AND b.modus IN (0, 21) 
  AND b.esdarticle = 0 
  LEFT JOIN s_user u ON u.id = : userId 
  AND u.active = 1 
  LEFT JOIN s_articles_details d ON (d.ordernumber = b.ordernumber) 
  AND d.articleID = a.id 
  LEFT JOIN s_core_tax t ON t.id = a.taxID 
  LEFT JOIN s_articles_attributes at ON at.articledetailsID = d.id 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  b.sessionID = : sessionId 
GROUP BY 
  b.sessionID
array:4 [
  "userId" => null
  "sessionId" => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0004 ms
SELECT 
  id, 
  bind_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (
    active = 1 
    AND type IN (0)
  ) 
  AND (
    bind_sql IS NOT NULL 
    AND bind_sql != ""
  )
[]
0.0002 ms
SELECT 
  id 
FROM 
  s_core_countries country
[]
0.0002 ms
SELECT 
  country.id as __country_id, 
  country.countryname as __country_countryname, 
  country.countryiso as __country_countryiso, 
  country.areaID as __country_areaID, 
  country.countryen as __country_countryen, 
  country.position as __country_position, 
  country.notice as __country_notice, 
  country.taxfree as __country_taxfree, 
  country.taxfree_ustid as __country_taxfree_ustid, 
  country.taxfree_ustid_checked as __country_taxfree_ustid_checked, 
  country.active as __country_active, 
  country.iso3 as __country_iso3, 
  country.display_state_in_registration as __country_display_state_in_registration, 
  country.force_state_in_registration as __country_force_state_in_registration, 
  country.allow_shipping as __country_allow_shipping, 
  countryAttribute.id as __countryAttribute_id, 
  countryAttribute.countryID as __countryAttribute_countryID 
FROM 
  s_core_countries country 
  LEFT JOIN s_core_countries_attributes countryAttribute ON countryAttribute.countryID = country.id 
WHERE 
  country.id IN (: ids)
array:1 [
  ":ids" => array:250 [
    0 => "2"
    1 => "3"
    2 => "4"
    3 => "15"
    4 => "16"
    5 => "20"
    6 => "28"
    7 => "32"
    8 => "36"
    9 => "37"
    10 => "46"
    11 => "47"
    12 => "48"
    13 => "49"
    14 => "50"
    15 => "51"
    16 => "52"
    17 => "53"
    18 => "54"
    19 => "55"
    20 => "56"
    21 => "57"
    22 => "58"
    23 => "59"
    24 => "60"
    25 => "61"
    26 => "62"
    27 => "63"
    28 => "64"
    29 => "65"
    30 => "66"
    31 => "67"
    32 => "68"
    33 => "69"
    34 => "70"
    35 => "71"
    36 => "72"
    37 => "73"
    38 => "74"
    39 => "75"
    40 => "76"
    41 => "77"
    42 => "78"
    43 => "79"
    44 => "80"
    45 => "81"
    46 => "82"
    47 => "83"
    48 => "84"
    49 => "85"
    50 => "86"
    51 => "87"
    52 => "88"
    53 => "89"
    54 => "90"
    55 => "91"
    56 => "92"
    57 => "93"
    58 => "94"
    59 => "95"
    60 => "96"
    61 => "97"
    62 => "98"
    63 => "99"
    64 => "100"
    65 => "101"
    66 => "102"
    67 => "103"
    68 => "104"
    69 => "105"
    70 => "106"
    71 => "107"
    72 => "108"
    73 => "109"
    74 => "110"
    75 => "111"
    76 => "112"
    77 => "113"
    78 => "114"
    79 => "115"
    80 => "116"
    81 => "117"
    82 => "118"
    83 => "119"
    84 => "120"
    85 => "121"
    86 => "122"
    87 => "123"
    88 => "124"
    89 => "125"
    90 => "126"
    91 => "127"
    92 => "128"
    93 => "129"
    94 => "130"
    95 => "131"
    96 => "132"
    97 => "133"
    98 => "134"
    99 => "135"
    100 => "136"
    101 => "137"
    102 => "138"
    103 => "139"
    104 => "140"
    105 => "141"
    106 => "142"
    107 => "143"
    108 => "144"
    109 => "145"
    110 => "146"
    111 => "147"
    112 => "148"
    113 => "149"
    114 => "150"
    115 => "151"
    116 => "152"
    117 => "153"
    118 => "154"
    119 => "155"
    120 => "156"
    121 => "157"
    122 => "158"
    123 => "159"
    124 => "160"
    125 => "161"
    126 => "162"
    127 => "163"
    128 => "164"
    129 => "165"
    130 => "166"
    131 => "167"
    132 => "168"
    133 => "169"
    134 => "170"
    135 => "171"
    136 => "172"
    137 => "173"
    138 => "174"
    139 => "175"
    140 => "176"
    141 => "177"
    142 => "178"
    143 => "179"
    144 => "180"
    145 => "181"
    146 => "182"
    147 => "183"
    148 => "184"
    149 => "185"
    150 => "186"
    151 => "187"
    152 => "188"
    153 => "189"
    154 => "190"
    155 => "191"
    156 => "192"
    157 => "193"
    158 => "194"
    159 => "195"
    160 => "196"
    161 => "197"
    162 => "198"
    163 => "199"
    164 => "200"
    165 => "201"
    166 => "202"
    167 => "203"
    168 => "204"
    169 => "205"
    170 => "206"
    171 => "207"
    172 => "208"
    173 => "209"
    174 => "210"
    175 => "211"
    176 => "212"
    177 => "213"
    178 => "214"
    179 => "215"
    180 => "216"
    181 => "217"
    182 => "218"
    183 => "219"
    184 => "220"
    185 => "221"
    186 => "222"
    187 => "223"
    188 => "224"
    189 => "225"
    190 => "226"
    191 => "227"
    192 => "228"
    193 => "229"
    194 => "230"
    195 => "231"
    196 => "232"
    197 => "233"
    198 => "234"
    199 => "235"
    200 => "236"
    201 => "237"
    202 => "238"
    203 => "239"
    204 => "240"
    205 => "241"
    206 => "242"
    207 => "243"
    208 => "244"
    209 => "245"
    210 => "246"
    211 => "247"
    212 => "248"
    213 => "249"
    214 => "250"
    215 => "251"
    216 => "252"
    217 => "253"
    218 => "254"
    219 => "5"
    220 => "7"
    221 => "8"
    222 => "9"
    223 => "10"
    224 => "11"
    225 => "12"
    226 => "13"
    227 => "14"
    228 => "18"
    229 => "21"
    230 => "22"
    231 => "23"
    232 => "24"
    233 => "25"
    234 => "26"
    235 => "27"
    236 => "29"
    237 => "30"
    238 => "31"
    239 => "33"
    240 => "34"
    241 => "35"
    242 => "38"
    243 => "39"
    244 => "40"
    245 => "41"
    246 => "42"
    247 => "43"
    248 => "44"
    249 => "45"
  ]
]
0.0015 ms
SELECT 
  countryState.id as __countryState_id, 
  countryState.countryID as __countryState_countryID, 
  countryState.name as __countryState_name, 
  countryState.shortcode as __countryState_shortcode, 
  countryState.position as __countryState_position, 
  countryState.active as __countryState_active, 
  countryStateAttribute.id as __countryStateAttribute_id, 
  countryStateAttribute.stateID as __countryStateAttribute_stateID 
FROM 
  s_core_countries_states countryState 
  LEFT JOIN s_core_countries_states_attributes countryStateAttribute ON countryStateAttribute.stateID = countryState.id 
WHERE 
  countryState.countryID IN (: ids)
array:1 [
  ":ids" => array:250 [
    0 => "2"
    1 => "3"
    2 => "4"
    3 => "15"
    4 => "16"
    5 => "20"
    6 => "28"
    7 => "32"
    8 => "36"
    9 => "37"
    10 => "46"
    11 => "47"
    12 => "48"
    13 => "49"
    14 => "50"
    15 => "51"
    16 => "52"
    17 => "53"
    18 => "54"
    19 => "55"
    20 => "56"
    21 => "57"
    22 => "58"
    23 => "59"
    24 => "60"
    25 => "61"
    26 => "62"
    27 => "63"
    28 => "64"
    29 => "65"
    30 => "66"
    31 => "67"
    32 => "68"
    33 => "69"
    34 => "70"
    35 => "71"
    36 => "72"
    37 => "73"
    38 => "74"
    39 => "75"
    40 => "76"
    41 => "77"
    42 => "78"
    43 => "79"
    44 => "80"
    45 => "81"
    46 => "82"
    47 => "83"
    48 => "84"
    49 => "85"
    50 => "86"
    51 => "87"
    52 => "88"
    53 => "89"
    54 => "90"
    55 => "91"
    56 => "92"
    57 => "93"
    58 => "94"
    59 => "95"
    60 => "96"
    61 => "97"
    62 => "98"
    63 => "99"
    64 => "100"
    65 => "101"
    66 => "102"
    67 => "103"
    68 => "104"
    69 => "105"
    70 => "106"
    71 => "107"
    72 => "108"
    73 => "109"
    74 => "110"
    75 => "111"
    76 => "112"
    77 => "113"
    78 => "114"
    79 => "115"
    80 => "116"
    81 => "117"
    82 => "118"
    83 => "119"
    84 => "120"
    85 => "121"
    86 => "122"
    87 => "123"
    88 => "124"
    89 => "125"
    90 => "126"
    91 => "127"
    92 => "128"
    93 => "129"
    94 => "130"
    95 => "131"
    96 => "132"
    97 => "133"
    98 => "134"
    99 => "135"
    100 => "136"
    101 => "137"
    102 => "138"
    103 => "139"
    104 => "140"
    105 => "141"
    106 => "142"
    107 => "143"
    108 => "144"
    109 => "145"
    110 => "146"
    111 => "147"
    112 => "148"
    113 => "149"
    114 => "150"
    115 => "151"
    116 => "152"
    117 => "153"
    118 => "154"
    119 => "155"
    120 => "156"
    121 => "157"
    122 => "158"
    123 => "159"
    124 => "160"
    125 => "161"
    126 => "162"
    127 => "163"
    128 => "164"
    129 => "165"
    130 => "166"
    131 => "167"
    132 => "168"
    133 => "169"
    134 => "170"
    135 => "171"
    136 => "172"
    137 => "173"
    138 => "174"
    139 => "175"
    140 => "176"
    141 => "177"
    142 => "178"
    143 => "179"
    144 => "180"
    145 => "181"
    146 => "182"
    147 => "183"
    148 => "184"
    149 => "185"
    150 => "186"
    151 => "187"
    152 => "188"
    153 => "189"
    154 => "190"
    155 => "191"
    156 => "192"
    157 => "193"
    158 => "194"
    159 => "195"
    160 => "196"
    161 => "197"
    162 => "198"
    163 => "199"
    164 => "200"
    165 => "201"
    166 => "202"
    167 => "203"
    168 => "204"
    169 => "205"
    170 => "206"
    171 => "207"
    172 => "208"
    173 => "209"
    174 => "210"
    175 => "211"
    176 => "212"
    177 => "213"
    178 => "214"
    179 => "215"
    180 => "216"
    181 => "217"
    182 => "218"
    183 => "219"
    184 => "220"
    185 => "221"
    186 => "222"
    187 => "223"
    188 => "224"
    189 => "225"
    190 => "226"
    191 => "227"
    192 => "228"
    193 => "229"
    194 => "230"
    195 => "231"
    196 => "232"
    197 => "233"
    198 => "234"
    199 => "235"
    200 => "236"
    201 => "237"
    202 => "238"
    203 => "239"
    204 => "240"
    205 => "241"
    206 => "242"
    207 => "243"
    208 => "244"
    209 => "245"
    210 => "246"
    211 => "247"
    212 => "248"
    213 => "249"
    214 => "250"
    215 => "251"
    216 => "252"
    217 => "253"
    218 => "254"
    219 => "5"
    220 => "7"
    221 => "8"
    222 => "9"
    223 => "10"
    224 => "11"
    225 => "12"
    226 => "13"
    227 => "14"
    228 => "18"
    229 => "21"
    230 => "22"
    231 => "23"
    232 => "24"
    233 => "25"
    234 => "26"
    235 => "27"
    236 => "29"
    237 => "30"
    238 => "31"
    239 => "33"
    240 => "34"
    241 => "35"
    242 => "38"
    243 => "39"
    244 => "40"
    245 => "41"
    246 => "42"
    247 => "43"
    248 => "44"
    249 => "45"
  ]
]
0.0008 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:1 [
    0 => "5"
  ]
]
0.0003 ms
SELECT 
  id 
FROM 
  s_core_countries country
[]
0.0003 ms
SELECT 
  country.id as __country_id, 
  country.countryname as __country_countryname, 
  country.countryiso as __country_countryiso, 
  country.areaID as __country_areaID, 
  country.countryen as __country_countryen, 
  country.position as __country_position, 
  country.notice as __country_notice, 
  country.taxfree as __country_taxfree, 
  country.taxfree_ustid as __country_taxfree_ustid, 
  country.taxfree_ustid_checked as __country_taxfree_ustid_checked, 
  country.active as __country_active, 
  country.iso3 as __country_iso3, 
  country.display_state_in_registration as __country_display_state_in_registration, 
  country.force_state_in_registration as __country_force_state_in_registration, 
  country.allow_shipping as __country_allow_shipping, 
  countryAttribute.id as __countryAttribute_id, 
  countryAttribute.countryID as __countryAttribute_countryID 
FROM 
  s_core_countries country 
  LEFT JOIN s_core_countries_attributes countryAttribute ON countryAttribute.countryID = country.id 
WHERE 
  country.id IN (: ids)
array:1 [
  ":ids" => array:250 [
    0 => "2"
    1 => "3"
    2 => "4"
    3 => "15"
    4 => "16"
    5 => "20"
    6 => "28"
    7 => "32"
    8 => "36"
    9 => "37"
    10 => "46"
    11 => "47"
    12 => "48"
    13 => "49"
    14 => "50"
    15 => "51"
    16 => "52"
    17 => "53"
    18 => "54"
    19 => "55"
    20 => "56"
    21 => "57"
    22 => "58"
    23 => "59"
    24 => "60"
    25 => "61"
    26 => "62"
    27 => "63"
    28 => "64"
    29 => "65"
    30 => "66"
    31 => "67"
    32 => "68"
    33 => "69"
    34 => "70"
    35 => "71"
    36 => "72"
    37 => "73"
    38 => "74"
    39 => "75"
    40 => "76"
    41 => "77"
    42 => "78"
    43 => "79"
    44 => "80"
    45 => "81"
    46 => "82"
    47 => "83"
    48 => "84"
    49 => "85"
    50 => "86"
    51 => "87"
    52 => "88"
    53 => "89"
    54 => "90"
    55 => "91"
    56 => "92"
    57 => "93"
    58 => "94"
    59 => "95"
    60 => "96"
    61 => "97"
    62 => "98"
    63 => "99"
    64 => "100"
    65 => "101"
    66 => "102"
    67 => "103"
    68 => "104"
    69 => "105"
    70 => "106"
    71 => "107"
    72 => "108"
    73 => "109"
    74 => "110"
    75 => "111"
    76 => "112"
    77 => "113"
    78 => "114"
    79 => "115"
    80 => "116"
    81 => "117"
    82 => "118"
    83 => "119"
    84 => "120"
    85 => "121"
    86 => "122"
    87 => "123"
    88 => "124"
    89 => "125"
    90 => "126"
    91 => "127"
    92 => "128"
    93 => "129"
    94 => "130"
    95 => "131"
    96 => "132"
    97 => "133"
    98 => "134"
    99 => "135"
    100 => "136"
    101 => "137"
    102 => "138"
    103 => "139"
    104 => "140"
    105 => "141"
    106 => "142"
    107 => "143"
    108 => "144"
    109 => "145"
    110 => "146"
    111 => "147"
    112 => "148"
    113 => "149"
    114 => "150"
    115 => "151"
    116 => "152"
    117 => "153"
    118 => "154"
    119 => "155"
    120 => "156"
    121 => "157"
    122 => "158"
    123 => "159"
    124 => "160"
    125 => "161"
    126 => "162"
    127 => "163"
    128 => "164"
    129 => "165"
    130 => "166"
    131 => "167"
    132 => "168"
    133 => "169"
    134 => "170"
    135 => "171"
    136 => "172"
    137 => "173"
    138 => "174"
    139 => "175"
    140 => "176"
    141 => "177"
    142 => "178"
    143 => "179"
    144 => "180"
    145 => "181"
    146 => "182"
    147 => "183"
    148 => "184"
    149 => "185"
    150 => "186"
    151 => "187"
    152 => "188"
    153 => "189"
    154 => "190"
    155 => "191"
    156 => "192"
    157 => "193"
    158 => "194"
    159 => "195"
    160 => "196"
    161 => "197"
    162 => "198"
    163 => "199"
    164 => "200"
    165 => "201"
    166 => "202"
    167 => "203"
    168 => "204"
    169 => "205"
    170 => "206"
    171 => "207"
    172 => "208"
    173 => "209"
    174 => "210"
    175 => "211"
    176 => "212"
    177 => "213"
    178 => "214"
    179 => "215"
    180 => "216"
    181 => "217"
    182 => "218"
    183 => "219"
    184 => "220"
    185 => "221"
    186 => "222"
    187 => "223"
    188 => "224"
    189 => "225"
    190 => "226"
    191 => "227"
    192 => "228"
    193 => "229"
    194 => "230"
    195 => "231"
    196 => "232"
    197 => "233"
    198 => "234"
    199 => "235"
    200 => "236"
    201 => "237"
    202 => "238"
    203 => "239"
    204 => "240"
    205 => "241"
    206 => "242"
    207 => "243"
    208 => "244"
    209 => "245"
    210 => "246"
    211 => "247"
    212 => "248"
    213 => "249"
    214 => "250"
    215 => "251"
    216 => "252"
    217 => "253"
    218 => "254"
    219 => "5"
    220 => "7"
    221 => "8"
    222 => "9"
    223 => "10"
    224 => "11"
    225 => "12"
    226 => "13"
    227 => "14"
    228 => "18"
    229 => "21"
    230 => "22"
    231 => "23"
    232 => "24"
    233 => "25"
    234 => "26"
    235 => "27"
    236 => "29"
    237 => "30"
    238 => "31"
    239 => "33"
    240 => "34"
    241 => "35"
    242 => "38"
    243 => "39"
    244 => "40"
    245 => "41"
    246 => "42"
    247 => "43"
    248 => "44"
    249 => "45"
  ]
]
0.0016 ms
SELECT 
  countryState.id as __countryState_id, 
  countryState.countryID as __countryState_countryID, 
  countryState.name as __countryState_name, 
  countryState.shortcode as __countryState_shortcode, 
  countryState.position as __countryState_position, 
  countryState.active as __countryState_active, 
  countryStateAttribute.id as __countryStateAttribute_id, 
  countryStateAttribute.stateID as __countryStateAttribute_stateID 
FROM 
  s_core_countries_states countryState 
  LEFT JOIN s_core_countries_states_attributes countryStateAttribute ON countryStateAttribute.stateID = countryState.id 
WHERE 
  countryState.countryID IN (: ids)
array:1 [
  ":ids" => array:250 [
    0 => "2"
    1 => "3"
    2 => "4"
    3 => "15"
    4 => "16"
    5 => "20"
    6 => "28"
    7 => "32"
    8 => "36"
    9 => "37"
    10 => "46"
    11 => "47"
    12 => "48"
    13 => "49"
    14 => "50"
    15 => "51"
    16 => "52"
    17 => "53"
    18 => "54"
    19 => "55"
    20 => "56"
    21 => "57"
    22 => "58"
    23 => "59"
    24 => "60"
    25 => "61"
    26 => "62"
    27 => "63"
    28 => "64"
    29 => "65"
    30 => "66"
    31 => "67"
    32 => "68"
    33 => "69"
    34 => "70"
    35 => "71"
    36 => "72"
    37 => "73"
    38 => "74"
    39 => "75"
    40 => "76"
    41 => "77"
    42 => "78"
    43 => "79"
    44 => "80"
    45 => "81"
    46 => "82"
    47 => "83"
    48 => "84"
    49 => "85"
    50 => "86"
    51 => "87"
    52 => "88"
    53 => "89"
    54 => "90"
    55 => "91"
    56 => "92"
    57 => "93"
    58 => "94"
    59 => "95"
    60 => "96"
    61 => "97"
    62 => "98"
    63 => "99"
    64 => "100"
    65 => "101"
    66 => "102"
    67 => "103"
    68 => "104"
    69 => "105"
    70 => "106"
    71 => "107"
    72 => "108"
    73 => "109"
    74 => "110"
    75 => "111"
    76 => "112"
    77 => "113"
    78 => "114"
    79 => "115"
    80 => "116"
    81 => "117"
    82 => "118"
    83 => "119"
    84 => "120"
    85 => "121"
    86 => "122"
    87 => "123"
    88 => "124"
    89 => "125"
    90 => "126"
    91 => "127"
    92 => "128"
    93 => "129"
    94 => "130"
    95 => "131"
    96 => "132"
    97 => "133"
    98 => "134"
    99 => "135"
    100 => "136"
    101 => "137"
    102 => "138"
    103 => "139"
    104 => "140"
    105 => "141"
    106 => "142"
    107 => "143"
    108 => "144"
    109 => "145"
    110 => "146"
    111 => "147"
    112 => "148"
    113 => "149"
    114 => "150"
    115 => "151"
    116 => "152"
    117 => "153"
    118 => "154"
    119 => "155"
    120 => "156"
    121 => "157"
    122 => "158"
    123 => "159"
    124 => "160"
    125 => "161"
    126 => "162"
    127 => "163"
    128 => "164"
    129 => "165"
    130 => "166"
    131 => "167"
    132 => "168"
    133 => "169"
    134 => "170"
    135 => "171"
    136 => "172"
    137 => "173"
    138 => "174"
    139 => "175"
    140 => "176"
    141 => "177"
    142 => "178"
    143 => "179"
    144 => "180"
    145 => "181"
    146 => "182"
    147 => "183"
    148 => "184"
    149 => "185"
    150 => "186"
    151 => "187"
    152 => "188"
    153 => "189"
    154 => "190"
    155 => "191"
    156 => "192"
    157 => "193"
    158 => "194"
    159 => "195"
    160 => "196"
    161 => "197"
    162 => "198"
    163 => "199"
    164 => "200"
    165 => "201"
    166 => "202"
    167 => "203"
    168 => "204"
    169 => "205"
    170 => "206"
    171 => "207"
    172 => "208"
    173 => "209"
    174 => "210"
    175 => "211"
    176 => "212"
    177 => "213"
    178 => "214"
    179 => "215"
    180 => "216"
    181 => "217"
    182 => "218"
    183 => "219"
    184 => "220"
    185 => "221"
    186 => "222"
    187 => "223"
    188 => "224"
    189 => "225"
    190 => "226"
    191 => "227"
    192 => "228"
    193 => "229"
    194 => "230"
    195 => "231"
    196 => "232"
    197 => "233"
    198 => "234"
    199 => "235"
    200 => "236"
    201 => "237"
    202 => "238"
    203 => "239"
    204 => "240"
    205 => "241"
    206 => "242"
    207 => "243"
    208 => "244"
    209 => "245"
    210 => "246"
    211 => "247"
    212 => "248"
    213 => "249"
    214 => "250"
    215 => "251"
    216 => "252"
    217 => "253"
    218 => "254"
    219 => "5"
    220 => "7"
    221 => "8"
    222 => "9"
    223 => "10"
    224 => "11"
    225 => "12"
    226 => "13"
    227 => "14"
    228 => "18"
    229 => "21"
    230 => "22"
    231 => "23"
    232 => "24"
    233 => "25"
    234 => "26"
    235 => "27"
    236 => "29"
    237 => "30"
    238 => "31"
    239 => "33"
    240 => "34"
    241 => "35"
    242 => "38"
    243 => "39"
    244 => "40"
    245 => "41"
    246 => "42"
    247 => "43"
    248 => "44"
    249 => "45"
  ]
]
0.0008 ms
SELECT 
  id, 
  calculation, 
  `date` 
FROM 
  `s_premium_holidays` 
WHERE 
  `date` < CURDATE()
[]
0.0002 ms
SELECT 
  id, 
  calculation_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (active = 1) 
  AND (calculation = 3)
[]
0.0002 ms
SELECT 
  MIN(d.instock >= b.quantity) as instock, 
  MIN(
    d.instock >=(b.quantity + d.stockmin)
  ) as stockmin, 
  MIN(a.laststock) as laststock, 
  SUM(d.weight * b.quantity) as weight, 
  SUM(
    IF(a.id, b.quantity, 0)
  ) as count_article, 
  MAX(b.shippingfree) as shippingfree, 
  SUM(
    IF(
      b.modus IN (0, 21), 
      b.quantity * CAST(
        b.price as DECIMAL(10, 2)
      )/ b.currencyFactor, 
      0
    )
  ) as amount, 
  SUM(
    IF(
      b.modus IN (0, 21), 
      b.quantity * ROUND(
        CAST(
          b.price as DECIMAL(10, 2)
        )/(100 + t.tax)* 100, 
        2
      )/ b.currencyFactor, 
      0
    )
  ) as amount_net, 
  SUM(
    CAST(
      b.price as DECIMAL(10, 2)
    )* b.quantity
  ) as amount_display, 
  MAX(d.length) as `length`, 
  MAX(d.height) as height, 
  MAX(d.width) as width, 
  u.id as userID, 
  MAX(a.topseller) as has_topseller, 
  MAX(at.attr3) as has_comment, 
  MAX(b.esdarticle) as has_esd 
FROM 
  s_order_basket b 
  LEFT JOIN s_articles a ON b.articleID = a.id 
  AND b.modus IN (0, 21) 
  AND b.esdarticle = 0 
  LEFT JOIN s_user u ON u.id = : userId 
  AND u.active = 1 
  LEFT JOIN s_articles_details d ON (d.ordernumber = b.ordernumber) 
  AND d.articleID = a.id 
  LEFT JOIN s_core_tax t ON t.id = a.taxID 
  LEFT JOIN s_articles_attributes at ON at.articledetailsID = d.id 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  b.sessionID = : sessionId 
GROUP BY 
  b.sessionID
array:4 [
  "userId" => null
  "sessionId" => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0004 ms
SELECT 
  id, 
  bind_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (
    active = 1 
    AND type IN (0)
  ) 
  AND (
    bind_sql IS NOT NULL 
    AND bind_sql != ""
  )
[]
0.0001 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:1 [
    0 => "5"
  ]
]
0.0003 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:1 [
    0 => "5"
  ]
]
0.0003 ms
SELECT 
  a.taxID 
FROM 
  s_order_basket b 
  JOIN s_articles a ON a.id = b.articleID 
WHERE 
  b.sessionID = ? 
  AND b.modus = 0 
ORDER BY 
  b.tax_rate DESC 
LIMIT 
  1;
array:1 [
  0 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0002 ms
SELECT 
  elements.name, 
  CONCAT(
    elements.value, 
    '|', 
    IFNULL(
      GROUP_CONCAT(
        elementValues.value SEPARATOR '|'
      ), 
      ''
    )
  ) 
FROM 
  s_core_config_elements elements 
  LEFT JOIN s_core_config_values elementValues ON elementValues.element_id = elements.id 
WHERE 
  elements.name IN (: names) 
GROUP BY 
  elements.name
array:1 [
  "names" => array:6 [
    0 => "discountnumber"
    1 => "surchargenumber"
    2 => "paymentsurchargenumber"
    3 => "paymentSurchargeAbsoluteNumber"
    4 => "shippingSurchargeNumber"
    5 => "shippingdiscountnumber"
  ]
]
0.0005 ms
SELECT 
  id, 
  calculation_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (active = 1) 
  AND (calculation = 3)
[]
0.0001 ms
SELECT 
  MIN(d.instock >= b.quantity) as instock, 
  MIN(
    d.instock >=(b.quantity + d.stockmin)
  ) as stockmin, 
  MIN(a.laststock) as laststock, 
  SUM(d.weight * b.quantity) as weight, 
  SUM(
    IF(a.id, b.quantity, 0)
  ) as count_article, 
  MAX(b.shippingfree) as shippingfree, 
  SUM(
    IF(
      b.modus IN (0, 21), 
      b.quantity * CAST(
        b.price as DECIMAL(10, 2)
      )/ b.currencyFactor, 
      0
    )
  ) as amount, 
  SUM(
    IF(
      b.modus IN (0, 21), 
      b.quantity * ROUND(
        CAST(
          b.price as DECIMAL(10, 2)
        )/(100 + t.tax)* 100, 
        2
      )/ b.currencyFactor, 
      0
    )
  ) as amount_net, 
  SUM(
    CAST(
      b.price as DECIMAL(10, 2)
    )* b.quantity
  ) as amount_display, 
  MAX(d.length) as `length`, 
  MAX(d.height) as height, 
  MAX(d.width) as width, 
  u.id as userID, 
  MAX(a.topseller) as has_topseller, 
  MAX(at.attr3) as has_comment, 
  MAX(b.esdarticle) as has_esd 
FROM 
  s_order_basket b 
  LEFT JOIN s_articles a ON b.articleID = a.id 
  AND b.modus IN (0, 21) 
  AND b.esdarticle = 0 
  LEFT JOIN s_user u ON u.id = : userId 
  AND u.active = 1 
  LEFT JOIN s_articles_details d ON (d.ordernumber = b.ordernumber) 
  AND d.articleID = a.id 
  LEFT JOIN s_core_tax t ON t.id = a.taxID 
  LEFT JOIN s_articles_attributes at ON at.articledetailsID = d.id 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  b.sessionID = : sessionId 
GROUP BY 
  b.sessionID
array:4 [
  "userId" => null
  "sessionId" => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0004 ms
DELETE FROM 
  s_order_basket 
WHERE 
  (sessionID = : sessionId) 
  AND (
    ordernumber IN (: names)
  )
array:2 [
  "names" => array:1 [
    0 => "sw-surcharge"
  ]
  "sessionId" => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0001 ms
SELECT 
  basket.price as end_price, 
  basket.netprice as net_price, 
  basket.tax_rate, 
  basket.quantity 
FROM 
  s_order_basket basket 
WHERE 
  (basket.modus = 0) 
  AND (basket.sessionID = : session) 
  AND (basket.tax_rate != 0)
array:1 [
  ":session" => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0001 ms
SELECT 
  SUM(
    quantity * (
      floor(price * 100 +.55)/ 100
    )
  ) as totalAmount 
FROM 
  s_order_basket basket 
WHERE 
  (basket.sessionID = : sessionId) 
  AND (
    basket.modus NOT IN (2, 4)
  ) 
GROUP BY 
  basket.sessionID
array:1 [
  "sessionId" => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0001 ms
SELECT 
  allow_shipping 
FROM 
  s_core_countries countries 
WHERE 
  countries.id = : countryId
array:1 [
  ":countryId" => 2
]
0.0001 ms
SELECT 
  objectdata, 
  objectlanguage, 
  objecttype, 
  objectkey 
FROM 
  s_core_translations t 
WHERE 
  (
    t.objectlanguage = : objectLanguage
  ) 
  AND (t.objecttype = : objectType) 
  AND (t.objectkey = : objectKey)
array:3 [
  "objectLanguage" => 1
  "objectType" => "config_countries"
  "objectKey" => 1
]
0.0001 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0002 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0001 ms
SELECT 
  element.template_id, 
  element.name, 
  element_value.value, 
  element.default_value as defaultValue, 
  element.type 
FROM 
  s_core_templates_config_elements element 
  LEFT JOIN s_core_templates_config_values element_value ON element_value.element_id = element.id 
  AND element_value.shop_id = : shopId 
WHERE 
  element.template_id IN (: ids)
array:2 [
  ":shopId" => 1
  ":ids" => array:2 [
    0 => 23
    1 => 22
  ]
]
0.0005 ms
SELECT 
  shop.id, 
  REPLACE(locale.locale, "_", "-") as locale 
FROM 
  s_core_shops shop 
  INNER JOIN s_core_locales locale ON locale.id = shop.locale_id 
WHERE 
  (
    (shop.id = : shopId) 
    OR (shop.main_id = : shopId)
  ) 
  AND (active = 1)
array:1 [
  "shopId" => 1
]
0.0002 ms
SELECT 
  category.path 
FROM 
  s_categories category 
WHERE 
  category.id = : id
array:1 [
  ":id" => 3
]
0.0001 ms
SELECT 
  category.id, 
  category.parent 
FROM 
  s_categories category 
WHERE 
  (
    (
      category.parent IN(: parentId) 
      OR category.id IN (: parentId)
    )
  ) 
  AND (category.active = 1) 
  AND (
    category.shops IS NULL 
    OR category.shops LIKE : shopId
  ) 
ORDER BY 
  category.position ASC, 
  category.id ASC
array:2 [
  ":parentId" => array:1 [
    0 => 3
  ]
  ":shopId" => "%|1|%"
]
0.0002 ms
SELECT 
  category.id as __category_id, 
  category.parent as __category_parent_id, 
  category.position as __category_position, 
  category.path as __category_path, 
  category.description as __category_description, 
  category.meta_title as __category_metatitle, 
  category.metakeywords as __category_metakeywords, 
  category.metadescription as __category_metadescription, 
  category.cmsheadline as __category_cmsheadline, 
  category.product_box_layout as __category_product_box_layout, 
  category.cmstext as __category_cmstext, 
  category.template as __category_template, 
  category.blog as __category_blog, 
  category.external as __category_external, 
  category.external_target as __category_external_target, 
  category.hidefilter as __category_hidefilter, 
  category.hidetop as __category_hidetop, 
  category.stream_id as __category_stream_id, 
  category.hide_sortings as __category_hide_sortings, 
  categoryAttribute.id as __categoryAttribute_id, 
  categoryAttribute.categoryID as __categoryAttribute_categoryID, 
  categoryAttribute.attribute1 as __categoryAttribute_attribute1, 
  categoryAttribute.attribute2 as __categoryAttribute_attribute2, 
  categoryAttribute.attribute3 as __categoryAttribute_attribute3, 
  categoryAttribute.attribute4 as __categoryAttribute_attribute4, 
  categoryAttribute.attribute5 as __categoryAttribute_attribute5, 
  categoryAttribute.attribute6 as __categoryAttribute_attribute6, 
  categoryAttribute.swkwe_show_soldout as __categoryAttribute_swkwe_show_soldout, 
  categoryAttribute.swkwe_emotion_category_slider_media as __categoryAttribute_swkwe_emotion_category_slider_media, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID, 
  stream.id as __stream_id, 
  stream.name as __stream_name, 
  stream.description as __stream_description, 
  stream.type as __stream_type, 
  productStreamAttribute.id as __productStreamAttribute_id, 
  productStreamAttribute.streamID as __productStreamAttribute_streamID, 
  GROUP_CONCAT(customerGroups.customergroupID) as __category_customer_groups 
FROM 
  s_categories category 
  LEFT JOIN s_categories_attributes categoryAttribute ON categoryAttribute.categoryID = category.id 
  LEFT JOIN s_categories_avoid_customergroups customerGroups ON customerGroups.categoryID = category.id 
  LEFT JOIN s_media media ON media.id = category.mediaID 
  LEFT JOIN s_product_streams stream ON category.stream_id = stream.id 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
  LEFT JOIN s_product_streams_attributes productStreamAttribute ON stream.id = productStreamAttribute.streamId 
WHERE 
  (
    category.id IN (: categories)
  ) 
  AND (category.active = 1) 
  AND (
    category.shops IS NULL 
    OR category.shops LIKE : shopId
  ) 
GROUP BY 
  category.id
array:2 [
  ":categories" => array:10 [
    0 => 3
    1 => 20
    2 => 3
    3 => 5
    4 => 6
    5 => 7
    6 => 15
    7 => 16
    8 => 17
    9 => 13
  ]
  ":shopId" => "%|1|%"
]
0.0008 ms
SELECT 
  parent as id, 
  COUNT(id) as childrenCount 
FROM 
  s_categories category 
WHERE 
  (
    parent IN (: ids)
  ) 
  AND (category.active = 1) 
GROUP BY 
  parent
array:1 [
  ":ids" => array:10 [
    0 => 3
    1 => 20
    2 => 3
    3 => 5
    4 => 6
    5 => 7
    6 => 15
    7 => 16
    8 => 17
    9 => 13
  ]
]
0.0002 ms
SELECT 
  shop.id as __shop_id, 
  shop.main_id as __shop_main_id, 
  shop.name as __shop_name, 
  shop.title as __shop_title, 
  shop.position as __shop_position, 
  shop.host as __shop_host, 
  shop.base_path as __shop_base_path, 
  shop.base_url as __shop_base_url, 
  shop.hosts as __shop_hosts, 
  shop.secure as __shop_secure, 
  shop.template_id as __shop_template_id, 
  shop.document_template_id as __shop_document_template_id, 
  shop.category_id as __shop_category_id, 
  shop.locale_id as __shop_locale_id, 
  shop.currency_id as __shop_currency_id, 
  shop.customer_group_id as __shop_customer_group_id, 
  shop.fallback_id as __shop_fallback_id, 
  shop.customer_scope as __shop_customer_scope, 
  shop.default as __shop_default, 
  shop.active as __shop_active, 
  shopAttribute.id as __shopAttribute_id, 
  shopAttribute.shopID as __shopAttribute_shopID, 
  currency.id as __currency_id, 
  currency.currency as __currency_currency, 
  currency.name as __currency_name, 
  currency.standard as __currency_standard, 
  currency.factor as __currency_factor, 
  currency.templatechar as __currency_templatechar, 
  currency.symbol_position as __currency_symbol_position, 
  currency.position as __currency_position, 
  template.id as __template_id, 
  template.template as __template_template, 
  template.name as __template_name, 
  template.description as __template_description, 
  template.author as __template_author, 
  template.license as __template_license, 
  template.esi as __template_esi, 
  template.style_support as __template_style_support, 
  template.emotion as __template_emotion, 
  template.version as __template_version, 
  template.plugin_id as __template_plugin_id, 
  template.parent_id as __template_parent_id, 
  locale.id as __locale_id, 
  locale.locale as __locale_locale, 
  locale.language as __locale_language, 
  locale.territory as __locale_territory, 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID, 
  category.id as __category_id, 
  category.parent as __category_parent_id, 
  category.position as __category_position, 
  category.path as __category_path, 
  category.description as __category_description, 
  category.meta_title as __category_metatitle, 
  category.metakeywords as __category_metakeywords, 
  category.metadescription as __category_metadescription, 
  category.cmsheadline as __category_cmsheadline, 
  category.product_box_layout as __category_product_box_layout, 
  category.cmstext as __category_cmstext, 
  category.template as __category_template, 
  category.blog as __category_blog, 
  category.external as __category_external, 
  category.external_target as __category_external_target, 
  category.hidefilter as __category_hidefilter, 
  category.hidetop as __category_hidetop, 
  category.stream_id as __category_stream_id, 
  category.hide_sortings as __category_hide_sortings, 
  categoryAttribute.id as __categoryAttribute_id, 
  categoryAttribute.categoryID as __categoryAttribute_categoryID, 
  categoryAttribute.attribute1 as __categoryAttribute_attribute1, 
  categoryAttribute.attribute2 as __categoryAttribute_attribute2, 
  categoryAttribute.attribute3 as __categoryAttribute_attribute3, 
  categoryAttribute.attribute4 as __categoryAttribute_attribute4, 
  categoryAttribute.attribute5 as __categoryAttribute_attribute5, 
  categoryAttribute.attribute6 as __categoryAttribute_attribute6, 
  categoryAttribute.swkwe_show_soldout as __categoryAttribute_swkwe_show_soldout, 
  categoryAttribute.swkwe_emotion_category_slider_media as __categoryAttribute_swkwe_emotion_category_slider_media, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops_attributes shopAttribute ON shopAttribute.shopID = shop.id 
  LEFT JOIN s_core_currencies currency ON currency.id = shop.currency_id 
  LEFT JOIN s_core_templates template ON shop.template_id = template.id 
  LEFT JOIN s_core_locales locale ON locale.id = shop.locale_id 
  LEFT JOIN s_core_customergroups customerGroup ON customerGroup.id = shop.customer_group_id 
  LEFT JOIN s_categories category ON category.id = shop.category_id 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
  LEFT JOIN s_categories_attributes categoryAttribute ON categoryAttribute.categoryID = category.id 
  LEFT JOIN s_categories_avoid_customergroups customerGroups ON customerGroups.categoryID = category.id 
  LEFT JOIN s_media media ON media.id = category.mediaID 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
WHERE 
  shop.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 1
  ]
]
0.0008 ms
SELECT 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID 
FROM 
  s_core_customergroups customerGroup 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
WHERE 
  customerGroup.groupkey IN (: keys)
array:1 [
  ":keys" => array:2 [
    0 => "EK"
    1 => "EK"
  ]
]
0.0003 ms
SELECT 
  tax.id as __tax_id, 
  tax.tax as __tax_tax, 
  tax.description as __tax_description 
FROM 
  s_core_tax tax
[]
0.0002 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => null
  ":country" => null
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "1"
]
0.0003 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => null
  ":country" => null
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "4"
]
0.0003 ms
SELECT 
  priceGroupDiscount.groupID, 
  priceGroupDiscount.id as __priceGroupDiscount_id, 
  priceGroupDiscount.groupID as __priceGroupDiscount_groupID, 
  priceGroupDiscount.discount as __priceGroupDiscount_discount, 
  priceGroupDiscount.discountstart as __priceGroupDiscount_discountstart, 
  priceGroup.id as __priceGroup_id, 
  priceGroup.description as __priceGroup_description 
FROM 
  s_core_pricegroups_discounts priceGroupDiscount 
  INNER JOIN s_core_pricegroups priceGroup ON priceGroup.id = priceGroupDiscount.groupID 
WHERE 
  priceGroupDiscount.customergroupID = : customerGroup 
GROUP BY 
  priceGroupDiscount.id 
ORDER BY 
  priceGroupDiscount.groupID ASC, 
  priceGroupDiscount.discountstart ASC
array:1 [
  ":customerGroup" => 1
]
0.0003 ms
SELECT 
  page.id, 
  page.description, 
  page.link, 
  page.target, 
  page.parentID, 
  groups.key as `group`, 
  mapping.key as mapping 
FROM 
  s_cms_static page 
  LEFT JOIN s_cms_static_groups `groups` ON groups.active = 1 
  LEFT JOIN s_cms_static_groups mapping ON groups.mapping_id = mapping.id 
  LEFT JOIN s_core_shop_pages shops ON groups.id = shops.group_id 
  AND shops.shop_id = : shopId 
WHERE 
  (groups.active = 1) 
  AND (page.active = 1) 
  AND (
    CONCAT('|', page.grouping, '|') LIKE CONCAT('%|', groups.key, '|%')
  ) 
  AND (
    (
      mapping.id IS NULL 
      OR shops.shop_id IS NOT NULL
    )
  ) 
  AND (
    (
      mapping.id IS NULL 
      OR mapping.active = 1
    )
  ) 
  AND (
    (
      page.shop_ids IS NULL 
      OR page.shop_ids LIKE : staticShopId
    )
  ) 
ORDER BY 
  parentID ASC, 
  mapping.key ASC, 
  page.position ASC, 
  page.description ASC
array:2 [
  ":shopId" => 1
  ":staticShopId" => "%|1|%"
]
0.0005 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:15 [
    39 => "sViewport=forms&sFid=9"
    21 => "sViewport=registerFC"
    26 => "sViewport=newsletter"
    37 => "sViewport=forms&sFid=8"
    43 => "sViewport=custom&sCustom=43"
    9 => "sViewport=custom&sCustom=9"
    2 => "sViewport=custom&sCustom=2"
    1 => "sViewport=forms&sFid=5"
    6 => "sViewport=custom&sCustom=6"
    41 => "sViewport=forms&sFid=10"
    8 => "sViewport=custom&sCustom=8"
    7 => "sViewport=custom&sCustom=7"
    45 => "sViewport=custom&sCustom=45"
    4 => "sViewport=custom&sCustom=4"
    3 => "sViewport=custom&sCustom=3"
  ]
]
0.0004 ms
SELECT 
  s_core_config_values.value 
FROM 
  s_core_config_values 
  INNER JOIN s_core_config_elements ON s_core_config_values.element_id = s_core_config_elements.id 
  AND s_core_config_elements.`name` LIKE 'assetTimestamp' 
WHERE 
  s_core_config_values.shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0003 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0002 ms
SELECT 
  s_core_config_values.value 
FROM 
  s_core_config_values 
  INNER JOIN s_core_config_elements ON s_core_config_values.element_id = s_core_config_elements.id 
  AND s_core_config_elements.`name` LIKE 'assetTimestamp' 
WHERE 
  s_core_config_values.shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0004 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0002 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:15 [
    0 => "sViewport=cat&sCategory=20"
    1 => "sViewport=cat&sCategory=5"
    2 => "sViewport=cat&sCategory=6"
    3 => "sViewport=cat&sCategory=7"
    4 => "sViewport=cat&sCategory=15"
    5 => "sViewport=cat&sCategory=16"
    6 => "sViewport=cat&sCategory=17"
    7 => "sViewport=cat&sCategory=20"
    8 => "sViewport=cat&sCategory=5"
    9 => "sViewport=cat&sCategory=6"
    10 => "sViewport=cat&sCategory=7"
    11 => "sViewport=cat&sCategory=15"
    12 => "sViewport=cat&sCategory=16"
    13 => "sViewport=cat&sCategory=17"
    14 => "sViewport=blog&sCategory=13"
  ]
]
0.0005 ms
SELECT 
  host, 
  hosts 
FROM 
  s_core_shops 
WHERE 
  id = : id
array:1 [
  ":id" => 1
]
0.0001 ms
SELECT 
  expiry, 
  modified 
FROM 
  s_core_sessions 
WHERE 
  id = ?
array:1 [
  0 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0002 ms
SELECT 
  ce.subscribe as name, 
  ce.listener, 
  ce.position, 
  cp.name as plugin 
FROM 
  s_core_subscribes ce 
  JOIN s_core_plugins cp ON cp.id = ce.pluginID 
  AND cp.active = 1 
  AND cp.namespace = ? 
WHERE 
  ce.type = 0 
ORDER BY 
  name, 
  position
array:1 [
  1 => "Core"
]
0.7360 ms
SELECT 
  ce.subscribe as name, 
  ce.listener, 
  ce.position, 
  cp.name as plugin 
FROM 
  s_core_subscribes ce 
  JOIN s_core_plugins cp ON cp.id = ce.pluginID 
  AND cp.active = 1 
  AND cp.namespace = ? 
WHERE 
  ce.type = 0 
ORDER BY 
  name, 
  position
array:1 [
  1 => "Frontend"
]
0.3819 ms
SELECT 
  ce.subscribe as name, 
  ce.listener, 
  ce.position, 
  cp.name as plugin 
FROM 
  s_core_subscribes ce 
  JOIN s_core_plugins cp ON cp.id = ce.pluginID 
  AND cp.active = 1 
  AND cp.namespace = ? 
WHERE 
  ce.type = 0 
ORDER BY 
  name, 
  position
array:1 [
  1 => "Backend"
]
0.4089 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 0
]
0.2630 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.1781 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1638 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.2720 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0839 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.2539 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.2439 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.3529 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.1280 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.1631 ms
SELECT 
  * 
FROM 
  s_core_customergroups 
WHERE 
  groupkey = ?
array:1 [
  1 => "EK"
]
0.1500 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.1879 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1431 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.2451 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.1540 ms
SELECT 
  * 
FROM 
  s_core_paymentmeans 
WHERE 
  id = ?
array:1 [
  1 => 5
]
0.1760 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1459 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0958 ms
SELECT 
  1 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND id = ?
array:3 [
  1 => 1
  2 => "2"
  3 => 5
]
0.1891 ms
DELETE FROM 
  `s_order_basket` 
WHERE 
  (
    sessionID = '3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122'
  ) 
  AND (
    modus IN (3, 4)
  ) 
  AND (
    ordernumber IN (
      'sw-payment-absolute', 'sw-payment', 
      'sw-discount', 'SHIPPINGDISCOUNT', 
      'swShippingSurcharge'
    )
  )
[]
0.2048 ms
SELECT 
  id, 
  modus, 
  quantity 
FROM 
  s_order_basket 
WHERE 
  sessionID = ?
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1020 ms
SELECT 
  SUM(
    quantity *(
      floor(price * 100 +.55)/ 100
    )
  ) AS totalAmount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1380 ms
SELECT 
  basket.id 
FROM 
  s_order_basket basket 
  LEFT JOIN s_articles a ON a.id = basket.articleID 
  LEFT JOIN s_articles_details d ON d.id = a.main_detail_id 
  LEFT JOIN s_addon_premiums premium ON IF(
    a.configurator_set_id IS NULL, premium.ordernumber_export = basket.ordernumber, 
    premium.ordernumber = d.ordernumber
  ) 
  AND premium.startprice <= ? 
WHERE 
  basket.modus = 1 
  AND premium.id IS NULL 
  AND basket.sessionID = ?
array:2 [
  1 => 0.0
  2 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1941 ms
DELETE FROM 
  `s_order_basket` 
WHERE 
  (
    sessionID = '3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122'
  ) 
  AND (modus = 3)
[]
0.1180 ms
SELECT 
  id basketID, 
  ordernumber, 
  articleID as voucherID 
FROM 
  s_order_basket 
WHERE 
  modus = 2 
  AND sessionID = ?
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1030 ms
SELECT 
  COUNT(*) 
FROM 
  s_order_basket 
WHERE 
  modus = 0 
  AND sessionID = ?
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0961 ms
SELECT 
  debit_percent 
FROM 
  s_core_paymentmeans 
WHERE 
  id = ?
array:1 [
  1 => 5
]
0.0699 ms
SELECT 
  basketdiscount, 
  basketdiscountstart 
FROM 
  s_core_customergroups_discounts 
WHERE 
  groupID = ? 
ORDER BY 
  basketdiscountstart ASC
array:1 [
  1 => "1"
]
0.0830 ms
DELETE FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND modus = 3
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0799 ms
SELECT 
  s_order_basket.*, 
  COALESCE (
    NULLIF(ad.packunit, ''), 
    mad.packunit
  ) AS packunit, 
  a.main_detail_id AS mainDetailId, 
  ad.id AS articleDetailId, 
  ad.minpurchase, 
  a.taxID, 
  ad.instock AS instock, 
  ad.suppliernumber, 
  ad.maxpurchase, 
  ad.purchasesteps, 
  ad.purchaseunit, 
  COALESCE (ad.unitID, mad.unitID) AS unitID, 
  ad.laststock, 
  ad.shippingtime, 
  ad.releasedate, 
  ad.releasedate AS sReleaseDate, 
  COALESCE (ad.ean, mad.ean) AS ean, 
  ad.stockmin, 
  s_order_basket_attributes.swkwe_set_hash as swkweSetHash, 
  s_order_basket_attributes.attribute1 as ob_attr1, 
  s_order_basket_attributes.attribute2 as ob_attr2, 
  s_order_basket_attributes.attribute3 as ob_attr3, 
  s_order_basket_attributes.attribute4 as ob_attr4, 
  s_order_basket_attributes.attribute5 as ob_attr5, 
  s_order_basket_attributes.attribute6 as ob_attr6, 
  s_order_basket_attributes.id as __s_order_basket_attributes_id, 
  s_order_basket_attributes.basketID as __s_order_basket_attributes_basketID, 
  s_order_basket_attributes.attribute1 as __s_order_basket_attributes_attribute1, 
  s_order_basket_attributes.attribute2 as __s_order_basket_attributes_attribute2, 
  s_order_basket_attributes.attribute3 as __s_order_basket_attributes_attribute3, 
  s_order_basket_attributes.attribute4 as __s_order_basket_attributes_attribute4, 
  s_order_basket_attributes.attribute5 as __s_order_basket_attributes_attribute5, 
  s_order_basket_attributes.attribute6 as __s_order_basket_attributes_attribute6, 
  s_order_basket_attributes.swkwe_set_hash as __s_order_basket_attributes_swkwe_set_hash 
FROM 
  s_order_basket 
  LEFT JOIN s_articles_details AS ad ON ad.ordernumber = s_order_basket.ordernumber 
  LEFT JOIN s_articles a ON (a.id = ad.articleID) 
  LEFT JOIN s_articles_details AS mad ON mad.id = a.main_detail_id 
  LEFT JOIN s_order_basket_attributes ON s_order_basket.id = s_order_basket_attributes.basketID 
WHERE 
  sessionID = ? 
ORDER BY 
  id ASC, 
  datum DESC
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.2968 ms
SELECT 
  SUM(
    quantity *(
      floor(price * 100 +.55)/ 100
    )
  ) AS totalAmount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1049 ms
SELECT 
  `id` 
FROM 
  `s_order_basket` 
WHERE 
  `sessionID` = ? 
  AND `modus` = 1
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.0958 ms
SELECT 
  id, 
  esdarticle 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND modus = 0 
ORDER BY 
  esdarticle DESC
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1621 ms
SELECT 
  SUM(
    quantity *(
      floor(price * 100 +.55)/ 100
    )
  ) AS totalAmount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1528 ms
SELECT 
  p.ordernumber AS premium_ordernumber, 
  startprice, 
  subshopID, 
  a.id AS articleID, 
  a.main_detail_id 
FROM 
  s_addon_premiums p, 
  s_articles a, 
  s_articles_details d2 
WHERE 
  p.ordernumber = d2.ordernumber 
  AND d2.articleID = a.id 
  AND (
    p.subshopID = ? 
    OR p.subshopID = 0
  ) 
ORDER BY 
  p.startprice ASC
array:1 [
  1 => 1
]
0.2260 ms
SELECT 
  COUNT(*) 
FROM 
  s_order_basket 
WHERE 
  modus = 0 
  AND sessionID = ?
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.2091 ms
SELECT 
  SUM(
    quantity *(
      floor(price * 100 +.55)/ 100
    )
  ) AS totalAmount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "3451138454f8fb5feeec526ebf233098ddcb2846b97399a34a67bb81cab3a122"
]
0.1340 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'frontend/cookie_consent/groups'
  ) 
  AND (shopID = '1') 
  AND (localeID = '1')
[]
0.1869 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'frontend/cookie_consent/groups'
  ) 
  AND (shopID = '1') 
  AND (localeID = '2')
[]
0.1590 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'frontend/cookie_consent/cookies'
  ) 
  AND (shopID = '1') 
  AND (localeID = '1')
[]
0.1569 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'frontend/cookie_consent/cookies'
  ) 
  AND (shopID = '1') 
  AND (localeID = '2')
[]
0.1581 ms
SELECT 
  `id` 
FROM 
  `s_core_config_elements` 
WHERE 
  `name` LIKE 'routerlastupdate'
[]
0.3400 ms
SELECT 
  v.value 
FROM 
  s_core_config_elements e, 
  s_core_config_values v 
WHERE 
  v.element_id = e.id 
  AND e.id = ? 
  AND v.shop_id = ?
array:2 [
  1 => "658"
  2 => 1
]
0.2398 ms