{% extends 'base.html' %} {% load i18n %} {% load static from staticfiles %} {% load currency_filters %} {% load thumbnail %} {% block title %}{{ product.name }}{% endblock %} {% block content %}

{% trans "Shopping Cart" %}

{% if not cart.num_items %}

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

{% else %} {% for cart_item in cart_items %}
product image

{{ cart_item.description }}

{% if cart_item.has_details %}
    {% for detail in cart_item.details.all %}
  • {{ detail.name }}: {{ detail.value }}
  • {% endfor %}
  • Qty: {{ cart_item.quantity }} @ {{ cart_item.unit_price|currency }}
{% endif %}
{#
{% csrf_token %}#} {# #} {# #} {# #} {#
#}
{% csrf_token %}

{{ cart_item.line_total|currency }}
{% endfor %} {% endif %}

Cart Summary

{{ cart.num_items }} Item{{ cart.num_items|pluralize }}
Subtotal: {{ cart.total_price|currency }}

*Taxes and shipping charges may apply.

{% trans "Checkout" %}
{% endblock %}