custom/static-plugins/NdTheme/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.     <div class="lg:theme-grid lg:boxed-layout">
  4.         {% block block_gallery_buybox_column_left %}
  5.             {% set element = block.slots.getSlot('left') %}
  6.             {% set config = element.fieldConfig.elements %}
  7.             <div class="product-detail-media lg:col-span-5" data-cms-element-id="{{ element.id }}">
  8.                 {% block block_gallery_buybox_column_left_inner %}
  9.                     {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing
  10.                         with {
  11.                         'isProduct': config.sliderItems.value == 'product.media' and config.sliderItems.source == 'mapped',
  12.                         'startIndexThumbnails': 1,
  13.                         'startIndexSlider': 1
  14.                     } %}
  15.                 {% endblock %}
  16.             </div>
  17.         {% endblock %}
  18.         {% block block_gallery_buybox_column_right %}
  19.             {% set element = block.slots.getSlot('right') %}
  20.             <div class="product-detail-buy lg:col-span-6" data-cms-element-id="{{ element.id }}">
  21.                 {% block block_gallery_buybox_column_right_inner %}
  22.                     {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  23.                 {% endblock %}
  24.             </div>
  25.         {% endblock %}
  26.     </div>
  27. {% endblock %}