{% extends "base.html" %} {% from "macros.html" import render_field %} {% from "macros.html" import count_items %} {% block title %}Shopping Cart{% endblock %} {% block content %}

Shopping Cart

{% if products | length > 0 %} {% for product in products %} {% endfor %}
Product Price Quantity Amount
{{product.name}} ${{product.price}} {{product.quantity}} ${{product.total}}
Total Amount: ${{totalamount}}

{% else %}

Cart is empty!

{% endif %}
{% endblock %}