{% sw_extends '@Storefront/storefront/page/checkout/confirm/index.html.twig' %} {% block base_esi_header %} {% sw_include '@Storefront/storefront/page/account/order/header.html.twig' %} {% endblock %} {% set orderState = page.order.stateMachineState.technicalName %} {% set showTaxPrice = config('core.cart.columnTaxInsteadUnitPrice') %} {% set showSubtotal = config('core.cart.showSubtotal') %} {% block page_checkout_confirm_header %} {% if page.errorCode == 'CHECKOUT__CUSTOMER_CANCELED_EXTERNAL_PAYMENT' %} {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'danger', content: 'account.externalPaymentCanceled'|trans|sw_sanitize } %} {% elseif page.errorCode == 'CHECKOUT__PAYMENT_TOKEN_EXPIRED' %} {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'danger', content: 'account.externalPaymentExpired'|trans|sw_sanitize } %} {% elseif page.errorCode is not null %} {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'danger', content: 'account.externalPaymentFailure'|trans|sw_sanitize } %} {% endif %}

{{ 'account.completePayment'|trans|sw_sanitize }}

{% endblock %} {% block page_checkout_confirm_tos_control %} {{ 'checkout.confirmTermsReminderTextModal'|trans({ '%tosModalTagOpen%': '' })|raw }} {% endblock %} {% block page_checkout_confirm_revocation_control %} {% set DOWNLOAD_STATE = constant('Shopware\\Core\\Content\\Product\\State::IS_DOWNLOAD') %} {% if page.order.lineItems.hasLineItemWithState(DOWNLOAD_STATE) %}
{{ 'checkout.confirmRevocationReminder'|trans() }} {% endif %} {% endblock %} {% block page_checkout_confirm_address %}
{% sw_include '@Storefront/storefront/page/account/order/address.html.twig' %}
{% endblock %} {% block page_checkout_confirm_payment %}
{% sw_include '@Storefront/storefront/page/account/order/confirm-payment.html.twig' %}
{% endblock %} {% block page_checkout_confirm_shipping %} {% set PHYSICAL_STATE = constant('Shopware\\Core\\Content\\Product\\State::IS_PHYSICAL') %} {% if page.order.lineItems.hasLineItemWithState(PHYSICAL_STATE) %}
{% sw_include '@Storefront/storefront/page/account/order/confirm-shipping.html.twig' %}
{% endif %} {% endblock %} {% block page_checkout_confirm_table_header %} {% sw_include '@Storefront/storefront/component/checkout/cart-header.html.twig' with { showTaxPrice: showTaxPrice, showRemoveColumn: false, showSubtotal: showSubtotal } %} {% endblock %} {% block page_checkout_confirm_table_items %} {% for lineItem in page.order.nestedLineItems %} {% block page_checkout_confirm_table_item %} {% sw_include '@Storefront/storefront/component/line-item/line-item.html.twig' with { redirectTo: 'frontend.checkout.confirm.page', showTaxPrice: showTaxPrice, showRemoveButton: false, showSubtotal: showSubtotal } %} {% endblock %} {% endfor %} {% endblock %} {% block page_checkout_aside_actions %}
{% block page_checkout_aside_actions_payment_method_id %} {% endblock %} {% set paymentMethodInvalid = true %} {% for payment in page.paymentMethods %} {% if payment.id is same as(context.paymentMethod.id) %} {% set paymentMethodInvalid = false %} {% endif %} {% endfor %} {% block page_checkout_confirm_form_submit %}
{% endblock %}
{% block page_checkout_aside_cancel_order_modal_toggle %} {% if orderState != 'cancelled' and config('core.cart.enableOrderRefunds') %} {% endif %} {% endblock %} {% block page_checkout_aside_cancel_order_modal_content %} {% if orderState != 'cancelled' and config('core.cart.enableOrderRefunds') %} {% sw_include '@Storefront/storefront/page/account/order/cancel-order-modal.html.twig' %} {% endif %} {% endblock %}
{% endblock %} {% block base_esi_footer %} {% sw_include '@Storefront/storefront/layout/footer/footer-minimal.html.twig' %} {% endblock %}