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.

Minor fix - Qty of shopping cart Items

KrzysztofPajak147ff96ec872
diff --git a/src/Web/Grand.Web/Views/Shared/_ShoppingCartLinks.cshtml b/src/Web/Grand.Web/Views/Shared/_ShoppingCartLinks.cshtml
index df165fb13..6cf0549d4 100644
--- a/src/Web/Grand.Web/Views/Shared/_ShoppingCartLinks.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/_ShoppingCartLinks.cshtml
@@ -18,7 +18,7 @@
var shoppingCartItems =
workContext.CurrentCustomer.ShoppingCartItems.Any() ?
- (await shoppingCartService.GetShoppingCart(workContext.CurrentStore.Id, ShoppingCartType.ShoppingCart, ShoppingCartType.Auctions))
+ (await shoppingCartService.GetShoppingCart(workContext.CurrentStore.Id, shoppingCartTypes.ToArray()))
.Sum(x => x.Quantity) : 0;