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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Minor fix - GetCrossSellProductsByShoppingCart
KrzysztofPajak11efa62936a7
diff --git a/src/Business/Grand.Business.Catalog/Services/Products/ProductService.cs b/src/Business/Grand.Business.Catalog/Services/Products/ProductService.csindex 23d687d21..94201bd2e 100644--- a/src/Business/Grand.Business.Catalog/Services/Products/ProductService.cs+++ b/src/Business/Grand.Business.Catalog/Services/Products/ProductService.cs@@ -867,7 +867,7 @@ namespace Grand.Business.Catalog.Services.Productsforeach (var sci in cart){var product = await GetProductById(sci.ProductId);- if (product == null)+ if (product == null || !product.Published)continue;var crossSells = product.CrossSellProduct;