- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024
01:14 AM
07-26-2024
01:14 AM
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.
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
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024
02:17 AM
07-26-2024
02:17 AM
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.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024
02:35 AM
07-26-2024
02:35 AM
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.