templates/website/product/product-section.html.twig line 1

Open in your IDE?
  1. {% from 'utils.html.twig' import ico %}
  2. {% if section.items|length > 0 %}
  3.     <section id="sec-content-{{ section.name }}" class="pag-sec slider-destaques">
  4.         <div id="container-{{ section.name }}" class="product-section-container" data-status="hide">
  5.             <div class="lateral-products">
  6.                 <div class="related-contain">
  7.                     <header class="tit-sec tx-centro">
  8.                         <h2>{{ section.title }}</h2>
  9.                         <span class="sub">{{ section.subtitle }}</span>
  10.                     </header>
  11.                     <div class="related-slider">
  12.                         <div class="js--slider" id="slider-{{ section.name }}" data-slider-options-label="slider-product-related">
  13.                             {% for item in section.items %}
  14.                                 {% include 'website/product/product-item-box-default.html.twig' %}
  15.                             {% endfor %}
  16.                         </div>
  17.                         <div id="arrows-slider-{{ section.name }}" class="tns-arrows">
  18.                             <button class="slider-seta slider-seta-prev">{{ ico('arrow-left')  }}</button>
  19.                             <button class="slider-seta slider-seta-next">{{ ico('arrow-right') }}</button>
  20.                         </div>
  21.                     </div>
  22.                 </div>{# -/ .related-contain #}
  23.             </div>{# -/ .lateral-products #}
  24.         </div>{# -/ .container #}
  25.     </section>
  26. {% endif %}