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') %}{% 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 %}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;}}}{% endblock %}{% endblock %}