Merry Christmas, 25% OFF. Coupon: XMAS Explore

How to Create a New Root Category in Magento 2

magento-2-tutorial
how-to
create
new
root
category

The Root Category in the category tree is like the doyen in a family with many offsprings. You will see that the category tree has the upside-down structure because the root is on the top with many subcategories in the lower level. And each category contains many products in it. You can see the following category tree:

How to Create a New Root Category Category Tree

In the example, Default Category is the root category and it has many subcategories such as Women, Men, Gear, Training.

To create new category in Magento 2, allowing store admin to create as many root categories with different structures, different stores and different views as needed but there is only one root category that is applied for your store at a time. Moreover, customer can not view the root category and there is no URL Key supported for it

How to Create a New Root Category

How to create a new Root Category in Magento 2 as the following steps.

To create a new root category

  • Step 1: Build a New Root Category
  • Step 2: Create Subcategories for the New Root Category
  • Step 3: Activate the New Root Category on Your Store

Step 1: Build a New Root Category

  • On the Admin Panel, Product > Inventory > Categories.
  • Click on Add Root Category button.
  • On the General Information tab, you need:
    • Name for a new root in the Name field.
    • Choose Yes in the Is Active field to activate the root.
    • Create URL Key for the new root.
    • Leave Description about the root category (Optional).
    • Aplly avatar for the root category by hit the Choose File to upload an image.
    • Enter the Page Title, Meta Keywords, and Meta Description of the new root for the better SEO.
    • Make the new root category visible if choosing Yes in the Include in Navigation Menu field.
  • After finshing General Information, move to Display Settings tab and choose Yes for the Is Anchor.
  • Click Save Category to use the new root category.

Step 2: Create Subcategories for the New Root Category

  • Look at the left of the setting page, choose the new root category you created appears there to start this step.
  • Click on Add Subcategory.
  • Name for the subcategory in the Name field.
  • Choose Yes in the Is Active field.
  • Click Save Category to complete.
  • Do all again if you need to create other new subcategory.

How to Create a New Root Category Create Subcategory

Step 3: Activate the New Root Category on Your Store

  • On the Admin Panel, Stores > Settings > All Stores.
  • Under Stores, hit the Main Website Store link.
  • In the Root Category, choose the new root category.
  • Click on Save Store on the top right corner to apply the category.

Ref: Magento 2 User Guide



It comes to the end of tutorial: How to Create a New Root Category in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Create a New Root Category in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

$199
18 reviews

Layered Navigation

$149
7 reviews

Store Locator

$199
no review

Shop By Brand

$99
no review

Zoho CRM

$249
no review

FAQ

$149
10 reviews

Better Blog

FREE
7 reviews

Affiliate

$149
7 reviews