custom/static-plugins/CioItpThemeFilters/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends "@Storefront/storefront/base.html.twig" %}
  2. {% block base_flashbags %}
  3.     {{ parent() }}
  4.     {% set compatibleWithId = app.request.cookies.get('compatibleWith') %}
  5.     {% if compatibleWithId %}
  6.         {% set compatibleWithName = getPropertyOptionName(compatibleWithId, context) %}
  7.         <div class="flashbags container mt-3">
  8.             {% set message = "itp.filter-active"|trans({'%activeFilter%': compatibleWithName}) %}
  9.             {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'info', list: [message] } %}
  10.         </div>
  11.         <template data-filter-reset-compatible-with></template>
  12.     {% endif %}
  13. {% endblock %}