{% extends "layout.html" %} {% load currency_filters %} {% load thumbnail %} {% block title %} Basket | {{ block.super }} {% endblock %} {% block checkout-nav %} {% include 'checkout/nav.html' with step=1 %} {% endblock %} {% block header %} {% endblock header %} {% block content %} {% if basket_warnings %}
Important messages about items in your basket
{% for warning in basket_warnings %}
{{ warning }}
{% endfor %} {% endif %} {% if upsell_messages %}

You could be missing out on offers!

{% for upsell in upsell_messages %}
{{ upsell.message }} to quality for the {{ upsell.offer.name }} special offer
{% endfor %} {% endif %} {% if not basket.is_empty %}

Items to buy now

Quantity

Price

{% csrf_token %} {{ formset.management_form }} {% for form in formset %}
{{ form.id }}
{% with image=form.instance.product.primary_image %} {% thumbnail image.original "200x200" upscale=False as thumb %} {{ product.get_title }} {% endthumbnail %} {% endwith %}

{{ form.instance.description }}

{{ form.instance.product.stockrecord.availability }}

{{ form.quantity }} Remove {% if request.user.is_authenticated %} | Save for later {% endif %}
{{ form.save_for_later }} {{ form.DELETE }}

{{ form.instance.unit_price_incl_tax|currency }}

{% endfor %}
{% block vouchers %}

Voucher/Promo Code

{% endblock vouchers %} {% block baskettotals %}

Basket Totals

{% with offer_discounts=basket.offer_discounts voucher_discounts=basket.grouped_voucher_discounts %} {% if offer_discounts or voucher_discounts %} {% if offer_discounts %} {% for discount in offer_discounts %} {% endfor %} {% endif %} {% if voucher_discounts %} {% for discount in voucher_discounts %} {% endfor %} {% endif %} {% else %} {% endif %} {% endwith %}
Basket total (before discounts) {{ basket.total_incl_tax_excl_discounts|currency }}
Special offer: {{ discount.name }} -{{ discount.discount|currency }}
Vouchers
{{ discount.voucher.name }} ({{ discount.voucher.code }})
{% csrf_token %}
-{{ discount.discount|currency }}
Basket total (after discounts) {{ basket.total_incl_tax|currency }}
Basket total {{ basket.total_incl_tax|currency }}
Shipping ({{ shipping_method.name }}) {{ shipping_charge_incl_tax|currency }}

Order total

{{ order_total_incl_tax|currency }}

{% endblock baskettotals %}
{% block formactions %}
Proceed to checkout
{% endblock formactions %} {% else %} {% block emptybasket %}

Your basket is empty, you should probably add some items to buy.

Continue shopping {% endblock %} {% endif %} {% if request.user.is_authenticated %}

To buy later

{% if not saved_formset %}

Your saved basket is empty.

{% else %}

To buy an item now, click "Move to basket"

Price

{% csrf_token %} {{ saved_formset.management_form }} {% for form in saved_formset %}
{{ form.id }}
{% with image=form.instance.product.primary_image %} {% thumbnail image.original "200x200" upscale=False as thumb %} {{ product.get_title }} {% endthumbnail %} {% endwith %}

{{ form.instance.description }}

{{ form.instance.product.stockrecord.availability }}

Remove
{{ form.move_to_basket }} {{ form.DELETE }}

{{ form.instance.unit_price_incl_tax|currency }}

{% endfor %}
{% endif %}
{% endif %} {% endblock content %} {% block onbodyload %} oscar.basket.init(); {% endblock %} {% block extrascripts %} {{ block.super }} {% endblock %}