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

My Basket

{% for product in purchased_list %}
{% include 'basketItem.html' %}
{% endfor %}

Total: £{{ "{:.2f}".format(total_cost) }}

{% if total_cost != 0 %} {% endif %}
{% endblock %}