Stock level is 0 but customers can buy the product. Magento 2.0.7
Steps to reproduce
- Create a configurable product, status is on stock
- All of the simple product (within the same configurable product) come to a stock level 0, status is still in stock
- Backorder is disabled
- Customer comes to the direct URL (via Google)
- Customer can buy the product, even though stock level is 0
Expected result
- Status of the product will change to out of stock
- The product will be shown as out of stock
Actual result
- Product stays in stock
- Product is shown as in stock
- Customer is able to buy the product
Is there a setting that i missed?
@devhn, thank you for reporting this issue! Could you please provide magento version also?
@andimov it's 2.0.7.
Cam accross this issue.
Magento: 2.1.0 GA
Reproduce:
- Create a configurable product. That generates products A and B.
- On product B - set in stock status to Out of stock and stock level to 0.
Actual result:
In frontend, when changing to configurable product B , it still says "In Stock".
Expected result:
In frontend, when chaging to configurable product B, it should display "Out of stock".
Using 2.0.7 - often our products come back to saying "in stock" when we set to "out of stock" - happens out of the blue
@devhn @peec thank you for reporting! This issue was already described in #5558. Our internal issue is MAGETWO-58328.
@plentyhappy please feel free to create a separate issue when you find a way to reproduce permanently(or with high probability).
Hi @devhn
We are closing this report as the fix for the issue is already released with 2.2.0.
Please reopen if the problem persists.
Thank you