{% extends "base.html" %} {% load i18n %} {% load satchmo_currency %} {% load satchmo_util %} {% load satchmo_product %} {% if default_view_tax %}{% load satchmo_tax %}{% endif %} {% block navbar %}
  • {% trans "Home" %}
  • {% trans "Cart" %}
  • {% endblock %} {% block content %} {% if error_message %}
    {{ error_message }}
    {% endif %} {% if not cart %}

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

    {% else %}

    {% trans "Your Cart" %}

    {% for cartitem in cart %} {% if cartitem.product|is_producttype:"CustomProduct" %}{% with cartitem.product.customproduct as custom %} {% endwith %}{% endif %} {% endfor %}
    {% trans "Quantity" %} {% trans "Item" %} {% if default_view_tax %}{% trans "Total
    (incl. tax)" %}{% else %}{% trans "Total" %}{% endif %}
    {{ cartitem.description }} {% if default_view_tax %}{% cartitem_line_taxed_total cartitem 1 %}{% else %}{{ cartitem.line_total|currency }}{% endif %}
      {% ifnotequal custom.discount 100 %} {% trans 'Base Price: ' %}{{ custom.full_price|currency }}
    {% trans 'price at right is your deposit, you will receive a bill for the remainder when your item is ready.' %}
    {% endifnotequal %} {% for detail in cartitem.details.all %} {% if not forloop.first %}
    {% endif %} {{ detail.name }}: {{ detail.value }} {% if detail.price_change %} {{ detail.price_change|currency}} {% endif %} {% endfor %}
     
    {% trans "Cart Total" %}: {% if default_view_tax %}{% cart_taxed_total cart 1 %}{% else %}{{cart.total|currency}}{% endif %}
    {% if sale %} {% include "discount/some_eligible.html" %} {% endif %} {% trans "Check out" %} {% endif %} {% endblock %}