custom/plugins/MyParto/src/Resources/views/storefront/page/product-detail/buy-widget.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
    
    {% block page_product_detail_reviews %}{% endblock %}
    
    {% block page_product_detail_ordernumber_container %}{% endblock %}
    
    {% block page_product_detail_wishlist %}{% endblock %}
    
    {% block page_product_detail_buy_form %}
        {{ parent() }}
    
        {% if config('core.cart.wishlistEnabled') %}
            {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
                showText: true,
                size: 'md',
                productId: page.product.id
            } %}
        {% endif %}
    
        {#  whatsapp moved to here#}
        {% set whatsappConfig = page.extensions['flixxWhatsApp'].get('config') %}
        <a href="whatsapp://send" data-text="{{page.product.translated.name}}" data-href="" class="wa_btn wa_btn--{{whatsappConfig.flixWhatsAppSize}}" style="display:none;">{{whatsappConfig.flixWhatsAppShareText}}</a>
        <template data-flixx-wa-btn></template>
    
    {% endblock %}
    
    {% 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">
                {{ taxText }}
                <a class="product-detail-tax-link"
                   href="{{ path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') }) }}"
                   title="{{ taxText }}"
                   data-toggle="modal"
                   data-url="{{ path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') }) }}">
                    Versandkosten
                </a>
            </p>
        </div>
    {% endblock %}
    
    {% block page_product_detail_buy_inner %}
        {{ parent() }}
        {% block flixx_wa_btn %}
    
        {% endblock %}
    
    {% endblock %}