{% extends "oscar/checkout/layout.html" %} {% load currency_filters %} {% load i18n %} {% load image_tags %} {% load purchase_info_tags %} {% block title %} {% trans "Checkout" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} {% include 'oscar/checkout/nav.html' %} {% endblock %} {% block content %} {% if error %}
{{ error }}
{% endif %}
{% block shipping_address %}

{% trans "Shipping" %}

{% if shipping_address %}

{% trans "Address" %} {% block shipping_address_actions %} {% trans "Change" %} {% endblock %}

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

{% trans "Contact" %}

{% trans "Phone" %}: {{ shipping_address.phone_number }} {% if guest_email %}
{% trans "Email" %}: {{ guest_email }} {% endif %}

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

{% trans "Instructions" %}

{{ shipping_address.notes|linebreaks }}

{% endif %}
{% endif %} {% if shipping_method %}

{% trans "Shipping method" %} {% block shipping_method_actions %} {% trans "Change" %} {% endblock %}

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

{% endif %}
{% endblock shipping_address %} {# You will almost certainly want to override this block to provide a payment summary #} {% block payment_method %}

{% trans "Payment" %}

{% trans "Payment" %} {% trans "Change" %}

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

{% endblock payment_method %}
{% block order_contents %}
{% block order_contents_actions %} {% trans "Edit order contents" %} {% endblock %}

{% trans "Order contents" %}

{% trans "Item" %}

{% trans "Quantity" %}

{% trans "Total" %}

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

{{ line.description }}

{{ session.availability.message }}
{{ line.quantity }}

{% if not show_tax_separately and line.is_tax_known %} {{ line.line_price_incl_tax|currency:basket.currency }} {% else %} {{ line.line_price_excl_tax|currency:basket.currency }} {% endif %}

{% endfor %}
 

{% trans 'Totals' %}

{% include 'oscar/basket/partials/basket_totals.html' %}
{% endblock order_contents %} {% block shipping_method %} {% endblock shipping_method %} {% block payment_details %} {% endblock payment_details %} {% block place_order %} {% endblock place_order %} {% endblock content %}