For configurable products, out-of-stock child items are still showing up when configurable item has two or more configurable attributes. And yes, the "Display Out of Stock Products" is set to "NO" in the inventory configuration. If the configurable product only has one attribute, it hides the out of stock sub items. However, with 2 or more, it will show the out of stock options and if you add the out-of-stock item to your cart, you get the error message, "You need to choose options for your item."
@lee586, thank you for your report.
We've created internal ticket(s) MAGETWO-84037 to track progress on the issue.
As a workaround, I have to disable or delete each child product when it goes out of stock. That is the only way Magento will "X" out that product configuration.
Any idea how soon a patch will be released to tackle this bug?
Same here on 2.2.1, no 'X' on out of stock products.
@manojxhtml786 thank you for joining. Please accept team invitation here and self-assign the issue.
@hitarthpattani thank you for joining. Please accept team invitation here and self-assign the issue.
@lee586 I am working on this issue and I will try to resolve it ASAP. Please feel free to reach me if you have any further concern related to this issue.
Thank you for working on this @hitarthpattani. This is a major issue for anyone having configurable products with 2 or more attributes trying to control inventory.
Fixed in 2.2.4-preview branch: #12936
From the latest comment a backport to 2.3 is planned.
Hi @mysil2 for the linking to PR. Closing the issue
I have just upgraded to 2.2.4 hoping to see this fixed (as apparent from above) but it does not seem to be fixed. The configurable options which are out of stock still show as the others without any indication of them being disabled. I have tried reindexing and flushing the cache but it did not help.
@lee586 @hitarthpattani @magento-engcom-team Please advise
Most helpful comment
@lee586 I am working on this issue and I will try to resolve it ASAP. Please feel free to reach me if you have any further concern related to this issue.