{% extends 'shop/base.html' %} {% block title %} My Cart {% endblock title %} {% block content %}
SN | Product | Rate | Quantity | Subtotal | Action |
---|---|---|---|---|---|
{{forloop.counter}} | {{cp.product.title}} | {{cp.rate}} | {{cp.quantity}} | {{cp.subtotal}} | + - x |
Total | Rs. {{ cart.total }} | {% if cart.cartproduct_set.all %}Empty Cart | {% endif %}|||
{% if cart.cartproduct_set.all %} Checkout {% endif %} |