Introduction to WooCommerce Product Categories
On the right hand side of your WooCommerce ‘Edit Product‘ page – you will see a box titled ‘Product Categories‘.
This will show you the categories that have already been created. For example – ‘Soft Drinks’, ‘Olive Oil’, ‘Wine’.
You can put a product in one or more categories by clicking on the relevant checkbox.
You can create new product categories directly from the Edit Product screen by clicking on the ‘Add New Product Category’ link or you can create/organise your product categories up-front (recommended).
Creating a new product category in 6 easy steps
There are 6 easy steps in creating product categories:
- Navigate to the Add New Category screen
- Name your category
- Determine whether it is a main category or a sub-category
- Select the display options
- Add an image
- Click ‘add’
1.Go to WooCommerce Product menu
Go to the black menu on the left side of your screen.
Under ‘WooCommerce‘ you will see ‘Products’.
Click on ‘Products‘ and the Product Menu shown above will appear.
Click on ‘Categories‘.
Click on Add New Category
2. Name your category
In the ‘Name‘ box – enter the name of the category, for example – ‘Red Wine’.
In the ‘Slug‘ box – enter what you would like the URL for the category to be.
Slugs are an internet and search engine friendly version of the category title, without spaces between words.
In the example it could be ‘red-wine’.
Slugs are meant to be used with permalinks as they help describe what the content at the URL is.
Example post permalink:
The slug for that post is “ecommerce-managing-stock-levels”. Although it could equally be “managing-stock”.
Google uses this ‘slug’ to pick up on posts in its searches, so it can be a tool for search visibility.
It could be “porcupine” but as this has no real connection with the post’s content, it would be useless.
3. Determine whether it is a main category or a sub-category
Next you need to decide whether this category is a ‘parent’ / top level category or if it is a sub-category of another category you have already added.
You do this by editing the ‘Parent‘ dropdown box – below the ‘slug’ area.
If you had already created some main categories – named – just for example – ‘Olive Oil’, ‘Cheese’, ‘Wine’.
By ticking the ‘Wine’ category box here you can make your category ‘Red Wine’ a sub-category of ‘Wine’
– making an easy and obvious trail for your customers to follow.
4. Select display options
Next, you can decide whether you want to show the sub-categories on that category page, just the products within that category, or both.
The ‘Display Type‘ dropdown is used to determine this.
- You can leave it on ‘Default (this is set at store level)
- Choose the ‘Products‘ option to display all the products in this category on the category page
- If you choose the ‘Sub-Categories‘ option, only the sub-categories of that category will be shown.
For example: If they click on ‘Wine’ – the options of ‘Red Wine’, ‘White Wine’ and ‘Sparkling Wine’ appear.
- You can choose to use a combination of ‘Both‘
5. Add an image
Next, you need to upload an image which will be used to represent this category on the shop page.
Images should be pre-cropped to 300 x 300 pixels or whatever the dimensions for your store have be defined as.
They should be in .jpg format.
If you are using the Photoshop application – use ‘Save for Web and Devices‘ from the ‘File‘ menu to save the image before use.
6. Click Add!
Your new category is now ready to be added – click ‘add’!
Once you have done this it will appear on your WooCommerce ‘Add Product’ page in the Categories section.
This Managing WooCommerce Product Categories tutorial is part of a series of tutorials to help you manage your own WooCommerce driven online store.