Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Don't destroy storage during cart reconstruction
Patryk Zawadzki214138810c17
diff --git a/saleor/cart/__init__.py b/saleor/cart/__init__.pyindex b8b44077b7..f28909c735 100755--- a/saleor/cart/__init__.py+++ b/saleor/cart/__init__.py@@ -90,8 +90,8 @@ class SessionCartLine(cart.CartLine):@classmethoddef from_storage(cls, data_dict):- product = data_dict.pop('product')- quantity = data_dict.pop('quantity')+ product = data_dict['product']+ quantity = data_dict['quantity']data = data_dict['data']instance = SessionCartLine(product, quantity, data)return instance