There are some related messages but not precisely this.
Is there an method to - show out of stock products (for a configurable product) - add a label "out of stock"
So a drop down with
- L - out of stock
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
We can use Magento 2 plug-ins to add out of stock labels to child options.
See sample code here: https://github.com/Jitheesh/Magento2-configurable
(This is working fine for me on Magento 2.2.2 version)