custom/plugins/IabTheme/src/Resources/views/storefront/block/cms-block-gallery-buybox.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/block/cms-block-gallery-buybox.html.twig' %}
  2. {% block block_gallery_buybox %}
  3.     {% block block_gallery_buybox_column_left %}
  4.         {% set element = block.slots.getSlot('left') %}
  5.         {% set config = element.fieldConfig.elements %}
  6.         <div class="col-lg-6 product-detail-media" data-cms-element-id="{{ element.id }}">
  7.             {% block block_gallery_buybox_column_left_inner %}
  8.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing
  9.                     with {
  10.                     'isProduct': config.sliderItems.value == 'product.media' and config.sliderItems.source == 'mapped',
  11.                     'startIndexThumbnails': 1,
  12.                     'startIndexSlider': 1
  13.                 } %}
  14.             {% endblock %}
  15.         </div>
  16.     {% endblock %}
  17.     {% block block_gallery_buybox_column_right %}
  18.         {% set element = block.slots.getSlot('right') %}
  19.         <div class="col-lg-6 product-detail-buy" data-cms-element-id="{{ element.id }}">
  20.             {% block block_gallery_buybox_column_right_inner %}
  21.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  22.             {% endblock %}
  23.         </div>
  24.     {% endblock %}
  25. {% endblock %}