{% extends "oscar/checkout/checkout.html" %} {% load currency_filters %} {% load thumbnail %} {% load i18n %} {% load purchase_info_tags %} {% block shipping_address %}

{% trans "Shipping" %}

{% if shipping_address %}

{% trans "Address" %}

{% for field in shipping_address.active_address_fields %} {{ field }}
{% endfor %}

{% if shipping_address.phone_number %}

{% trans "Contact number" %}: {{ shipping_address.phone_number }}

{% endif %} {% if shipping_address.notes %}

{% trans "Shipping notes" %}

{{ shipping_address.notes|linebreaks }}

{% endif %}

{% trans "Shipping method" %}

{{ shipping_method.name }} {% if shipping_method.description %} - {{ shipping_method.description }} {% endif %}

{% block shipping_address_actions %} {% endblock %} {% else %} {% trans "No shipping is required for this order" %} {% endif %}
{% endblock shipping_address %} {% block payment_method %}

{% trans "Payment" %}

{% trans "Payment details to go here" %}

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

{% trans "Order contents" %}

{% trans "Items in basket" %}

{% trans "Quantity" %}

{% trans "Price" %}

{% for line in basket.all_lines %} {% purchase_info_for_product request line.product as session %}
{% with image=line.product.primary_image %} {% thumbnail image.original "100x100" upscale=False as thumb %} {{ product.get_title }} {% endthumbnail %} {% endwith %}

{{ session.stockrecord.partner.name }}

{{ line.description }}

{{ line.quantity }}

{{ line.line_price_incl_tax|currency:basket.currency }}

{% endfor %}

{% trans "Totals" %}

{% include 'basket/partials/basket_totals.html' %} {% block order_contents_actions %}
{% endblock %}
{% endblock order_contents %}