custom/plugins/WabsIgmTheme/src/Resources/views/storefront/page/product-detail/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  2. {# hide breadcrumbs on product page #}
  3. {% block page_product_detail_breadcrumb %}
  4. {% endblock %}
  5. {% block page_product_detail_inner %}
  6.     {{ block('page_product_detail_content') }}
  7.     <div class="row">
  8.         <div class="col-12 col-lg-6 mb-2">
  9.             {{ block('page_product_detail_tabs') }}
  10.         </div>
  11.         <div class="col-12 col-lg-6">
  12.             {{ block('page_product_detail_cross_selling') }}
  13.         </div>
  14.     </div>
  15. {% endblock %}
  16. {% block page_product_detail_media %}
  17.     <div class="col-lg-6 product-detail-media">
  18.         {% if page.product.media %}
  19.             {% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
  20.                 'mediaItems': mediaItems,
  21.                 'zoom': true,
  22.                 'zoomModal': true,
  23.                 'displayMode': 'contain',
  24.                 'gutter': 5,
  25.                 'minHeight': '430px',
  26.                 'navigationArrows': 'inside',
  27.                 'navigationDots': 'inside',
  28.                 'galleryPosition': 'left',
  29.                 'isProduct': true,
  30.                 'fallbackImageTitle': page.product.translated.name,
  31.                 'startIndexThumbnails': page.product.cover.position + 1,
  32.                 'startIndexSlider': page.product.cover.position + 1
  33.                 } %}
  34.         {% endif %}
  35.     </div>
  36. {% endblock %}
  37. {% block page_product_detail_buy %}
  38.     <div class="col-lg-4 product-detail-buy">
  39.         {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  40.     </div>
  41. {% endblock %}