Website Building » WooCommerce » How Do I Exclude a Category From WooCommerce Shop?

How Do I Exclude a Category From WooCommerce Shop?

Last updated on January 21, 2023 @ 2:05 pm

Assuming you have a WooCommerce site with products, and you want to create a “Shop” page that excludes a certain category of products..

Here’s how you would do it:

  1. First, create a new page in WordPress and title it “Shop”.
  2. Next, go to WooCommerce > Settings > Products. Under the “General” tab, there is an “Exclude Product Categories” option. Here, you would select the category or categories of products that you want to exclude from your shop page.
  3. Now, go to Appearance > Menus.Under the “Pages” section, find the “Shop” page that you created earlier and add it to your menu. Save your changes.
  4. That’s it! You can now visit your new shop page on your site and verify that the excluded products are not showing up.
PRO TIP: If you are using WooCommerce to sell products online, you may want to exclude a category from your shop page. This can be useful if you have a category of products that you do not want to sell online, or if you want to create a separate shop page for a specific category of products.

To exclude a category from your WooCommerce shop page, go to the Products tab in your WordPress admin panel and click on Categories. Then, click on the edit link for the category that you want to exclude. In the Edit Category page, scroll down to the Exclude from Shop option and check the box next to it. Save your changes and the category will be excluded from your WooCommerce shop page.

Conclusion:

Excluding a category from your WooCommerce shop page is easy to do and only requires a few steps. First, create a new page in WordPress and title it “Shop”.

Next, go to WooCommerce > Settings > Products and select the category or categories of products that you want to exclude from your shop page. Finally, go to Appearance > Menus and add the “Shop” page to your menu. Save your changes and you’re done!

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.