{% extends "checkout/layout.html" %} {% load currency_filters %} {% block title %} Checkout | {{ block.super }} {% endblock %} {% block header %} {% endblock header %} {% block checkout-nav %} {% include 'checkout/nav.html' %} {% endblock %} {% block content %} {% if error %}
{{ error }}
{% endif %}
{% block shipping_address %}

Shipping address

Address
{% for field in shipping_address.active_address_fields %} {{ field }}
{% endfor %}
{% if shipping_address.phone_number %}
Contact number
{{ shipping_address.phone_number }}
{% endif %} {% if shipping_address.notes %}
Shipping notes
{{ shipping_address.notes }}
{% endif %}
{% block shipping_address_actions %} {% endblock %}
{% endblock shipping_address %} {% block payment_method %}

Payment

Payment details to go here

{% endblock payment_method %}
{% block order_contents %}

Order contents

Items in basket

Quantity

Price

{% for line in basket.all_lines %}

{{ line.description }}

{{ line.product.stockrecord.availability }}
{{ line.quantity }}
{{ line.line_price_incl_tax|currency }}
{% endfor %} {% for discount in basket.discounts %}

{{ discount.name }}

-{{ discount.discount|currency }}
{% endfor %} {% if shipping_method %}

{{ shipping_method.name }}

{{ shipping_method.description }}
{{ shipping_method.basket_charge_incl_tax|currency }}
{% endif %}

Basket total:

{{ basket.total_incl_tax|currency }}

Order total:

{{ order_total_incl_tax|currency }}

{% block order_contents_actions %}
Edit order contents
{% endblock %} {% endblock order_contents %} {% block shipping_method %} {% endblock shipping_method %} {% block payment_details %} {% endblock payment_details %} {% block place_order %} {% endblock place_order %} {% endblock content %} {% block onbodyload %} oscar.checkout.init(); {% endblock %}