Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Fix # 332 - issue

supportafbab531e817
diff --git a/src/Business/Grand.Business.Catalog/Services/Products/InventoryManageService.cs b/src/Business/Grand.Business.Catalog/Services/Products/InventoryManageService.cs
index 357950cfa..2fe32a11a 100644
--- a/src/Business/Grand.Business.Catalog/Services/Products/InventoryManageService.cs
+++ b/src/Business/Grand.Business.Catalog/Services/Products/InventoryManageService.cs
@@ -238,7 +238,7 @@ namespace Grand.Business.Catalog.Services.Products
pwi.ReservedQuantity = 0;
combination.StockQuantity = combination.WarehouseInventory.Sum(x => x.StockQuantity);
- combination.ReservedQuantity = combination.WarehouseInventory.Sum(x => x.StockQuantity);
+ combination.ReservedQuantity = combination.WarehouseInventory.Sum(x => x.ReservedQuantity);
product.StockQuantity = product.ProductAttributeCombinations.Sum(x => x.StockQuantity);
product.ReservedQuantity = product.ProductAttributeCombinations.Sum(x => x.ReservedQuantity);