diff --git a/bp/product/routes.py b/bp/product/routes.py index 48942da..29afff7 100644 --- a/bp/product/routes.py +++ b/bp/product/routes.py @@ -221,6 +221,7 @@ def register(): product_id=product.id, product=product, quantity=count, + market_place_id=getattr(g, "market", None) and g.market.id, ) g.cart.append(ci) g.s.add(ci)