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

How Do I Show Subcategories in WooCommerce?

Last updated on October 1, 2022 @ 2:38 pm

There are two ways that you can display subcategories in WooCommerce. The first is to enable the WordPress default behavior, which will automatically display subcategories when viewing a parent category archive page.

The second is to use a plugin that will give you more control over how subcategories are displayed.

If you want to enable the WordPress default behavior, you can do so by going to the WooCommerce > Settings page and selecting the Display tab. Then, under the Category Display section, check the box next to “Show subcategories on the shop page”.

Once you save your changes, your subcategories will be visible on your shop page.

If you want more control over how your subcategories are displayed, you can use a plugin like WooCommerce Product Categories . This plugin gives you the ability to choose how many columns you want to display, as well as what order you want your categories and subcategories to be displayed in. To set up this plugin, first install and activate it. Then, go to the WooCommerce > Product Categories page and select the “Display” tab.

From here, you can choose how many columns you want todisplay and what order you want your categories and subcategories to be displayed in. Once you’ve made your selections, be sure to click the “Save Changes” button.

Conclusion:

There are two ways that you can display subcategories in WooCommerce. The second is to use a plugin that will give you more control over how subcategories are displayed.

PRO TIP: If you are using WooCommerce to sell products on your website, you may want to display subcategories in the shop page. This can be done by adding a few lines of code to your functions.php file. However, before doing this, you should back up your website files and database. This is because modifying your functions.php file can break your website if not done correctly.
Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.