If you’re running a WooCommerce store, you might want to know how to hide categories from showing up on your products. There are a few different ways to do this, and each has its own benefits.
One way to hide categories is to simply uncheck the “Show on products” box in the category settings. This will prevent the category from showing up anywhere on the frontend of your site, including on your products.
Another way to hide categories is to use the WooCommerce Product Categories widget. This widget allows you to select which categories should be shown on your products, and which should be hidden. To use it, simply add the widget to your sidebar and select the appropriate options.
Finally, you can also hide categories by editing your theme’s files. If you’re comfortable with code, this is probably the best option, as it gives you complete control over which categories are shown on your products. Simply edit the file where your product template is located and remove the code that displays categories.
So, there you have it! Three different ways to hide WooCommerce product categories. Which one you use will depend on your needs, but all three are effective methods for hiding unwanted categories.