diff --git a/app.py b/app.py index a0bfba2..342e888 100644 --- a/app.py +++ b/app.py @@ -46,6 +46,7 @@ async def market_context() -> dict: cart_items = cart_result.scalars().all() from bp.cart.services import total + ctx["cart"] = list(cart_items) ctx["cart_count"] = sum(ci.quantity for ci in cart_items) ctx["cart_total"] = total(cart_items) or 0