{% extends "base.html" %} {% load discount_tags %} {% block content %}

Your Cart

{% if cart_items %}
{% for item in cart_items %} {% if promo_data %} {% else %} {% endif %} {% if promo_data %} {% else %} {% endif %} {% endfor %}
Item Price Quantity Subtotal Remove
{{ item.title }} ${{ item.price }} ${{ item.price|discounted_price:promo_data.discount_percent }} ${{ item.price }}{{ item.quantity }} ${{ item.total }} ${{ item.total|discounted_price:promo_data.discount_percent }} ${{ item.total }}
{% csrf_token %}
{% csrf_token %}
{% else %}
Your cart is empty. Go shopping!
{% endif %}
{% endblock %}