{#
# Project: www.betten-abc.de
# Company: arboro GmbH
# Created by: Daniel Geike
# Created on: 10.05.22
# Description:
#}
{% sw_extends "@Storefront/storefront/page/product-detail/index.html.twig" %}
{% block base_main_inner %}
{% block page_product_detail_breadcrumb %}
<div class="container breadcrumb-container">
{{ block("cms_breadcrumb", "@Storefront/storefront/page/content/index.html.twig") }}
</div>
{% endblock %}
<div class="container container-product-detail">
{{ block("base_main_container") }}
</div>
{% endblock %}
{% block page_product_detail_media %}
<div class="col-lg-7 product-detail-media">
{% if page.product.media %}
{% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
'mediaItems': mediaItems,
'zoom': true,
'zoomModal': true,
'displayMode': 'contain',
'gutter': 5,
'minHeight': '270px',
'navigationArrows': 'inside',
'navigationDots': 'inside',
'galleryPosition': 'none',
'isProduct': true,
'fallbackImageTitle': page.product.translated.name,
'startIndexThumbnails': page.product.cover.position + 1,
'startIndexSlider': page.product.cover.position + 1,
'keepAspectRatioOnZoom': false,
'slideBy': 1,
'responsive': {
'minHeight': '430px',
},
'thumbnailSlider': {
enabled: true,
gutter: 20,
rewind: true,
axis: "horizontal",
items: 4,
slideBy: 1,
controls: false,
responsive: {
"xs": {
enabled: true,
gutter: 6,
rewind: true,
axis: "horizontal",
items: 3,
controls: false
},
"sm": {
enabled: true,
gutter: 16,
rewind: true,
axis: "horizontal",
items: 4,
controls: false
},
"md": {
gutter: 16,
rewind: true,
axis: "horizontal",
items: 4,
controls: false
},
"lg": {
gutter: 20,
rewind: true,
axis: "horizontal",
items: 4,
controls: false
},
"xl": {
gutter: 20,
rewind: true,
axis: "horizontal",
items: 4,
controls: false
}
}
}
} %}
{% endif %}
</div>
{% endblock %}