If you’re running a WooCommerce store, you’ll need to create categories to help organize and keep track of your products. Here’s how to do it:
- Default (show both subcategories and products)
- Subcategories only
- products only
1. Log in to your WordPress admin panel and go to WooCommerce > Products.
2. On the Products page, click on the Categories tab.
3. On the Categories tab, click on the Add New Category button.
4. Enter a name for your category in the Name field and optionally enter a description in the Description field.
5. Select a Parent Category from the dropdown menu if you want this category to be a subcategory of another category. Otherwise, leave the default value of None.
6. Choose whether or not to display this category on your shop page by selecting the appropriate value in the Display type dropdown menu. The available options are:
7. Click on the Add New Category button to save your changes.
How to Add Products to a Category in WooCommerce?
You can add products to categories from the Products page in your WooCommerce admin panel.
- Log in (if you haven’t already) to your WordPress admin panel and go to WooCommerce > Products.
On the Products page, click on the product that you want to add to a category. - On the Edit Product page, scroll down to the Product Data section and click on the [+] or [–] icon next to Categories.
- On the Edit Product page, select one or more categories from the list of Available Categories.