At this time, the WC Stock Status plugin applies its labels and settings globally across all products. However, there are workarounds if you need to hide stock messages on specific product categories:
Workaround Using Custom CSS:
- Find the Category’s Body Class
Every WooCommerce category page has a unique body class like .product_cat-shoes. - Use CSS to Hide the Label
Add this CSS snippet to your theme’s customizer (under Appearance > Customize > Additional CSS):
Replaceshoes
with your category slug.
product_cat-shoes .wc-stock-status-label { display: none; }
- Apply to Multiple Categories
You can hide labels on multiple categories by separating classes with a comma.
This method allows for flexible control, even if the plugin settings don’t directly support category-level filtering.