Developer forum

Forum » Swift » User can add product quantity to cart over inventory status

User can add product quantity to cart over inventory status

Jóhannes Þorkell Tómasson
Reply

Hi.

Users can add product quantities to cart going overt the products stock level. Here we have a product variant that has an inventory of 18 units. We add all 18 to the cart using the add to cart button:

...Then we close the cart sidebar and add a quantity of 5 using the add to cart button again:

...And the user now has 23 units in the cart, going over the stock limit of 18. Here is a screenshot from the checkout process:

BR, Jóhannes


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Please check how you have this setting:
(DW9)

And DW10

Votes for this answer: 1
 
Jóhannes Þorkell Tómasson
Reply

Thank you, turning that on worked. I will say this setting is kind of obscure though, both in location and effect. 

BR, Jóhannes

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

We can agree on that. It needs modernisation - naming is kind of difficult to understand.... And hard to find in DW10.

We will have a look at this.

 

You must be logged in to post in the forum