vendor/shopware/storefront/Resources/views/storefront/block/cms-block-gallery-buybox.html.twig line 1

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