How to Hide Product Tags in WooCommerce
In this tutorial, I will show you how to hide product tags on both WooCommerce product pages and in the admin dashboard.
Hide Tags on Product Pages
First things first, let’s talk about how to hide “Tags” on a WooCommerce product page. There are different methods of how you can do it in classic and block WooCommerce themes. When we’re talking about classic themes, I won’t recommend one method or another – you can choose the one you like most.
Method 1. With CSS (Classic Themes)
If you want the simplest way to hide product tags in WooCommerce, here you go:
/* hide tags on WooCommerce product pages */
.single-product div.product .product_meta > span.tagged_as{
display: none;
}Sure thing, you can just use the .tagged_as selector, but we need to add a little bit more priority to our CSS rules, otherwise it won’t be applied.
Don’t know where to insert CSS (the code above)?
In classic WordPress themes you can do it via the Customizer, just click the “Appearance > Customize” link, then go to the “Additional CSS”:

Method 2. Modifying WooCommerce PHP templates (Classic Themes)
This way is definitely more complicated, however, if you don’t like to hide stuff on your site using CSS, then it should suit you well.
Unfortunately, there are no convenient filter hooks in WooCommerce that will allow us to easily hide “Tags” on WooCommerce product pages. It means that we need to go to the templates folder which is located in the WooCommerce plugin folder, find the meta.php there, which is located in the single-product folder, and copy it to our theme without breaking the folder structure.

Now, we can edit this file. It is not that difficult, we just need to remove a single line of code from that file, the one, containing the wc_get_product_tag_list() function.
Method 3. Removing the “Product tags” block (Block Themes)
If you’re using a block theme, I have good news for you – it never was easier to hide product tags on a WooCommerce store. More than that, I think “Hide” is not the correct word here, because we’re going to remove them.
Long story short, you need to go to “Appearance > Editor”, then to “Templates”, and then select the “Single Product” template. In this template you need to find the “Product tags” block:

After that just remove it:

That’s pretty much it.
Hide Product Tags in the Admin Area
Product tags are displayed in the admin area interface in quite a lot of places:
- Product tag metabox (when editing a product),
- The “Tags” column on the “All products” page,
- Quick and Bulk edit menus.
When I first published this post, I described how to hide product tags in each one of these places separately, but I truly did forget that product tags are simply a custom taxonomy with the product_tag slug, meaning that the unregister_taxonomy_for_object_type() function is what we need here.
/**
* @snippet Hide Product Tags from the WordPress Dashboard
* @author Misha Rudrastyh
*/
add_action( 'init', 'rudr_hide_product_tags_in_wp_admin' );
function rudr_hide_product_tags_in_wp_admin() {
unregister_taxonomy_for_object_type( 'product_tag', 'product' );
}Don’t Copy Tags When Crossposting Products
Though this chapter isn’t particularly related to hiding product tags on your WooCommerce store, I’d like to talk about it as well. I am going to show you a scenario when you’re crossposting WooCommerce products from Site A to Site B (with Simple WP Crossposting or Simple Multisite Crossposting – doesn’t matter) and you’ve hidden product tags on Site B.
What I am trying to say is that, by default, my plugin will try to copy product tags as well, but what is the point in it since you have them hidden on the accepting site? So, please go to the plugin settings, then to the “Fields” tab, then to the “WooCommerce” section to exclude product tags from copying between stores:

Misha Rudrastyh
Hey guys and welcome to my website. For more than 15 years I've been doing my best to share with you some superb WordPress guides and tips for free.
Need some developer help? Contact me
Misha, hi! Thanks for the article.
Brilliant — incredibly useful!
Thank you so much, this quick fix was so refreshing!
Glad to help :)