custom/plugins/Theme3S/src/Resources/views/storefront/component/buy-widget/buy-widget.html.twig line 1

  1. {% sw_extends '@Storefront/storefront/component/buy-widget/buy-widget.html.twig' %}
  2. {% block buy_widget %}
  3. {% block buy_widget_rich_snippets %}
  4. {% block buy_widget_rich_snippets_brand %}
  5. {% if product.manufacturer %}
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_rich_snippets_gtin13 %}
  • {% if product.ean %}
  • content="{{ product.ean }}"/>
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_rich_snippets_mpn %}
  • {% if product.manufacturerNumber %}
  • content="{{ product.manufacturerNumber }}"/>
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_rich_snippets_weight %}
  • {% if product.weight %}
  • content="{{ product.weight }} kg"/>
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_rich_snippets_height %}
  • {% if product.height %}
  • content="{{ product.height }} mm"/>
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_rich_snippets_width %}
  • {% if product.width %}
  • content="{{ product.width }} mm"/>
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_rich_snippets_depth %}
  • {% if product.length %}
  • content="{{ product.length }} mm"/>
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_rich_snippets_release_date %}
  • 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 %}
  • {% 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 != '' %}
  • {% endif %}
  • {% endfor %}
  • {% endif %}
  • {% endfor %}
  • {{ element.data.product.translated.name }}

  • {% 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 %}
  • {{ Title }}
  • {% endif %}
  • {% 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 %}
  • {% 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 %}
  • {% block buy_widget_buy_container %}
  • {% block buy_widget_configurator_include %}
  • {% if product.parentId and configuratorSettings|length > 0 %}
  • {% sw_include '@Storefront/storefront/component/buy-widget/configurator.html.twig' %}
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_delivery_informations %}
  • {% sw_include '@Storefront/storefront/component/delivery-information.html.twig' %}
  • {% endblock %}
  • itemscope
  • itemtype="{% 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 %}
  • 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 %}
  • {% endif %}
  • {% endblock %}
  • {% block buy_widget_data_rich_snippet_price_currency %}
  • content="{{ context.currency.translated.shortName }}"/>
  • {% endblock %}
  • {% block buy_widget_price %}
  • {% sw_include '@Storefront/storefront/component/buy-widget/buy-widget-price.html.twig' %}
  • {% endblock %}
  • {% block buy_widget_tax %}
  • {% if context.taxState == "gross" %}
  • {% set taxText = "general.grossTaxInformation"|trans|sw_sanitize %}
  • {% else %}
  • {% set taxText = "general.netTaxInformation"|trans|sw_sanitize %}
  • {% endif %}
  • {% block buy_widget_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 }}
  • {% endblock %}
  • {% 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') %}
  • {% sw_include '@Storefront/storefront/component/review/rating.html.twig' with {
  • points: product.ratingAverage,
  • style: 'text-primary'
  • } %}
  • 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 }}
  • {% endif %}
  • {% endblock %}
  • {% endblock %}
  • {% block buy_widget_buy_form %}
  • {% if product.active %}
  • {% sw_include '@Storefront/storefront/component/buy-widget/buy-widget-form.html.twig' %}
  • {% endif %}
  • {% endblock %}
  • {% 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 %}
  • {% endblock %}