{% sw_extends '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}{% block page_product_detail_buy_inner %} {% block page_product_detail_headline %} <div class="row align-items-center product-detail-headline"> {% sw_include '@Storefront/storefront/page/product-detail/headline.html.twig' %} </div> {% endblock %} {% block page_product_detail_reviews %} {% if page.product.ratingAverage > 0 and page.reviews.totalReviews > 0 and config('core.listing.showReview') %} <div class="product-detail-reviews"> {% sw_include '@Storefront/storefront/component/review/rating.html.twig' with { points: page.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="#review-tab-pane" aria-controls="review-tab-pane"> {{ page.reviews.totalReviews }} {{ "detail.reviewLinkText"|trans({'%count%': page.reviews.totalReviews})|sw_sanitize }} </a> </div> {% endif %} {% endblock %} <div class="stock"> <p class="showinstock">Aviability:</p> {% if page.product.custom_itweb_exclude_api == true %} {% elseif page.product.stock and page.product.availableStock > 0 %} <p class="stockitem"> <i class="fa-solid fa-check"></i> In Stock </p> {% else %} {% if page.product.stock == 1 %} <p class="stockitem"> <i class="fa-solid fa-check"></i> In Stock </p> {% else %} <p class="outstock"> <i class="fa-solid fa-x"></i> Out of Stock </p> {% endif %} {% endif %} </div> <div class="js-magnifier-zoom-image-container"> {% block page_product_detail_rich_snippets %} {% block page_product_detail_rich_snippets_brand %} {% if page.product.manufacturer %} <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope> <meta itemprop="name" content="{{ page.product.manufacturer.translated.name }}" /> </div> {% endif %} {% endblock %} {% block page_product_detail_rich_snippets_gtin13 %} {% if page.product.ean %} <meta itemprop="gtin13" content="{{ page.product.ean }}"/> {% endif %} {% endblock %} {% block page_product_detail_rich_snippets_mpn %} {% if page.product.manufacturerNumber %} <meta itemprop="mpn" content="{{ page.product.manufacturerNumber }}"/> {% endif %} {% endblock %} {% block page_product_detail_rich_snippets_weight %} {% if page.product.weight %} <meta itemprop="weight" content="{{ page.product.weight }} kg"/> {% endif %} {% endblock %} {% block page_product_detail_rich_snippets_height %} {% if page.product.height %} <meta itemprop="height" content="{{ page.product.height }} mm"/> {% endif %} {% endblock %} {% block page_product_detail_rich_snippets_width %} {% if page.product.width %} <meta itemprop="width" content="{{ page.product.width }} mm"/> {% endif %} {% endblock %} {% block page_product_detail_rich_snippets_depth %} {% if page.product.length %} <meta itemprop="depth" content="{{ page.product.length }} mm"/> {% endif %} {% endblock %} {% block page_product_detail_rich_snippets_release_date %} <meta itemprop="releaseDate" content="{{ page.product.releaseDate|format_date(pattern="Y-MM-dd", locale=app.request.locale) }}"/> {% endblock %} {% endblock %} {% if not feature('FEATURE_NEXT_16992') %} {% block page_product_detail_not_available %} {% endblock %} {% endif %} {% block page_product_detail_buy_container %} <div itemprop="offers" itemscope itemtype="{% if page.product.calculatedPrices|length > 1 %}http://schema.org/AggregateOffer{% else %}http://schema.org/Offer{% endif %}"> {% block page_product_detail_data %} {% block page_product_detail_data_rich_snippet_url %} <meta itemprop="url" content="{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}"/> {% endblock %} {% block page_product_detail_data_rich_snippet_price_range %} {% if page.product.calculatedPrices|length > 1 %} {% set lowestPrice = false %} {% set highestPrice = false %} {% for price in page.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="{{ page.product.calculatedPrices|length }}"/> {% endif %} {% endblock %} {% block page_product_detail_data_rich_snippet_price_currency %} <meta itemprop="priceCurrency" content="{{ context.currency.translated.shortName }}"/> {% endblock %} {% block page_product_detail_price %} <div class="product-detail-price-container"> {% sw_include '@Storefront/storefront/page/product-detail/buy-widget-price.html.twig' %} </div> {% endblock %} <span class="price-unit-reference-content"> {% set price = page.product.calculatedPrice %} {% set purchaseUnit = page.product.purchaseUnit ?: 1 %} {% for test in page.product.variation %} {% set priceValue = price.unitPrice %} Grundpreis: {{ (priceValue * 10) | number_format(2) }}{{ context.currency.symbol }} / 1KG {# {% set packageOpt = test.option|split(' ')[0] %} {% if 'X' in packageOpt %} {% set packageOpt = packageOpt|split('X')[1] %} {% endif %} {% if 'St' in test.option %} Grundpreis: {{ (price.unitPrice / packageOpt)|number_format(2)}}{{ context.currency.symbol }} / 1 St {% elseif 'ml' in test.option %} Grundpreis: {{ (price.unitPrice / packageOpt * 1000)|number_format(2)}}{{ context.currency.symbol }} / 1L {% elseif 'gr' in test.option or 'g' in test.option %} Grundpreis: {{ (price.unitPrice / packageOpt * 1000)|number_format(2)}}{{ context.currency.symbol }} / 1KG {% endif %} #} {% endfor %} </span> {% block page_product_detail_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 page_product_detail_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 %} {% block page_product_detail_tax_new %} <div class="product-detail-tax-container"> <span class="detail--additional-orderbasketfields-input detail--additional-orderbasketfields-input-1"> <span class="detail--additional-orderbasketfields-inputs-checkbox"> <input type="checkbox" class="checkbox detail--additional-orderbasketfields-checkbox-1 "> <input type="hidden" name="sAdditionalOrderBasketField1" value="Nein" class="is--hidden detail--additional-orderbasketfields-checkbox-hidden-1" data-type="checkbox"> </span> <span class="detail--additional-orderbasketfields-inputs-checkbox-label"> <label class="detail--label--additional-orderbasketfield-1-after">Artikel vakuumieren</label> </span> </span> </div> {% endblock %} {% set remoteClickOptions = { selector: "#review-tab", scrollToElement: true } %} {% block page_product_detail_delivery_informations %} <div class="product-detail-delivery-information"> {% sw_include '@Storefront/storefront/component/delivery-information.html.twig' %} </div> {% endblock %} {% endblock %} {% block page_product_detail_configurator_include %} {% if page.product.parentId and page.configuratorSettings|length > 0 %} <div class="product-detail-configurator-container"> {% sw_include '@Storefront/storefront/page/product-detail/configurator.html.twig' %} </div> {% endif %} {% endblock %} {% block page_product_detail_buy_form %} {% if page.product.active %} <div class="product-detail-form-container"> {% sw_include '@Storefront/storefront/page/product-detail/buy-widget-form.html.twig' %} </div> {% endif %} {% endblock %} </div> {% endblock %} {# {% if config('core.cart.wishlistEnabled') %} {% block page_product_detail_wishlist %} {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with { showText: true, size: 'md', productId: page.product.id } %} {% endblock %} {% endif %} #} {# {% block page_product_detail_ordernumber_container %} {% if page.product.productNumber %} <div class="product-detail-ordernumber-container"> {% block page_product_detail_ordernumber_label %} <span class="product-detail-ordernumber-label"> {{ "detail.productNumberLabel"|trans|sw_sanitize }} </span> {% endblock %} {% block page_product_detail_ordernumber %} <meta itemprop="productID" content="{{ page.product.id }}"/> <span class="product-detail-ordernumber" itemprop="sku"> {{ page.product.productNumber }} </span> {% endblock %} </div> {% endif %} {% endblock %} #} </div><div class="pzn-details" > <div class="prod-item"> <div><img src="/media/ee/01/f9/1678444394/Gruppe 21.svg"></div> <p>{{ 'pzn-section' | trans | raw}}</p> <p>{{page.product.productNumber}}</p> </div> <div class="prod-item"> <div><img src="/media/b2/78/20/1678444394/Gruppe 24.svg"></div> <p>{{ 'herstller-section' | trans | raw}}</p> <p>{{page.product.manufacturer.translated.name}}</p> </div> {% if product.pdfUrl is defined %} <div class="prod-item"> <div><img src="/media/6d/58/fe/1678444394/Gruppe 25.svg"></div> <p>{{ 'receipt-section' | trans | raw}}</p> <a href="{{ product.pdfUrl }}" download> <button>Download PDF</button> </a> {# <p><b>Download PDF</b></p> #} </div> {% endif %} </div>{% endblock %}