diff --git a/src/Presentation/Nop.Web/Controllers/ShoppingCartController.cs b/src/Presentation/Nop.Web/Controllers/ShoppingCartController.cs index a9e296ea94a..f8d598d59ea 100644 --- a/src/Presentation/Nop.Web/Controllers/ShoppingCartController.cs +++ b/src/Presentation/Nop.Web/Controllers/ShoppingCartController.cs @@ -1337,12 +1337,12 @@ public virtual IActionResult UpdateCart(IFormCollection form) cartItem.Item.RentalStartDateUtc, cartItem.Item.RentalEndDateUtc, cartItem.NewQuantity, true) }).ToList(); - //parse and save checkout attributes - ParseAndSaveCheckoutAttributes(cart, form); - //updated cart cart = _shoppingCartService.GetShoppingCart(_workContext.CurrentCustomer, ShoppingCartType.ShoppingCart, _storeContext.CurrentStore.Id); + //parse and save checkout attributes + ParseAndSaveCheckoutAttributes(cart, form); + //prepare model var model = new ShoppingCartModel(); model = _shoppingCartModelFactory.PrepareShoppingCartModel(model, cart);