How to Display Categories and Subcategories in WooCommerce

Running an online store is not an easy task, the same goes for organizing products in the store and making them available to the customers according to their wants.

WooCommerce comes in handy in this situation. The platform helps you settle things into 2 parts, categories and sub-categories. By making these sections, it becomes quite helpful for customers to find your store and products of their choice.

With the help of this article, we will give you step-to step information on how WooCommerce can help in making product categories and subcategories to give a better customer experience.

If you are new or a seasoned pro in marketing, working with the experts providing custom eCommerce website development services will give you better outcomes for your efforts.

Let’s dive in and get started!

What are WooCommerce Categories?                                                    

These categories are wide listings of products according to their characteristics or features. If we take an example of cloth selling, your product categories will be including Men’s, Women’s, and Children’s clothing. Each product category will be entitled to multiple subcategories.

On the other hand, subcategories refer to specific listings of products under a main category. The subcategories are used to make it more clear in front of customers based on their attributes or features. Tops, bottoms, dresses, and accessories will be your subcategories when creating sections under the women’s clothes category. You can easily create an organized and more user-friendly store by adding categories and subcategories in WooCommerce.

Importance of Displaying Products Categories

  • Straight navigation
  • Organizing of products
  • Using relevant keywords in your categories to rank on top of SERPs
  • Better SEO
  • Better marketing efforts

Now, let’s start learning about how to add categories and subcategories in WooCommerce, so stay tuned!

How to Add Categories in WooCommerce

  • Go to WooCommerce, then choose Settings
  • Choose the Products tab
  • Then, select the Display option
  • To make it display on the both shop page display and category option, choose ‘Show Both’Click on Save after making changes

How to Add Subcategories in WooCommerce

  • Go to the Dashboard > Products > Categories
  • On the right-hand side, there will be a list of all categories
  • Choose categories you want to edit
  • Go to the edit product category page
  • Select the main category
  • Then,  save your changes.

How to Add Category Images in WooCommerce

  • Go to the dashboard, choose Products > Categories
  • On the right side, a list of categories will appear
  • Choose the categories you want, then go to the edit product category page
  • Go to the thumbnail, then upload/add images
  • Click on Update

Showing WooCommerce Product Categories in Different Sections

Displaying Categories on the Homepage

One thing to keep in mind while showing categories on the homepage, check whether your theme is compatible with WooCommerce or not. Only then you will be able to display product categories on Homepage.

Otherwise, you have to show your categories using WooCommerce category Shortcodes.

Displaying Categories on the Shop Page

When it comes to displaying product categories on the shop page, you can only display categories with products or only products.

Follow the below-given steps to display product categories:

  • At the Appearance section, click on customize
  • Then, go to WooCommerce and choose the product catalog
  • Choose ‘show categories’
  • Hit on the Save Changes button

Displaying Categories on Any Page

You can show product categories on any page using the given shortcodes:

  • [product_category], this shortcode will show all the products of a specific category.
  • [product_categories], this shortcode will show all product categories.

Moving on to the next part, let’s have a glance at how to display WooCommerce product categories on a page;

  • Go to the dashboard, and select any page
  • Enter the shortcode [product_categories]to show all categories
  • Publish it after making all the changes
  • Displaying Categories on Sidebar
  • Choose widgets in the appearance section
  • Go to ‘WooCommerce Product Categories.’
  • Pull it toward your desired sidebar

Displaying Categories in a Menu

  • Select the menu on the appearance section
  • Click on-screen options,and check product categories
  • Move to the left side and the product categories tab will show up
  • To expand it, click on the product categories tab and select the categories
  • Hit on the save menu


Displaying categories and subcategories is important to give a clear and organized shopping experience for your customers.

By categorizing your products into sections, it will become easier for your customers to find what they are looking for.

Leave a Reply

Your email address will not be published. Required fields are marked *