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

{% trans "You could be missing out on offers!" %}

{% for upsell in upsell_messages %} {% blocktrans with message=upsell.message url=upsell.offer.get_absolute_url offer_name=upsell.offer.name %}
{{ message }} to qualify for the {{ offer_name }} special offer
{% endblocktrans %} {% endfor %}
{% endif %} {% if not basket.is_empty %}

{% trans "Items to buy now" %}

{% trans "Quantity" %}

{% trans "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 }} {% trans "Remove" %} {% if request.user.is_authenticated %} | {% trans "Save for later" %} {% endif %}
{{ form.save_for_later }} {{ form.DELETE }}

{{ form.instance.unit_price_incl_tax|currency }}

{% endfor %}
{% block vouchers %}

{% trans "Voucher/promo code" %}

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

{% trans "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 %}
{% trans "Basket total (before discounts)" %} {{ basket.total_incl_tax_excl_discounts|currency }}
{% trans "Special offer:" %} {{ discount.name }} -{{ discount.discount|currency }}
{% trans "Vouchers" %}
{{ discount.voucher.name }} ({{ discount.voucher.code }})
{% csrf_token %}
-{{ discount.discount|currency }}
{% trans "Basket total (after discounts)" %} {{ basket.total_incl_tax|currency }}
{% trans "Basket total" %} {{ basket.total_incl_tax|currency }}
{% trans "Shipping" %} ({{ shipping_method.name }}) {{ shipping_charge_incl_tax|currency }}

{% trans "Order total" %}

{{ order_total_incl_tax|currency }}

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

{% trans "Your basket is empty." %}

{% trans "Continue shopping" %}

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

{% trans "To buy later" %}

{% if not saved_formset %}

{% trans "Your saved basket is empty." %}

{% else %}

{% trans "To buy an item now, click 'Move to basket'" %}

{% trans "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 }}

{% trans "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 %}