Simple product is available on the swatches even when Quantity is 0 and is out of stock #6212
Labels
bug report
Issue: Cannot Reproduce
Cannot reproduce the issue on the latest `2.4-develop` branch
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Preconditions
Steps to reproduce
Expected result
Actual result
(If user tries to add it to cart, magento displays the warning: This item is out of stock)
A simple fix is to manually change the status of that simple product from "Enabled" to "Disabled". However this should be done automatically. If there is only 1 unit left of that product and a user buys it, another user should not be able to see it as an available option.
When the last unit available has been sold, the status should be changed automatically to "Disabled" so it's not shown on product page.
The text was updated successfully, but these errors were encountered: