custom/plugins/Theme3S/src/Resources/views/storefront/component/buy-widget/buy-widget.html.twig line 1
{% sw_extends '@Storefront/storefront/component/buy-widget/buy-widget.html.twig' %}{% block buy_widget %}<div id="bodyId" class="product-detail-buy{% if elementId %}-{{ elementId }}{% endif %} js-magnifier-zoom-image-container">{% block buy_widget_rich_snippets %}{% block buy_widget_rich_snippets_brand %}{% if product.manufacturer %}<div itemprop="brand" itemtype="https://schema.org/Brand" itemscope><meta itemprop="name" content="{{ product.manufacturer.translated.name }}" /></div>{% endif %}{% endblock %}{% block buy_widget_rich_snippets_gtin13 %}{% if product.ean %}<meta itemprop="gtin13"content="{{ product.ean }}"/>{% endif %}{% endblock %}{% block buy_widget_rich_snippets_mpn %}{% if product.manufacturerNumber %}<meta itemprop="mpn"content="{{ product.manufacturerNumber }}"/>{% endif %}{% endblock %}{% block buy_widget_rich_snippets_weight %}{% if product.weight %}<meta itemprop="weight"content="{{ product.weight }} kg"/>{% endif %}{% endblock %}{% block buy_widget_rich_snippets_height %}{% if product.height %}<meta itemprop="height"content="{{ product.height }} mm"/>{% endif %}{% endblock %}{% block buy_widget_rich_snippets_width %}{% if product.width %}<meta itemprop="width"content="{{ product.width }} mm"/>{% endif %}{% endblock %}{% block buy_widget_rich_snippets_depth %}{% if product.length %}<meta itemprop="depth"content="{{ product.length }} mm"/>{% endif %}{% endblock %}{% block buy_widget_rich_snippets_release_date %}<meta itemprop="releaseDate"content="{{ product.releaseDate|format_date(pattern="Y-MM-dd", locale=app.request.locale) }}"/>{% endblock %}{% endblock %}{% if not feature('FEATURE_NEXT_16992') %}{# @deprecated tag:v6.5.0 tag:)(FEATURE_NEXT_16992) - Block will be removed in v6.5.0 #}{% block buy_widget_not_available %}{% endblock %}{% endif %}<script>/*setSortingWrapperHeight();function setSortingWrapperHeight(){var Cartheader = $("#ShopIcons").html();$("#ShopIconInner").css("top", "45px");$("#ShopIconInner").css("right", "0px");}*/</script><div class="productLogoContainer">{% for group in product.sortedProperties %}{% if group.name == 'Logo' %}{% for option in group.options %}{% set first = 'bundles/theme3s/images/' %}{% if option.translated.name == 'multi-econ.png' %}{% set second = "MULTI-Econ-schwarz.svg" %}{% endif %}{% if option.translated.name == 'multi-splash.png' %}{% set second = "MULTI-Splash-schwarz.svg" %}{% endif %}{% if option.translated.name == 'multi-tec.png' %}{% set second = "MULTI-Tec-schwarz.svg" %}{% endif %}{% if option.translated.name == 'protec-plus.png' %}{% set second = "Protec_Plus.svg" %}{% endif %}{% if option.translated.name == 'protec-classic.png' %}{% set second = "Protec_Classic.svg" %}{% endif %}{% if option.translated.name == 'protec-comfort.png' %}{% set second = "Protec_Comfort.svg" %}{% endif %}{% if option.translated.name == 'prochem-1.png' %}{% set second = "ProChem_I_Logo.svg" %}{% endif %}{% if option.translated.name == 'prochem-2.png' %}{% set second = "ProChem_II_Logo_k.svg" %}{% endif %}{% if option.translated.name == 'prochem-3.png' %}{% set second = "ProChem_III_Logo_k.svg" %}{% endif %}{% if option.translated.name == 'prochem-5.png' %}{% set second = "ProChem_V_Logo_k.svg" %}{% endif %}{% if option.translated.name == 'prochem-6.png' %}{% set second = "ProChem_VI_Logo_k.svg" %}{% endif %}{% set url = "#{first}#{second}" %}{% if second != '' %}<img class="productLogoImage" src="{{ absolute_url(asset(url)) }}">{% endif %}{% endfor %}{% endif %}{% endfor %}</div><div class="prodcttitle"><h1>{{ element.data.product.translated.name }}</h1></div>{% set bWappen = 0 %}{% for group in product.sortedProperties %}{% if group.description == 'Schutztypen' %}{% set bWappen = 1 %}{% endif %}{% if group.description == 'Protection types' %}{% set bWappen = 1 %}{% endif %}{% endfor %}{% if page.header.activeLanguage.translationCode.code == 'en-GB' %}{% set Title = "Protection types" %}{% elseif page.header.activeLanguage.translationCode.code == 'nl-NL' %}{% set Title = "Soorten bescherming" %}{% elseif page.header.activeLanguage.translationCode.code == 'es-ES' %}{% set Title = "Tipos de protección" %}{% elseif page.header.activeLanguage.translationCode.code == 'fr-FR' %}{% set Title = "Types de protection" %}{% elseif page.header.activeLanguage.translationCode.code == 'it-IT' %}{% set Title = "Tipi di protezione" %}{% else %}{% set Title = "Schutztypen" %}{% endif %}{% if bWappen == 1 %}<div class="CatName"><div class="congiguratorname">{{ Title }}</div><!--<div onclick="run()" class="informationicon">i</div>--></div><div class="clearingItem"></div>{% endif %}<div class="product-wappen-wrapper">{% set en11491 = "noactive" %}{% set en11495 = "noactive" %}{% set en14126 = "noactive" %}{% set en10732 = "noactive" %}{% set typ1 = "noactive" %}{% set typ2 = "noactive" %}{% set typ3 = "noactive" %}{% set typ4 = "noactive" %}{% set typ5 = "noactive" %}{% set typ6 = "noactive" %}{% set kat3 = "noactive" %}{% for group in product.sortedProperties %}{% for option in group.options %}{% if option.translated.name == 'EN 1149-1' %}{% set en11491 = "active" %}{% endif %}{% if option.translated.name == 'EN 1149-5' %}{% set en11495 = "active" %}{% endif %}{% if option.translated.name == 'EN 14126' %}{% set en14126 = "active" %}{% endif %}{% if option.translated.name == 'EN 1073-2' %}{% set en10732 = "active" %}{% endif %}{% if option.translated.name == 'Typ 1' %}{% set typ1 = "active" %}{% endif %}{% if option.translated.name == 'Typ 2' %}{% set typ1 = "active" %}{% endif %}{% if option.translated.name == 'Typ 3' %}{% set typ3 = "active" %}{% endif %}{% if option.translated.name == 'Typ 4' %}{% set typ4 = "active" %}{% endif %}{% if option.translated.name == 'Typ 5' %}{% set typ5 = "active" %}{% endif %}{% if option.translated.name == 'Typ 6' %}{% set typ6 = "active" %}{% endif %}{% if option.translated.name == 'Kat III' %}{% set kat3 = "active" %}{% endif %}{% endfor %}{% endfor %}<div id="en11491" class="wappen-icon en11491 {{ en11491 }}"></div><div id="en11495" class="wappen-icon en11495 {{ en11495 }}"></div><div id="en14126" class="wappen-icon en14126 {{ en14126 }}"></div><div id="en10732" class="wappen-icon en10732 {{ en10732 }}"></div><div id="typ1" class="wappen-icon typ1 {{ typ1 }}"></div><div id="typ2" class="wappen-icon typ2 {{ typ2 }}"></div><div id="typ3" class="wappen-icon typ3 {{ typ3 }}"></div><div id="typ4" class="wappen-icon typ4 {{ typ4 }}"></div><div id="typ5" class="wappen-icon typ5 {{ typ5 }}"></div><div id="typ6" class="wappen-icon typ6 {{ typ6 }}"></div><div id="kat3" class="wappen-icon kat3 {{ kat3 }}"></div><div class="clearingItem"></div>{% if page.header.activeLanguage.translationCode.code == 'en-GB' %}{% set ProductDetailTooltipen11491 = "surface resistivity" %}{% set ProductDetailTooltipen11495 = "material requirements" %}{% set ProductDetailTooltipen14126 = "biological protection" %}{% set ProductDetailTooltipen10732 = "contaminated radioactive particles" %}{% set ProductDetailTooltiptyp1 = "gases" %}{% set ProductDetailTooltiptyp3 = "liquids" %}{% set ProductDetailTooltiptyp4 = "sprays" %}{% set ProductDetailTooltiptyp5 = "solid fibers" %}{% set ProductDetailTooltiptyp6 = "liquid chemicals" %}{% set ProductDetailTooltipkat3 = "physical damage to health" %}{% elseif page.header.activeLanguage.translationCode.code == 'nl-NL' %}{% set ProductDetailTooltipen11491 = "oppervlakte weerstand" %}{% set ProductDetailTooltipen11495 = "materiële eisen" %}{% set ProductDetailTooltipen14126 = "biologische bescherming" %}{% set ProductDetailTooltipen10732 = "besmette radioactieve deeltjes" %}{% set ProductDetailTooltiptyp1 = "gassen" %}{% set ProductDetailTooltiptyp3 = "vloeistoffen" %}{% set ProductDetailTooltiptyp4 = "spuiten" %}{% set ProductDetailTooltiptyp5 = "stevige vezels" %}{% set ProductDetailTooltiptyp6 = "vloeibare chemicaliën" %}{% set ProductDetailTooltipkat3 = "fysieke schade aan de gezondheid" %}{% elseif page.header.activeLanguage.translationCode.code == 'es-ES' %}{% set ProductDetailTooltipen11491 = "Resistencia superficial" %}{% set ProductDetailTooltipen11495 = "Requisitos de materiales" %}{% set ProductDetailTooltipen14126 = "protección biológica" %}{% set ProductDetailTooltipen10732 = "partículas radiactivas contaminadas" %}{% set ProductDetailTooltiptyp1 = "Gas" %}{% set ProductDetailTooltiptyp3 = "Liquidos" %}{% set ProductDetailTooltiptyp4 = "Pulverización" %}{% set ProductDetailTooltiptyp5 = "Partículas sólidas" %}{% set ProductDetailTooltiptyp6 = "químicos líquidos" %}{% set ProductDetailTooltipkat3 = "daño a la salud física" %}{% elseif page.header.activeLanguage.translationCode.code == 'fr-FR' %}{% set ProductDetailTooltipen11491 = "Résistance superficielle" %}{% set ProductDetailTooltipen11495 = "Exigences matérielles" %}{% set ProductDetailTooltipen14126 = "Protection biologique" %}{% set ProductDetailTooltipen10732 = "particules radioactives contaminées" %}{% set ProductDetailTooltiptyp1 = "Gaz" %}{% set ProductDetailTooltiptyp3 = "Liquides" %}{% set ProductDetailTooltiptyp4 = "Pulvérisation" %}{% set ProductDetailTooltiptyp5 = "Particules solides" %}{% set ProductDetailTooltiptyp6 = "produits chimiques liquides" %}{% set ProductDetailTooltipkat3 = "dommages à la santé physique" %}{% elseif page.header.activeLanguage.translationCode.code == 'it-IT' %}{% set ProductDetailTooltipen11491 = "Resistenza superficiale" %}{% set ProductDetailTooltipen11495 = "Requisiti materiali" %}{% set ProductDetailTooltipen14126 = "Protezione biologica" %}{% set ProductDetailTooltipen10732 = "particelle radioattive contaminate" %}{% set ProductDetailTooltiptyp1 = "Gas" %}{% set ProductDetailTooltiptyp3 = "Liquidi" %}{% set ProductDetailTooltiptyp4 = "Spray" %}{% set ProductDetailTooltiptyp5 = "Particelle solide" %}{% set ProductDetailTooltiptyp6 = "prodotti chimici liquidi" %}{% set ProductDetailTooltipkat3 = "danni alla salute fisica" %}{% else %}{% set ProductDetailTooltipen11491 = "Oberflächenwiderstand" %}{% set ProductDetailTooltipen11495 = "Materialanforderungen" %}{% set ProductDetailTooltipen14126 = "Biologischer Schutz" %}{% set ProductDetailTooltipen10732 = "kontaminierte radioaktive Partikel" %}{% set ProductDetailTooltiptyp1 = "Gase" %}{% set ProductDetailTooltiptyp3 = "Flüssigkeiten" %}{% set ProductDetailTooltiptyp4 = "Spray" %}{% set ProductDetailTooltiptyp5 = "Feste Partikel" %}{% set ProductDetailTooltiptyp6 = "flüssige Chemikalien" %}{% set ProductDetailTooltipkat3 = "körperliche Gesundheitsschäden" %}{% endif %}<script>$("#en11491").attr('title', '{{ ProductDetailTooltipen11491 }}');$("#en11495").attr('title', '{{ ProductDetailTooltipen11495 }}');$("#en14126").attr('title', '{{ ProductDetailTooltipen14126 }}');$("#en10732").attr('title', '{{ ProductDetailTooltipen10732 }}');$("#typ1").attr('title', '{{ ProductDetailTooltiptyp1 }}');$("#typ2").attr('title', '{{ ProductDetailTooltiptyp2 }}');$("#typ3").attr('title', '{{ ProductDetailTooltiptyp3 }}');$("#typ4").attr('title', '{{ ProductDetailTooltiptyp4 }}');$("#typ5").attr('title', '{{ ProductDetailTooltiptyp5 }}');$("#typ6").attr('title', '{{ ProductDetailTooltiptyp6 }}');$("#kat3").attr('title', '{{ ProductDetailTooltipkat3 }}');</script></div>{% block buy_widget_buy_container %}{% block buy_widget_configurator_include %}{% if product.parentId and configuratorSettings|length > 0 %}<div class="product-detail-configurator-container">{% sw_include '@Storefront/storefront/component/buy-widget/configurator.html.twig' %}</div>{% endif %}{% endblock %}{% block buy_widget_delivery_informations %}<div class="product-detail-delivery-information">{% sw_include '@Storefront/storefront/component/delivery-information.html.twig' %}</div>{% endblock %}<div itemprop="offers"itemscopeitemtype="{% if product.calculatedPrices|length > 1 %}http://schema.org/AggregateOffer{% else %}http://schema.org/Offer{% endif %}">{% block buy_widget_data %}{% block buy_widget_data_rich_snippet_url %}<meta itemprop="url"content="{{ seoUrl('frontend.detail.page', { productId: product.id }) }}"/>{% endblock %}{% block buy_widget_data_rich_snippet_price_range %}{% if product.calculatedPrices|length > 1 %}{% set lowestPrice = false %}{% set highestPrice = false %}{% for price in product.calculatedPrices %}{% if not lowestPrice or price.unitPrice < lowestPrice %}{% set lowestPrice = price.unitPrice %}{% endif %}{% if not highestPrice or price.unitPrice > highestPrice %}{% set highestPrice = price.unitPrice %}{% endif %}{% endfor %}<meta itemprop="lowPrice" content="{{ lowestPrice }}"/><meta itemprop="highPrice" content="{{ highestPrice }}"/><meta itemprop="offerCount" content="{{ product.calculatedPrices|length }}"/>{% endif %}{% endblock %}{% block buy_widget_data_rich_snippet_price_currency %}<meta itemprop="priceCurrency"content="{{ context.currency.translated.shortName }}"/>{% endblock %}{% block buy_widget_price %}<div class="product-detail-price-container">{% sw_include '@Storefront/storefront/component/buy-widget/buy-widget-price.html.twig' %}</div>{% endblock %}{% block buy_widget_tax %}<div class="product-detail-tax-container">{% if context.taxState == "gross" %}{% set taxText = "general.grossTaxInformation"|trans|sw_sanitize %}{% else %}{% set taxText = "general.netTaxInformation"|trans|sw_sanitize %}{% endif %}<p class="product-detail-tax">{% block buy_widget_tax_link %}<a class="product-detail-tax-link"href="{{ path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') }) }}"title="{{ taxText }}"{{ dataBsToggleAttr }}="modal"data-url="{{ path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') }) }}">{{ taxText }}</a>{% endblock %}</p></div>{% endblock %}{% set remoteClickOptions = {selector: "#review-tab-" ~ product.id,scrollToElement: true} %}{% set reviewTabHref = "#review-tab-" ~ product.id ~ "-pane" %}{% block buy_widget_reviews %}{% if product.ratingAverage > 0 and totalReviews > 0 and config('core.listing.showReview') %}<div class="product-detail-reviews">{% sw_include '@Storefront/storefront/component/review/rating.html.twig' with {points: product.ratingAverage,style: 'text-primary'} %}<a {{ dataBsToggleAttr }}="tab"class="product-detail-reviews-link"data-offcanvas-tabs="true"data-remote-click="true"data-remote-click-options='{{ remoteClickOptions|json_encode }}'href="{{ reviewTabHref }}"aria-controls="review-tab-pane">{{ totalReviews }}{{ "detail.reviewLinkText"|trans({'%count%': totalReviews})|sw_sanitize }}</a></div>{% endif %}{% endblock %}{% endblock %}{% block buy_widget_buy_form %}{% if product.active %}<div class="product-detail-form-container">{% sw_include '@Storefront/storefront/component/buy-widget/buy-widget-form.html.twig' %}</div>{% endif %}{% endblock %}</div>{% endblock %}{% if config('core.cart.wishlistEnabled') %}{% block buy_widget_wishlist %}{% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {showText: true,size: 'md',productId: product.id} %}{% endblock %}{% endif %}<!-- {% block buy_widget_ordernumber_container %}{% if product.productNumber %}<div class="product-detail-ordernumber-container">{% block buy_widget_ordernumber_label %}<span class="product-detail-ordernumber-label">{{ "detail.productNumberLabel"|trans|sw_sanitize }}</span>{% endblock %}{% block buy_widget_ordernumber %}<meta itemprop="productID"content="{{ product.id }}"/><span class="product-detail-ordernumber"itemprop="sku">{{ product.productNumber }}</span>{% endblock %}</div>{% endif %}{% endblock %}--></div>{% endblock %}