Thank you for reading my question.

I am working on a Magento 2.3 version and facing an issue which is

When I add the product to cart more than the available stock it doesn't show the error message. Like if the user wants to add 25 products to cart and the stock has only 23, as a result, this should show error message to the user telling there's just 23 pcs of this item and give two options add (the 23) or erase product from cart Can you help me to fix this issue?

Here goes the list of Installed modules:enter image description here

Looking forward to hearing from your great experience.

Thanks in advance


1 Answer 1


To show error message when user tries to add a product to cart with quantity higher than current product's available quantity, you can disable the backorder (simply by setting the Backorders value to No Backorders in current product's advanced quantity).

  1. Set the Backorders value to No Backorders enter image description here

  2. Error message appears like this if you try to add a product to cart with quantity higher than current product's available quantity enter image description here

  • Hi Randy, thanks for the answer. I checked and it's already set to No Backorders. Success message is working perfect but error message is not being displayed :( Aug 22, 2019 at 8:16
  • one of your installed modules probably change this behavior, did you check it? could you please add list of installed modules in your question? Aug 22, 2019 at 8:39
  • Sure. Let me add Aug 22, 2019 at 9:00
  • I have added the list of enabled modules. I will be really grateful if you could spare 5 mints to check this thing. Link: fulloffice.com.mx/fo/… Aug 22, 2019 at 9:11
  • I could not add any products to cart, I got javascript error blocked:mixed-content after clicking the add to cart button. See imgur.com/MpZ1s8l Aug 22, 2019 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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