I have a store where I selle unique products, so every product has a quantity of 1. When the order is placed, the quantity is decreased to 0 and the product changes to out of stock and it's no longer available. This is correct.

My issue is that if the product is already in the cart of a user (the order is not placed yet, the user has only added the product into cart) it cannot be added to the cart by another user. So:

  • user A adds product to the cart and does NOT proceed to place order
  • user B tries to add the same product to the cart but magento doesn't let him because there is no quantity available

So my question is:

  • is the quantity decreased when the order is placed or when the product is added to cart?
  • is there a way to have the quantity available always, until one of the users finally places the order?


  • This definitely is not the intented behavior of a core Magento install. Check for any observer after product add to cart event or after quote save.
    – pontikos
    Commented Nov 3, 2019 at 9:39

1 Answer 1


My understanding stock is not removed until the order is placed, and the option in magento is "Decrease Stock When Order is Placed" so the wording implys the same.

I also tested this on my own store, and it did not change the product to out of stock when it was added to a cart, even when I was at the checkout, it was still showing as in stock to other users. not untill the order was placed was it changed to out of stock.

  • thank you. It was my understanding as well, that's why I was perplexed by this behaviour. I'll dig further to understand where the issue arises, then, because it's not the only website I've seen with this issue. Thank you again
    – Lounik
    Commented Oct 28, 2019 at 7:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.