{% extends 'layout.html' %}

{% block content %}
<h1>Shopping Cart</h1>
<ul>
    {% for item in cart %}
        <li>{{ item.name }} - ${{ item.price }}</li>
    {% endfor %}
</ul>
<h2>Total: ${{ total }}</h2>
<a href="{{ url_for('checkout') }}">Checkout</a>
<a href="{{ url_for('product_page') }}">Continue Shopping</a>
{% endblock %}
