From 3aa1aadd0bcc4df5de22b9d4c861429628480a67 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 18 Feb 2026 18:19:36 +0000 Subject: [PATCH] Add market_product_url helper for correct product URLs market_url('/product/...') was missing the /// prefix required by the market app's route structure. New helper market_product_url() resolves the prefix from request context (g.post_slug/g.market_slug in market app, g.page_slug + market_place in cart app). Co-Authored-By: Claude Opus 4.6 --- browser/templates/_types/order/_items.html | 2 +- browser/templates/_types/product/_cart.html | 22 ++++++++++----------- infrastructure/jinja_setup.py | 3 ++- infrastructure/urls.py | 18 +++++++++++++++++ 4 files changed, 32 insertions(+), 13 deletions(-) diff --git a/browser/templates/_types/order/_items.html b/browser/templates/_types/order/_items.html index fdf0a0c..27b2a9f 100644 --- a/browser/templates/_types/order/_items.html +++ b/browser/templates/_types/order/_items.html @@ -7,7 +7,7 @@