Hi guys Today we’re going to see, how
you can create product categories to your ecommerce website. Let’s say you have an ecommerce
website and you have products like this And now you want to arrange your products into different categories like this You can do that by watching this video. So after watching this video, you
will be able to create product categories like this on your website And anyone who is visiting your website
will be able to easily find the products they want based on the category So all you need to have, to follow
this tutorial is an e-commerce website. if you don’t have an e-commerce website, you can easily make one
by watching this video. Once you've created
your e-commerce website, you can then follow this tutorial So let’s get started I’m Bryan from website learners, And let’s add product categories to our website First, let’s see the website, where
we’re going to create the product categories Here it is, you can see that we have
all the products on our site but there are no categories for our products. So we’re going to create product
categories in just 3 steps The first step is to
‘create your categories’ So to create the categories Just go to your WordPress dashboard Now go to products and click ‘categories’ And it will take you to this page Now enter the name of your
category in this field I’m going to create a
category called ‘men’ And click ‘add new category’ Now as you can see a new
category has been added. So In the same way, you can create
as many categories as you want Next, I’m going to create an
another category called ‘women’ So let’s enter that here
and click ‘add new category’ now we have successfully
created our product categories. Once you have created the categories. If you go here and click ‘view’ you can see that, we do not have
any products in on our category. So now we can go to step 2 of
this tutorial which is to ‘Add products to your categories’ So to add products to your categories Just go back to your dashboard And click ‘all products’ here you will find all the
products you have on your site Now to add products to your category, First, you need to select the products
which you want to add to your category I’m going to select these Once you have selected the products Just click here and click ‘edit’ And then click ‘apply’. Now here you need to select the category
in which you want to add these products. I’m going to add the products
into the ‘men’s’ category So let’s select that And click ‘update’ So now your products will be
added to the ‘men’ category to check that Let’s go to this tab as you can see, we do not
have any products here Now if we click ‘refresh’ You can see that, we now have
the products in on our category. So this is how you can add
products to your category. In the same way, we will add
products to the women’s category So let’s go to our dashboard And click ‘products’ Now select the products, which you
want to add to the ‘women’s' category I’m going to select these Once you have selected the products Like we did before Let’s click here and select edit and then click ‘apply’ Now here select the category as ‘women’ And then click ‘update’. okay So now we have successfully added
the products to our categories. Now if we go to our website and
click ‘home’, you can see that our categories do not appear here Now, How do you add the categories
you created to your menu? Next, let’s go to step 3 where
we see How you can add the categories to your menu So to add your categories to the menu Let’s go to our worpdress
WordPress dashboard Now go to ‘appearance’
and click ‘customize’ And it will take you to this page Now to add the categories to your menu Just click ‘menus’ And click on ‘main menu’ Here you will be able to see the menus
which you have on your website. Now to add categories to your menu, Click ‘add items’ and select ‘product categories’ And here select the categories
you want to add to your menu I’m going to select these categories. Now to save the changes, lets click 'publish' as soon as you select the categories,
it will be added to your menu like this now if we go back to our website And click ‘refresh’ You can see that, we now have
the categories on our menu. so now if we click on men, we
can only see men's products. and now if we click on ‘women’ we can only see the women’s products. okay So this is how you can add
product categories to your menu And now your customers will
be able to easily choose their products using these categories. So now you know how to add your
product categories on your menu. But what if you want to
display your categories in a different place on your website? Next, let’s see how you can display
your categories in a sidebar of your website like this So to display your categories in the
sidebar, first you need to enable the sidebar, on your store page. So to enable it, Just click
‘customize’ and then go to ‘sidebar’ Now as we’re using the Astra theme,
we have got the sidebar option here. But if you are using a different theme, find it from here and enable the side bar on your theme So to enable the side bar, under woocommerce Click here & select the
sidebar you want to add I’m going to select ‘left sidebar’ And as soon as we select it, you can see that, our
sidebar appears here. Now to display products
on this sidebar, Let’s click here to go back And Click ‘widgets’ now click ‘woocommerce sidebar’ And then click ‘add widget’ Now here, search for
‘product categories’, here And you’ll get this feature So let’s click on it You can see that, we now have our
sidebar with product categories. So to save the changes Let’s click ‘publish’. now if we go to our
website and click ‘refresh’ You can see that, we have got our product
categories in the sidebar of our site. So this is how you can display your
product categories on your sidebar. Now if you see here, we have
a default category in our sidebar called uncategorized If you click on it, you can see all the
products under this category by default Since we have all our
products under this category, let’s change this category
name to ‘all products’ So to change it, Let’s go to our dashboard, Now go to products and click ‘categories’ Here you can see that we
have our default category Now to change the name of this category Let’s go here and Click ‘quick edit’ and then change the name to ‘All products’ And click ‘update’. So now we have changed the category name Now if we go to our store
page and click ‘refresh’ You can see that, the default
category name has been changed. Once you have changed the category name, Next, let’s see how you can create
subcategories on your website like this Let’s say you have a set of products,
which are related to men and you want to create a separate category for those
products and add it under ‘men’ You can do that easily
by creating subcategories So to create a your sub-category Just go back to your WordPress dashboard Now go to products and click ‘CATEGORIES’ Now here enter the new sub-category
name which you want to create I’m going to enter ‘shoes’ Next, you need to choose under
which parent category, you want to add this subcategory. I’m going to add this to ‘men’ So let’s click here and select ‘men’ And then click ‘add new category’ Now our new subcategory has been created So to check it let’s go to this tab And then click ‘refresh’ As you can see, we now have
a new subcategory under the men’s category. So this is how you can create
a new subcategory on your website. Now If you click on it You can see that, we do not have
any products in our subcategory So Next, let’s see how you can
add products to this subcategory. So to add the products Let’s go to our dashboard And click ‘all products’ Like we did before Let’s select the products which
we want to add to our subcategory Once you have selected the products Click here And click edit Then click ‘apply’ Now select the subcategory
‘shoes’ which is under ‘men’ And click ‘update’ And now our products will
be added to the subcategory Now if we go to this
tab and click ‘refresh’ You can see that, we now have the
products in our subcategory. Once you have added the
products to the subcategory. how do you make this subcategory
visible to your customers? Next, let’s see how you can
add this subcategory to a dropdown menu like this To add a dropdown menu, Let’s click ‘customize’ And click ‘menus’ Then click ‘main menu’ Now click ‘add items’ And select ‘product categories’ Now select your subcategory
which is ‘shoes’ And as you can see, it has
been added to the menu. Now to add this as a dropdown menu under 'men' Just drag this menu and place it like this So to save the changes click ‘publish’. Now if we go to our website And click ‘refresh’ You can see that, we now
have a dropdown option on men Now if we go to ‘men’ And click ‘shoes’ You can see that, we have the
products on our subcategory ‘shoes’. So this is how you can add your
categories in a dropdown menu. That’s it guys So now you know how you can add product categories to your WordPress website. And now, if you want to know how to deliver products your customers, you can watch this video And also, make sure you subscribe to Website Learners to get more videos like this one. Thanks for watching, I’ll see you in the next video, Take care, Bye -bye!