custom/plugins/NetiNextEasyCouponDesigns/src/Resources/views/storefront/element/cms-element-image-gallery.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/element/cms-element-image-gallery.html.twig' %}
  2. {% block element_image_gallery_alignment %}
  3.     {{ parent() }}
  4.     {# This element will never be shown and is only used to collect information about the correct image index per id #}
  5.     {# See here: src/Resources/app/storefront/src/plugins/easy-coupon-designs/SelectDesignPlugin.js #}
  6.     <div class="neti-ecd-media-item-reference-container d-none">
  7.         {% for image in mediaItems %}
  8.             {% if image.translated.netiEasyCouponDesignsId %}
  9.                 <div
  10.                         class="reference-item"
  11.                         data-index="{{ loop.index }}"
  12.                         data-id="{{ image.translated.netiEasyCouponDesignsId }}"
  13.                 ></div>
  14.             {% endif %}
  15.         {% endfor %}
  16.     </div>
  17. {% endblock %}