custom/plugins/MoorlInterrupter/src/Resources/views/storefront/component/product/listing.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/product/listing.html.twig' %}
  2. {% block element_product_listing_col %}
  3.     {% if searchResult.moorlInterrupters %}
  4.         {% for element in searchResult.moorlInterrupters %}
  5.             <div class="cms-listing-col {{ element.getBehaviourClass(listingColumns) }}"
  6.                  data-mi-name="{{ element.name }}">
  7.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  8.             </div>
  9.         {% endfor %}
  10.     {% endif %}
  11.     {% set order = 0 %}
  12.     {% for product in searchResult %}
  13.         {% set order = order + 1 %}
  14.         <div class="cms-listing-col {{ listingColumns }}" style="order: {{ order }}">
  15.             {% block element_product_listing_box %}
  16.                 {{ parent() }}
  17.             {% endblock %}
  18.         </div>
  19.     {% endfor %}
  20. {% endblock %}