-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable add product to cart in Magento 2.3.3 backend when stock quantity is 1 - "The requested qty is not available" #25675
Comments
Hi @wibbel. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @wibbel do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@magento give me 2.3-develop instance |
Hi @wibbel. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @wibbel, here is your Magento instance. |
Hi @ajijshekh123. Thank you for working on this issue.
|
Give me @magento give me 2.3-develop instance |
Hi @ajijshekh123. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @ajijshekh123, here is your Magento instance. |
I have verified this issue. I have reproduced this issue. @wibbel - When the user clicks on the "Update Items and Quantities' button, This error will be gone. |
✅ Confirmed by @ajijshekh123 Issue Available: @ajijshekh123, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @molneek. Thank you for working on this issue.
|
I'm unsure if this is related, but we're experiencing something similar: If we have a configurable product with a simple child item that's at its last qty available of stock, we can add it to the cart, but if we update the cart programatically behind the scenes (post to our 3rd party payment provider and save a custom value on the quote, for example), Magento throws a, "Could not save custom_field_1 to quote: \nThe requested qty is not available" This only happens for child items on configurables. This does NOT happen for simple items ordered by themselves. I will file this as a separate bug, but it definitely feels related to this code execution path. To reproduce:
|
The problem is only shown in the 2.3.3 backend when making orders from Magento Admin. Any product that is added to te order that only has available stock of 1 displays "The requested qty is not available". Quantities of greater than 1 are fine.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: