{% block wexo_category_banner %}
{% set isSidebar = section and section.type == 'sidebar' %}
{% set columnsNew = {
1: listingColumns,
2: isSidebar ? 'col-sm-12 col-lg-12 col-xl-8' : 'col-sm-12 col-lg-8 col-xl-6',
3: isSidebar ? 'col-sm-12 col-lg-12 col-xl-12' : 'col-sm-12 col-lg-12 col-xl-9',
4: 'col-sm-12 col-lg-12 col-xl-12'
} %}
{% set index = loop.index %}
{% block wexo_category_banner_loop %}
{% for banner in banners|filter(banner => index in banner.positions) %}
{% block wexo_category_banner_loop_item %}
{% sw_include "@WexoCategoryBanner/storefront/component/product/banner/banner-item.html.twig" %}
{% endblock %}
{% endfor %}
{% endblock %}
{% endblock %}