in using WoodMart Theme construction WooCommerce Store whenSwatch(Attribute Button Style) can enhance the product display, especially for color, size and other variants. However, many people found that: when the product is out of stock, the Swatch style will not be displayed normally, which will easily cause confusion in the frontend.
This article will go step by step on how to deal with this issue so that Swatch styles can be reflected properly in out-of-stock states.
![Image[1]-WoodMart Out of Stock Products Swatch Styles Not Displaying? Here's how to fix it](https://www.361sale.com/wp-content/uploads/2025/05/20250529095611129-image.png)
I. Where are the Swatch style settings?
First go into the background:
Products → Properties → Edit an attribute (e.g. color, size)
![Image[2]-WoodMart Out of Stock Products Swatch Styles Not Displaying? Here's how to fix it](https://www.361sale.com/wp-content/uploads/2025/05/20250529095709493-image.png)
At the bottom of this property page, you will see the Swatch Settings area, which you can select:
- Swatch Style
- Disabled style
- Style shape (square/round)
![Image[3]-WoodMart Out of Stock Products Swatch Styles Not Displaying? Here's how to fix it!](https://www.361sale.com/wp-content/uploads/2025/05/20250529095736695-image.png)
Click "Update" to save the settings.
Note: Even if a style is set here, the Swatch style will not be displayed if subsequent products or variants are set incorrectly.
Second, why is there no effect after setting?
If you see no change in the Swatch style when you refresh the page, it's probably because:
- Products are still marked as "out of stock" but remain "active".
- WoodMart The theme does not apply disabled styles to this state
![Image[4]-WoodMart Out of Stock Products Swatch Styles Not Displaying? Here's how to fix it](https://www.361sale.com/wp-content/uploads/2025/05/20250529101543760-image.png)
III. Solution 1: Modifying individual product variants
- Open the product edit page
- Find the out-of-stock variant and click to expand
![Image[5]-WoodMart Out of Stock Products Swatch Styles Not Displaying? Here's how to fix it](https://www.361sale.com/wp-content/uploads/2025/05/20250529101630317-image.png)
- Uncheck "Enabled".
- Save variants, update products
- Refresh the page and the 128GB option disappears
![Image [6]-WoodMart Out of Stock Products Swatch Styles Not Displaying? This article will help you to solve it.](https://www.361sale.com/wp-content/uploads/2025/05/20250529101736551-image.png)
This approach is for people who want to still display the out of stock option, but want to make a clear visual distinction.
Solution 2: Setting WooCommerce to hide out-of-stock items
If you do not want out-of-stock products to appear in the frontend, you can use the following method:
- Backstage Access:WooCommerce → Settings → Products → Inventory
![Image [7] - WoodMart Out of Stock Products Swatch Styles Not Displaying? Here's how to fix it](https://www.361sale.com/wp-content/uploads/2025/05/20250529101944278-image.png)
- Check the box "Hide out-of-stock products from catalog".
![Image[8]-WoodMart Out of Stock Products Swatch Styles Not Displaying? Here's how to fix it](https://www.361sale.com/wp-content/uploads/2025/05/20250529102125354-image.png)
- Save Settings
After setting it up like this:
- Out-of-stock items will not be displayed on the frontend
- Swatch styles can also show out-of-stock status
- No need to modify each variant individually
V. Summary recommendations
| Usage Scenarios | Recommendation |
|---|---|
| Frontend displays out-of-stock options but styles need to be changed | Uncheck "Enable". |
| Do not display out-of-stock items | Check the "Hide out-of-stock items" box. |
Whether or not the Swatch style works depends on theofferingsThe current state setting. After understanding this mechanism, you can flexibly adjust the display effect, no longer troubled by the style does not take effect.
Feel free to leave a comment with any other setup questions, or visit photonwave.com for more! WordPress Tutorial.
Link to this article:https://www.361sale.com/en/56565The article is copyrighted and must be reproduced with attribution.





















![Emoji[wozuimei]-Photonflux.com | Professional WordPress repair service, worldwide, rapid response](https://www.361sale.com/wp-content/themes/zibll/img/smilies/wozuimei.gif)
![Emoticon[baoquan] - Photon Wave Network | Professional WordPress Repair Services, Worldwide Coverage, Rapid Response](https://www.361sale.com/wp-content/themes/zibll/img/smilies/baoquan.gif)

No comments