{% extends "shop/base.html" %} {% load mezzanine_tags shop_tags i18n future %} {% block meta_title %}{% trans "Your Cart" %}{% endblock %} {% block title %}{% trans "Your Cart" %}{% endblock %} {% block body_id %}cart{% endblock %} {% block breadcrumb_menu %} {{ block.super }}
  • {% trans "Your Cart" %}
  • {% endblock %} {% block main %} {% if request.cart.has_items %}
    {% csrf_token %} {% if cart_formset.errors %} {% for error in cart_formset.errors %} {% if error.values.0 %}{{ error.values.0 }}{% endif %} {% endfor %} {% endif %} {{ cart_formset.management_form }} {% for form in cart_formset.forms %} {% with form.instance as item %} {% endwith %} {% endfor %}
    {% trans "Item" %} {% trans "Unit Price" %} {% trans "Qty" %} {% trans "Price" %} {% trans "Remove?" %}
    {{ form.id }} {% if item.image %} {{ item.description }} {% endif %} {{ item.description }} {{ item.unit_price|currency }} {{ form.quantity }} {{ item.total_price|currency }} {{ form.DELETE }}
    {% order_totals %}  
    {% if request.session.order.step %}{% trans "Return to Checkout" %}{% else %}{% trans "Go to Checkout" %}{% endif %}
    {% if discount_form %}
    {% fields_for discount_form %}
    {% endif %} {% if settings.SHOP_USE_UPSELL_PRODUCTS %} {% with request.cart.upsell_products as upsell_products %} {% if upsell_products %}

    {% trans "You may also like:" %}

    {% for product in upsell_products %}
    {% if product.image %} {% endif %}
    {{ product }}
    {% if product.has_price %} {% if product.on_sale %} {{ product.unit_price|currency }} {% trans "On sale:" %} {% endif %} {{ product.price|currency }} {% else %} {% trans "Coming soon" %} {% endif %}
    {% endfor %}
    {% endif %} {% endwith %} {% endif %} {% else %}

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

    {% endif %} {% endblock %}