ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
9.14k
stars
5.25k
forks
source link
GetOrderTotalDiscountAsync, GetOrderSubtotalDiscountAsync, GetShippingDiscountAsync performance #7145
Closed
ahmadkq closed 4 months ago
nopCommerce version: all
Steps to reproduce the problem: change if (allDiscounts != null) line to if (allDiscounts != null) to if (allDiscounts != null && allDiscounts.Any())