nopSolutions / nopCommerce

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

Don't validate an existing shopping cart item attribute if it doesn't have selectable values #7195

Closed exileDev closed 4 months ago

exileDev commented 4 months ago

nopCommerce version: 4.70

Steps to reproduce the problem: Add a product attribute with a simple value (eg.TextBox, Multiline textbox or File upload) and mark it as required. Then fill out the product attributes in the store and try adding product to your cart

We shouldn't check its existence against values ​​entered manually by customer.

https://github.com/nopSolutions/nopCommerce/blob/635426356d8eebecf3a32c243c85dea8eb1aac02/src/Libraries/Nop.Services/Orders/ShoppingCartService.cs#L867

exileDev commented 4 months ago

Closed #7195