{% extends "checkout/onestep.html" %} {% load i18n static display_tags ocyanjson ocyan_main %} {% block extrahead %} {{ block.super }} {% endblock %} {% block extrascripts %} {{ block.super }} {% endblock %} {% block extrastyles %} {{ block.super }} {% endblock %} {% block content %} {% ocyanjson "oscar_checkout" "show_voucher_block" True as show_voucher_block %}
{% csrf_token %} {% block checkout_hidden_inputs %}{% endblock %}
{% if basket.is_empty %}

{% trans "Your shopping basket appears to be empty" %}

{% trans "Continue shopping" %} {% else %}
{% if request.user.is_anonymous %} {% trans "Registration" as title %} {% include "checkout/partials/gateway_block.html" with form=gateway_form title=title id="gateway" %} {% endif %} {% block vat_check %}{{block.super}}{% endblock %} {% block shipping_address %} {% trans "Shipping address" as title %} {% include "checkout/partials/shipping_address_block.html" with form=shipping_address_form address_form=shipping_address_chooser_form show_address_chooser=show_shipping_address_chooser title=title id="shipping-address-form-block" %} {% endblock %} {% block billing_address %} {% trans "Billing address" as title %} {% include "checkout/partials/address_block.html" with form=billing_address_form address_form=billing_address_chooser_form show_address_chooser=show_billing_address_chooser title=title id="billing-address-form-block" %} {% endblock %}
{% block delivery_date_wrapper %}{{ block.super }}{% endblock %} {% block shipping_method_wrapper %} {% trans "Shipping method" as title %} {% include "checkout/partials/shipping_method_block.html" with form=shipping_method_form title=title id="shipping_method_form" %} {% endblock %} {% block payment_method_wrapper %} {% trans "Payment method" as title %} {% include "checkout/partials/payment_method_block.html" with form=payment_method_form title=title nolabel=True id="payment_method_form" %} {% endblock %}
{% block notes %} {% trans "Notes" as title %} {% include "checkout/partials/shipping_address_notes_block.html" with form=shipping_address_form title=title nolabel=True %} {% endblock notes %}
{% include "checkout/partials/basket_lines.html" %}
{% trans "Your order" as title %} {% include "checkout/partials/totals_block.html" with title=title nohide=True id="checkouttotal" %} {% if show_voucher_block %}
{% include "oscar/partials/form_fields.html" with form=voucher_form nolabel=True placeholder=promo_code form_clean=True %}
{% endif %}
{% block vat_regulation_text %} {{block.super}} {% endblock %}
{% iffeature "newsletter" %} {% endiffeature %}
{% endif %}
{% endblock %}