How can I limit customer orders to my available stock?

Hello community,

I have managed to display a stocklevel on the product page. Now it says for example: " Only 2 left!"

The problem is, that customers are still able to order more then i have left in stock. I obviously dont want them to as i cannot restock.

How do i go about this?

Best regards, Thomas

@Thomas1984 ,

Just check your inventory policy, it must be set to continue selling when out of stock, hence the issue. ( Check what it says for “When sold out” column under inventory)

Ah yes. Thank you very much. Ive fixed it.

Customers can still add a higher quantity then available to the cart, but then it will notify and automatically change to the remaining quantity when at the checkout.

That works for me.

Thank you for your help.