custom/plugins/NrbnSenertecTheme/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. {% set listingColumns = 'col-12' %}
  3. {% block product_listing %}
  4.     {% if activeRoute != "frontend.search.page" %}
  5.         <h1>{{ page.header.navigation.active.name }}</h1>
  6.     {% endif %}
  7.     <div class="cms-element-product-listing-wrapper"
  8.          data-listing-pagination="true"
  9.          data-listing-pagination-options='{{ paginationConfig }}'
  10.          data-listing="true"
  11.          data-listing-options='{{ listingPagination|json_encode }}'>
  12.         {% block element_product_listing_wrapper_content %}
  13.             <div class="cms-element-product-listing">
  14.                 {% if searchResult.total > 0 %}
  15.                     {% sw_include '@Storefront/storefront/component/pagination.html.twig' with {
  16.                         entities: searchResult,
  17.                         criteria: searchResult.criteria,
  18.                         cls: "header"
  19.                     } %}
  20.                     {% block element_product_listing_pagination_nav_actions %}
  21.                     {% endblock %}
  22.                     {{ parent() }}
  23.                 {% endif %}
  24.             </div>
  25.         {% endblock %}
  26.     </div>
  27. {% endblock %}