{% extends "base.html" %} {% block title %}Carrito — GhostRace{% endblock %} {% block content %}

Tu carrito

{% if not items %}

Tu carrito está vacío. Ir al catálogo.

{% else %} {% for it in items %} {% endfor %}
ProductoCantidadSubtotal
{{ it.product.emoji }} {{ it.product.nombre }} {{ it.cantidad }} {{ "%.2f"|format(it.subtotal) }} €
Total {{ "%.2f"|format(total) }} €
{% endif %} {% endblock %}