cancel
Showing results for 
Search instead for 
Did you mean: 

Out of stock swatches only appearing if at least one color is available

Out of stock swatches only appearing if at least one color is available

Hello,

I noticed that the out of stock color swatches do not appear if none is in stock.

If at least one color is in stock I have all colors displayed with out of stock crossed out.

 

color_swatches.png

 

But when all of the colors are out of stock, the swatches block disappears.

 

Is there a way to show all colors crossed out if none in stock?

 

Best regards

2 REPLIES 2

Re: Out of stock swatches only appearing if at least one color is available

Hello @ShapesGS 

 

Stores > Configuration > Catalog > Inventory: 
Ensure "Display Out of Stock Products" is "Yes". This setting controls the visibility of out-of-stock products in general.

 

Was my answer helpful? You can accept it as a solution.
175+ professional extensions
Need a developer?Hire Magento Developer

Re: Out of stock swatches only appearing if at least one color is available

Thanks for your answer, yes, config is set to "yes" for all scopes.

Products are displayed and accessible but no swatch if no child in stock.