Magento – Show out of stock simple products swatches in configurable (M2.2.4)

configurable-productinventorymagento2

I want to show out of stock simple products swatches in configurable product (M2.2.4) to show size etc is available but Out of Stock.

I thought M2 did this with "Display Out of Stock Products" but doesn't seem to work.

Best Answer

To be able to activate this configuration go to Products -> Catalog, there we choose any product and we go to the option of Quantity. Under it, there is the option "advanced inventory", click on it and select the first box that says Use configuration options found under Manage stock.

This configuration will show all the swatches