{# load formvalidation config #} {% set aFvDataAttrNames = oViewConf.getViewThemeParam("aFvDataAttrNames") %} {% capture append = "oxidBlock_content" %} {# ordering steps #} {% include "page/checkout/inc/steps.html.twig" with {active: 3} %} {% block checkout_payment_main %}
{% set oCurrency = oView.getActCurrency() %} {% block change_shipping %} {% if oView.getAllSets() %} {% set aErrors = oView.getFieldValidationErrors() %}
{{ oViewConf.getHiddenSid()|raw }} {{ oViewConf.getNavFormParams()|raw }} {% block checkout_payment_shipping_card %}

{% if oView.getAllSetsCnt() > 1 %}{{ translate({ ident: "SELECT_SHIPPING_METHOD" }) }}{% else %}{{ translate({ ident: "SELECTED_SHIPPING_CARRIER" }) }}{% endif %}

{% block act_shipping %} {% for sShipID, oShippingSet in oView.getAllSets() %}
{% set sShippingSnippetIdent = "c4s_shipping_info_" ~ sShipID %} {% ifcontent ident sShippingSnippetIdent set oCont %}
{{ include(template_from_string(oCont.oxcontents__oxcontent.value)) }}
{% endifcontent %}
{% endfor %} {#
#} {# #} {#
#} {% endblock %} {% block checkout_payment_delivery_cost %} {% set oDeliveryCostPrice = oxcmp_basket.getDeliveryCost() %} {% if oDeliveryCostPrice %}
{% endif %} {% endblock %}
{% endblock %}
{% endif %} {% endblock %} {% block change_payment %} {# todo {{ script({ include: "js/widgets/oxpayment.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }} #} {# {{ script({ add: "$( '#c4s-payment-form' ).oxPayment();", dynamic: __oxid_include_dynamic }) }} #} {# {{ script({ add: " $('input[name=paymentid]').click( function() { $.fn.matchHeight._update(); });", dynamic: __oxid_include_dynamic }) }} #}
{{ oViewConf.getHiddenSid()|raw }} {{ oViewConf.getNavFormParams()|raw }} {% if oView.getPaymentList() %}

{{ translate({ ident: "PAYMENT_METHOD" }) }}

{% block checkout_payment_method_body %} {% set iPayError = oView.getPaymentError() %} {% if iPayError %} {% endif %} {% set inptcounter = "-1" %} {% for sPaymentID, paymentmethod in oView.getPaymentList() %} {% set inptcounter = inptcounter+1 %} {% block select_payment %} {% if sPaymentID == "oxidcashondel" %} {% include "page/checkout/inc/payment_oxidcashondel.html.twig" %} {% elseif sPaymentID == "oxiddebitnote" %} {% include "page/checkout/inc/payment_oxiddebitnote.html.twig" %} {% else %} {% include "page/checkout/inc/payment_other.html.twig" %} {% endif %} {% endblock %} {% endfor %} {% endblock %}
{% elseif oView.getEmptyPayment() %} {% block checkout_payment_nopaymentsfound %}

{{ translate({ ident: "PAYMENT_INFORMATION" }) }}

{% endblock %} {% endif %}
{% if oView.getPaymentList() %} {% block checkout_payment_nextstep %} {% if oView.isLowOrderPrice() %} {% else %}
{{ translate({ ident: "PREVIOUS_STEP" }) }}
{% endif %} {% endblock %} {% elseif oView.getEmptyPayment() %} {% block checkout_payment_empty_nextstep %}
{{ translate({ ident: "PREVIOUS_STEP" }) }}
{% endblock %} {% endif %} {% endblock %}
{% endblock %} {{ insert_tracker({title: template_title}) }} {% endcapture %} {% include "layout/page.html.twig" with {blHideBreadcrumb: true} %}