templates/frontend/category/_lastViewed.html.twig line 1

Open in your IDE?
  1. {% trans_default_domain 'store' %}
  2. <!-- START OF RECENTLY VIEWED -->
  3. {% if lastViewed|length %}
  4.     <div class="section">
  5.         <div class="container">
  6.             <div class="is-size-4 margin-bot-30 is-600 has-text-centered is-3 ">
  7.                 {{ 'lastViewedProducts'|trans }}
  8.             </div>
  9.             <div class="columns is-full" v-match-heights="{ el: [ '.no-description' ] }">
  10.                 {% for productData in lastViewed %}
  11.                     {% set product = productData[0].product %}
  12.                     {% include 'frontend/components/smallProduct.html.twig' with {'isOneQuarter':1, 'product':product, 'productData':productData} %}
  13.                 {% endfor %}
  14.             </div>
  15.         </div>
  16.     </div>
  17.     <!-- END OF RECENTLY VIEWED -->
  18. {% endif %}