Website Building » WooCommerce » How Do I Hide Subcategories in WooCommerce?

How Do I Hide Subcategories in WooCommerce?

Last updated on January 17, 2023 @ 5:28 pm

Do you want to hide subcategories in WooCommerce? By default, WooCommerce displays both parent and child categories in the shop page.

This can be confusing for customers, and it also takes up a lot of space. In this article, we’ll show you how to hide subcategories in WooCommerce.

As you can see, there’s a lot of redundant information here. Customers have to sift through all of the subcategories to find what they’re looking for. This isn’t ideal from a user experience standpoint.

PRO TIP: If you are using WooCommerce to sell products online, you may want to hide certain subcategories from your shop page. This can be useful if you want to keep certain products hidden from your customers until they are ready to purchase them.

However, it is important to note that hiding subcategories can also make it more difficult for customers to find the products they are looking for. Therefore, you should only use this feature if you are sure that it will not cause any problems for your customers.

Fortunately, it’s easy to hide subcategories in WooCommerce. Just follow these steps:

1. Log into your WordPress dashboard and go to WooCommerce > Settings.

2. On the General tab, scroll down to the “Default Category Display” section and select the “Hide all child categories” option.

3. Save your changes.

That’s it! Now when you go back to your shop page, you should only see parent categories.

Conclusion: Hiding subcategories in WooCommerce is a great way to streamline your shop page and make it easier for customers to find what they’re looking for. Just follow the steps above and you’ll have it set up in no time!

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.