Website Building » WooCommerce » How Do I Remove Categories From Shop Page WooCommerce?

How Do I Remove Categories From Shop Page WooCommerce?

Last updated on October 1, 2022 @ 10:35 pm

If you want to remove the default category layout from the Shop page in WooCommerce, it’s actually pretty easy to do. There are two ways you can go about it.

The first way is to simply edit the Shop page template file, and remove the code that calls for the category layout. This method is a little more technical, but it’s not too difficult if you’re comfortable editing code. Simply open up the shop.php file in your theme, and remove the following line of code:

That line of code is what calls for the category layout on the Shop page. Once you remove it, save your changes and refresh the page. The category layout should be gone.

The second way to remove the category layout from the Shop page is by using a plugin. There are a few plugins that will do this for you, but we recommend WooCommerce Remove Category Layout.

It’s a free plugin with over 10,000 installs, and it’s compatible with WooCommerce 3.0+.

To use the plugin:

  1. Install and activate WooCommerce Remove Category Layout. For more details, see our guide on how to install a WordPress plugin.

  2. Once activated, go to WooCommerce > Settings. On the Settings screen, select the “Remove Cat Layout” tab.

  3. “Remove Cat Layout”. When you select this option, any existing category layouts on your Shop page will be removed. You can then add your own custom content to the Shop page using the WordPress editor.

Conclusion: How Do I Remove Categories From Shop Page WooCommerce?

There are two ways that you can go about removing categories from your shop page on WooCommerce. The first way is by editing the shop.php file and removing the line of code that calls for the category layout. The second way is by using a plugin like WooCommerce Remove Category Layout.

PRO TIP: If you are using WooCommerce to sell products on your website, you may want to remove the categories from the shop page. This can be done by going to the WooCommerce settings page and selecting the “Remove Categories” option.

However, doing this will also remove the ability to filter products by category on the shop page. If you want to keep the ability to filter products by category, you should not remove the categories from the shop page.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.