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': page.product.cover.position + 1,
  11.                 } %}
  12.             {% endblock %}
  13.         </div>
  14.     {% endblock %}
  15.     {% block block_gallery_buybox_column_right %}
  16.         {% set element = block.slots.getSlot('right') %}
  17.         <div class="col-lg-5 product-detail-buy" data-cms-element-id="{{ element.id }}">
  18.             {% block block_gallery_buybox_column_right_inner %}
  19.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  20.             {% endblock %}
  21.         </div>
  22.     {% endblock %}
  23. {% endblock %}