{% load i18n %} {% load currency_filters %} {% load shipping_tags %}
{% block basket_header %} {% endblock %} {% with offer_discounts=basket.offer_discounts voucher_discounts=basket.grouped_voucher_discounts %} {% block discount_totals %} {% if offer_discounts or voucher_discounts %} {# Basket total will be discounted so we show a before and after version #} {% for discount in offer_discounts %} {% endfor %} {% if voucher_discounts %} {% for discount in voucher_discounts %} {% endfor %} {% endif %} {% endif %} {% endblock %} {% block basket_total %} {% if offer_discounts or voucher_discounts %} {% else %} {# No discounts to basket #} {% endif %} {% endblock %} {% endwith %} {% block shipping_totals %} {% if not shipping_method.is_discounted %} {% else %} {% shipping_charge_discount shipping_method basket as shipping_discount %} {% shipping_charge_excl_discount shipping_method basket as shipping_charge_excl_discount %} {# As shipping is discounted, we break it down into its original charge and a discount #} {# This section needs adjustment to when taxes are shown separately #} {% endif %} {% endblock %} {% block surcharges %} {% if surcharges %} {% for surcharge in surcharges %} {% endfor %} {% endif %} {% endblock %} {% block tax_totals %} {% if show_tax_separately %} {% endif %} {% endblock %} {% block post_order_action_totals %} {% if basket.post_order_actions %} {% for discount in basket.post_order_actions %} {% endfor %} {% endif %} {% endblock %} {% block order_total %} {% if not order_total.is_tax_known %} {% endif %} {% endblock %}

{% trans "Basket" %}

{% trans "Basket total (before discounts)" %} {% if basket.is_tax_known and not show_tax_separately %} {{ basket.total_incl_tax_excl_discounts|currency:basket.currency }} {% else %} {{ basket.total_excl_tax_excl_discounts|currency:basket.currency }} {% endif %}
{% trans "Discount" %} {{ discount.name }} {% if discount.description %}
{{ discount.description }} {% endif %}
-{{ discount.discount|currency:basket.currency }}

{% trans "Vouchers" %}

{{ discount.voucher.name }} ({{ discount.voucher.code }}) {% if editable %}
{% csrf_token %}
{% endif %}
-{{ discount.discount|currency:basket.currency }}
{% trans "Basket total (after discounts)" %} {% if not show_tax_separately and basket.is_tax_known %} {{ basket.total_incl_tax|currency:basket.currency }} {% else %} {{ basket.total_excl_tax|currency:basket.currency }} {% endif %}
{% trans "Basket total" %} {% if not show_tax_separately and basket.is_tax_known %} {{ basket.total_incl_tax|currency:basket.currency }} {% else %} {{ basket.total_excl_tax|currency:basket.currency }} {% endif %}
 

{% trans "Shipping" %}

{% if shipping_methods|length > 1 and editable %} {% trans "Alternative shipping methods can be chosen during checkout" %} {% endif %}
{{ shipping_method.name }} {% if not show_tax_separately and shipping_charge.is_tax_known %} {{ shipping_charge.incl_tax|currency:basket.currency }} {% else %} {{ shipping_charge.excl_tax|currency:basket.currency }} {% endif %}
{% trans "Shipping method" %} {{ shipping_method.name }}
{% trans "Shipping total (before discounts)" %} {% if not show_tax_separately and shipping_charge_excl_discount.is_tax_known %} {{ shipping_charge_excl_discount.incl_tax|currency:basket.currency }} {% else %} {{ shipping_charge_excl_discount.excl_tax|currency:basket.currency }} {% endif %}
{% trans "Discount" %} {{ shipping_method.discount_name }} -{{ shipping_discount|currency:basket.currency }}
{% trans "Shipping total (after discounts)" %} {% if not show_tax_separately and shipping_charge.is_tax_known %} {{ shipping_charge.incl_tax|currency:basket.currency }} {% else %} {{ shipping_charge.excl_tax|currency:basket.currency }} {% endif %}
 

{% trans "Surcharges" %}

{{ surcharge.surcharge.name }} {% if not show_tax_separately and surcharge.price.is_tax_known %} {{ surcharge.price.incl_tax|currency:basket.currency }} {% else %} {{ surcharge.price.excl_tax|currency:basket.currency }} {% endif %}
 

{% trans "Tax" %}

{% trans "Basket" %} {{ basket.total_tax|currency:basket.currency }}
{% trans "Shipping" %} {{ shipping_charge.tax|currency:basket.currency }}
 

{% trans "Post order actions" %}

{% trans "These will be applied once your order is placed." %}
{{ discount.name }}

{{ discount.description }}

 

{% trans "Order total" %}

{% if order_total.is_tax_known %} {{ order_total.incl_tax|currency:basket.currency }} {% else %} {{ order_total.excl_tax|currency:basket.currency }} {% endif %}

{% trans "Taxes will be added during checkout." %}