custom/plugins/AtmosTheme/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.     {% for product in searchResult %}
  4.         <div class="cms-listing-col col-12">
  5.             {% block element_product_listing_box %}
  6.                 {% sw_include '@Storefront/storefront/component/product/card/box.html.twig' with {
  7.                     'layout': 'list',
  8.                     'displayMode': displayMode
  9.                 } %}
  10.             {% endblock %}
  11.         </div>
  12.     {% endfor %}
  13.     {#
  14.         <div class="col-12">
  15.             <div class="alert alert-warning alert-has-icon">
  16.                 {% sw_icon 'warning' %}
  17.                 <div class="alert-content-container">
  18.                     <div class="alert-content">
  19.                          Unsere Netto-Preise sehen Sie, sobald Sie nach einer Prüfung als Geschäftskunde freigeschaltet sind. 
  20.                     </div>
  21.                 </div>
  22.             </div>
  23.             <div class="alert alert-info alert-has-icon">
  24.                 {% sw_icon 'info' %}
  25.                 <div class="alert-content-container">
  26.                     <div class="alert-content">
  27.                          Unsere Netto-Preise sehen Sie, sobald Sie nach einer Prüfung als Geschäftskunde freigeschaltet sind. 
  28.                     </div>
  29.                 </div>
  30.             </div> 
  31.             <div class="alert alert-success alert-has-icon">
  32.                 {% sw_icon 'checkmark-circle' %}
  33.                 <div class="alert-content-container">
  34.                     <div class="alert-content">
  35.                          Unsere Netto-Preise sehen Sie, sobald Sie nach einer Prüfung als Geschäftskunde freigeschaltet sind. 
  36.                     </div>
  37.                 </div>
  38.             </div>                
  39.         </div>
  40.     #}
  41. {% endblock %}
  42. {% block element_product_listing_pagination_nav_actions %}
  43.     <div class="cms-element-product-listing-actions row justify-content-between">
  44.         <div class="col-auto">
  45.             <span class="listing-results">{{searchResult.total}} {{ "AtmosTheme.listing.results"|trans|striptags }}</span>
  46.             {% block element_product_listing_pagination_nav_top %}
  47.                 {% sw_include '@Storefront/storefront/component/pagination.html.twig' with {
  48.                     entities: searchResult,
  49.                     criteria: searchResult.criteria
  50.                 } %}
  51.             {% endblock %}
  52.         </div>
  53.         <div class="col-auto">
  54.             {% block element_product_listing_sorting %}
  55.                 {% sw_include '@Storefront/storefront/component/sorting.html.twig' with {
  56.                     current: searchResult.sorting,
  57.                     sortings: searchResult.availableSortings
  58.                 } %}
  59.             {% endblock %}
  60.         </div>
  61.     </div>
  62. {% endblock %}