nopSolutions / nopCommerce

ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
https://www.nopcommerce.com
Other
9.09k stars 5.2k forks source link

Drop "HasDiscountsApplied" product column #7188

Closed AndreiMaz closed 1 month ago

AndreiMaz commented 2 months ago

There's no need to keep "HasDiscountsApplied" column in the "Product" entity.

It was required for performance optimizarion when we used Entity Framework. Now we can cache values between HTTP requests. Hence we can remove this property. Just ensure that these discounts are properly cached between HTTP requests

exileDev commented 1 month ago

Closed #7188