custom/plugins/GrimmTheme/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_pagination_nav_actions %}
  3. <p class="cms-element-sidebar__additional-info--amount">
  4.     {{ searchResult.total }}
  5.     {% sw_include '@Storefront/storefront/utilities/pluralise-snippets.twig' with {
  6.         integer: searchResult.total,
  7.         plural: "listing.products"|trans|sw_sanitize,
  8.         singular: "listing.product"|trans|sw_sanitize
  9.     }%}
  10. </p>
  11.     <div class="cms-element-product-listing-actions">
  12.         {# pagination top removed #}
  13.         <div class="sorting-container col-6 col-lg-12">
  14.             {% if "listing.sorting" %}
  15.                 <span class="d-none d-lg-inline sorting-name grm-light">{{ "listing.sorting"|trans|sw_sanitize }}
  16.                 </span>
  17.             {% endif %}
  18.             {% block element_product_listing_sorting %}
  19.                 {{ parent() }}
  20.                 {# listing view switch will be inserted here through listing switch plugin #}
  21.                 {# on search page we dont want the switch #}
  22.                
  23.                 {% block s360_listing_switch_buttons %}
  24.                     {% if activeRoute in ["widgets.search.pagelet.v2", "frontend.search.page", "frontend.search.s360searchreload"]  == false %}
  25.                         {{ parent() }}
  26.                     {% endif %}
  27.                 {% endblock %}
  28.             {% endblock %}
  29.         </div>
  30.     </div>
  31. {% endblock %}