Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Missed productID here - should be variantID
lampyjon029bbc18530a
diff --git a/saleor/cart/views.py b/saleor/cart/views.pyindex e0a15c2d97..ea5d2f445f 100644--- a/saleor/cart/views.py+++ b/saleor/cart/views.py@@ -55,7 +55,7 @@ def update(request, cart, variant_id):discounts=discounts)if form.is_valid():form.save()- response = {'productId': variant_id,+ response = {'variantId': variant_id,'subtotal': 0,'total': 0}updated_line = cart.get_line(form.cart_line.variant)