Fix cart-mini OOB: compute cart_count explicitly in adjust route
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 52s

Pass cart_count directly to the template instead of relying on the
context processor, which may not resolve correctly for the /tickets/
URL prefix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-21 09:12:59 +00:00
parent 4aaaf2c7f1
commit f445d39d22
2 changed files with 11 additions and 1 deletions

View File

@@ -1,2 +1,4 @@
{# Response for ticket adjust — re-render the buy form #}
{# Response for ticket adjust — buy form + OOB cart-mini update #}
{% from '_types/cart/_mini.html' import mini %}
{{ mini(oob='true') }}
{% include '_types/tickets/_buy_form.html' %}