custom/apps/AtlKatanaTheme/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.     {% if theme_config('atl-product-detail-layout') == '75' %}
  4.         {% set colGallery = 'col-lg-7' %}
  5.         {% set colBuyBox = 'col-lg-5' %}
  6.     {% elseif theme_config('atl-product-detail-layout') == '66' %}
  7.         {% set colGallery = 'col-lg-6' %}
  8.         {% set colBuyBox = 'col-lg-6' %}
  9.     {% endif %}
  10.     {% block block_gallery_buybox_column_left %}
  11.         {% set element = block.slots.getSlot('left') %}
  12.         {% set config = element.fieldConfig.elements %}
  13.         <div class="{{ colGallery }} product-detail-media" data-cms-element-id="{{ element.id }}">
  14.             {% block block_gallery_buybox_column_left_inner %}
  15.                 {{ parent() }}
  16.             {% endblock %}
  17.         </div>
  18.     {% endblock %}
  19.     {% block block_gallery_buybox_column_right %}
  20.         {% set element = block.slots.getSlot('right') %}
  21.         <div class="{{ colBuyBox }} product-detail-buy" data-cms-element-id="{{ element.id }}">
  22.             {% block block_gallery_buybox_column_right_inner %}
  23.                 {{ parent() }}
  24.             {% endblock %}
  25.         </div>
  26.     {% endblock %}
  27. {% endblock %}