templates/front/catalog/product/carousel.html.twig line 1

Open in your IDE?
  1. {% if withWrapper is not defined %}
  2. {% set withWrapper = false %}
  3. {% endif %}
  4. {% if titleTag is not defined %}
  5. {% set titleTag = 'div' %}
  6. {% endif %}
  7. {% if withWrapper %}
  8. <div class="product-carousel-ctn">
  9. <div class="ctn">
  10. {% endif %}
  11. <div class="product-list-ctn">
  12. {% if title is defined and title %}
  13. <div class="title-ctn">
  14. <{{ titleTag }} class="title">{{ title }}</{{ titleTag }}>
  15. <hr>
  16. </div>
  17. {% endif %}
  18. <ul class="product-list product-carousel">
  19. {% for p in products %}
  20. {% include 'front/catalog/product/view/list-item.html.twig' with {product:p} %}
  21. {% endfor %}
  22. </ul>
  23. </div>
  24. {% if withWrapper %}
  25. </div>
  26. </div>
  27. {% endif %}