vendor/store.shopware.com/h1webblog/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. {# when hacking the search total, we can have the horrible situation
  3. where there is a grand total of zero sortings available, thus breaking the frontend #}
  4. {% block element_product_listing_sorting %}
  5.     {% if searchResult.sorting %}
  6.         {{ parent() }}
  7.     {% endif %}
  8. {% endblock %}
  9. {% block element_product_listing_col_empty %}
  10.     {% if page.extensions.blogpages and page.extensions.blogpages.total > 0 %}
  11.     {% else %}
  12.         {{ parent() }}
  13.     {% endif %}
  14. {% endblock %}
  15. {% block element_product_listing_row %}
  16.     {{ parent() }}
  17.     {% if page.extensions.blogpages and page.extensions.blogpages.total > 0 %}
  18.         {% block blog_listing %}
  19.             {% set blogpages = page.extensions.blogpages %}
  20.             <div class="h1webblog-overview">
  21.                 <div class="cms-block-h1webblog-listing">
  22.                     <div class="cms-element-blog-listing">
  23.                         {% block element_h1webblog_listing_row %}
  24.                             <div class="row cms-listing-row js-listing-wrapper">
  25.                                 {% block element_blog_listing_col %}
  26.                                     {% for blog in blogpages %}
  27.                                         <div class="cms-listing-col {{ listingColumns }}">
  28.                                             {% block element_h1webblog_listing_box %}
  29.                                                 {% sw_include '@Storefront/storefront/component/h1webblog/card/box.html.twig' %}
  30.                                             {% endblock %}
  31.                                         </div>
  32.                                     {% endfor %}
  33.                                 {% endblock %}
  34.                             </div>
  35.                         {% endblock %}
  36.                     </div>
  37.                 </div>
  38.             </div>
  39.         {% endblock %}
  40.     {% endif %}
  41. {% endblock %}