{% extends 'shop/base.html' %} {% block title %} My Cart {% endblock title %} {% block content %}

Items in my cart

{% for cp in cart.cartproduct_set.all %} {% endfor %} {% if cart.cartproduct_set.all %} {% endif %}
SN Product Rate Quantity Subtotal Action
{{forloop.counter}} {{cp.product.title}} {{cp.rate}} {{cp.quantity}} {{cp.subtotal}} + - x
Total Rs. {{ cart.total }}Empty Cart
{% if cart.cartproduct_set.all %} Checkout {% endif %}
{%endblock content%}