From a28424c07c80895518212a8960f1991d439edaab Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 11 Feb 2026 00:29:46 +0000 Subject: [PATCH] fix: use url_for for cart/product URLs to include page/market slugs Co-Authored-By: Claude Opus 4.6 --- .../templates/_types/product/_cart.html | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/suma_browser/templates/_types/product/_cart.html b/suma_browser/templates/_types/product/_cart.html index 0351de7..3bde81b 100644 --- a/suma_browser/templates/_types/product/_cart.html +++ b/suma_browser/templates/_types/product/_cart.html @@ -7,9 +7,9 @@ {% if not quantity %}
@@ -80,9 +80,9 @@ @@ -139,7 +139,7 @@

- {% set href=market_url('/product/' + p.slug + '/') %} + {% set href=url_for('market.product.product_detail', slug=p.slug) %} Quantity @@ -212,9 +212,9 @@ {{ item.quantity }}