When I try to add a line item to an existing Order in Commerce Manager, I get the following error
The Product '' does not have a valid max quantity setting and was removed from your cart.
The variation has the Inventory Min and Max Quantity set to 0 and not Tracked.
Increasing the max quantity doesn't resolve the error.
The error only occurs in Commerce Manager, adding the same item to cart via the front end website works.
Tracked is for inventory, and does not affect the MaxQuantity setting. For example you might have SKUs that you don't want to track inventory, but you want to make sure each customer can only buy at max 3 pieces per cart (quite common for groceries )
You can add the item to cart in front end because you might have different validation there. But I find it strange when you say changing max quantity does not help.
Hi Quan, I'm also at a loss as to why increasing max quantity doesn't help as the error message suggests.
For front end cart validation, I'm using cart.ValidateOrRemoveLineItems method. Is the Commerce Manager not using the same validation workflow ?
If you use the default workflows, yes