custom/plugins/Theme3S/src/Resources/views/storefront/block/cms-block-gallery-buybox.html.twig line 1
{% sw_extends '@Storefront/storefront/block/cms-block-gallery-buybox.html.twig' %}{% block block_gallery_buybox %}{% block block_gallery_buybox_column_left %}{% set element = block.slots.getSlot('left') %}{% set config = element.fieldConfig.elements %}{% set values = block.slots.getSlot('right') %}<div class="pagecutline"></div><div class="bottomPageCut"></div><div class="leftProductSide"><div id="articleheader"></div><div class="col-lg-7 product-detail-media" data-cms-element-id="{{ element.id }}">{% block block_gallery_buybox_column_left_inner %}{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missingwith {'isProduct': config.sliderItems.value == 'product.media' and config.sliderItems.source == 'mapped','startIndexThumbnails': 1,'startIndexSlider': 1} %}{% endblock %}</div><div class="clearingItem"></div></div><div class="rightProductSide"><div id="articleheader2"></div><div class="product-breadcrumb breadcrumb">{% block cms_breadcrumb %}<div class="breadcrumb cms-breadcrumb container">{% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {context: context,category: page.product.seoCategory} only %}<div class="breadcrump-produktname"><div class="breadcrumb-placeholder"><span class="icon icon-arrow-medium-right icon-fluid"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16"><defs><path id="icons-solid-arrow-medium-right" d="M4.7071 5.2929c-.3905-.3905-1.0237-.3905-1.4142 0-.3905.3905-.3905 1.0237 0 1.4142l4 4c.3905.3905 1.0237.3905 1.4142 0l4-4c.3905-.3905.3905-1.0237 0-1.4142-.3905-.3905-1.0237-.3905-1.4142 0L8 8.5858l-3.2929-3.293z"></path></defs><use transform="rotate(-90 8 8)" xlink:href="#icons-solid-arrow-medium-right" fill="#758CA3" fill-rule="evenodd"></use></svg></span></div><div class="breadcrump-singleproduktname">{% set variation = values.data.product.variation %}{% set sizeoption = variation[0].option %}{% set coloroption = variation[1].option %}{% set gloveoption = variation[2].option %}{% set blank = "" %}{% set size = " " ~ sizeoption %}{% set newname = values.data.product.translated.name %}{% if size != "" %}{% set newname = newname|replace({(size): blank}) %}{% endif %}{% if coloroption != "" %}{% set newname = newname|replace({(coloroption): blank}) %}{% endif %}{% if gloveoption != "" %}{% set newname = newname|replace({(gloveoption): blank}) %}{% endif %}{{ newname }}{#{{ values.data.product.translated.name }}#}</div></div></div>{% endblock %}</div>{% block block_gallery_buybox_column_right %}{% set element = block.slots.getSlot('right') %}<div class="col-lg-5 product-detail-buy" data-cms-element-id="{{ element.id }}">{% block block_gallery_buybox_column_right_inner %}{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}{% endblock %}</div>{% endblock %}<!--<div class="prodcttitle"><h1>{{ values.data.product.translated.name }}</h1></div>--><div class="clearingItem"></div></div><div class="clearingItem"></div><script>var IsTablet = false;replaceArticleheader();$( window ).resize(function() {replaceArticleheader();});function replaceArticleheader(){var WindowWith = $(window).width();if(WindowWith <= 1300){var breadcrumContent = $(".product-breadcrumb").html();var productlogoContent = $(".productLogoContainer").html();var prodcttitleContent = $(".prodcttitle").html();var ArticleHeaderContent = $("#articleheader2").html();if(prodcttitleContent != ""){$("#articleheader").append(breadcrumContent);$("#articleheader").append(productlogoContent);$("#articleheader").append(prodcttitleContent);} else {$("#articleheader").append(ArticleHeaderContent);}$(".product-breadcrumb").html("");$(".productLogoContainer").html("");$(".prodcttitle").html("");$("#articleheader2").html("");IsTablet = true;} else {if(IsTablet){var ArticleheaderContent = $("#articleheader").html();$("#articleheader2").prepend(ArticleheaderContent);$("#articleheader").html("");IsTablet = false;}}}</script>{% endblock %}{% endblock %}