How to Create a New Root Category in Magento 2

How to Create New Root Category in Magento 2

Magento 2 serves as a platform to businesses from clothing to machinery, beauty products, tutorials, etc. You name a niche and a Magento developer can create a store for you!

Such capabilities come with flexible and customization capability of the CMS.

Today, I’ll talk about one such feature to create a new root category in Magento 2.

Root categories in Magento 2 acts as a container for the main menu in Magento 2.

You can use this solution when you have multiple stores and want to display different categories as a root category in each store. Magento 2 allows you to do so!

Also, if you are carrying out Magento 2 migration owing to the Magento 1 End of Life on June 30, ’20, you will need this solution to add new root category in Magento 2 store.

Note: I highly recommend migrating to Magento 2 for the sake of the store’s security and performance. You can refer the steps to migrate from Magento 1 to Magento 2.

Steps to Create a New Root Category in Magento 2:

Step 1: Add a root category

    • Login to admin panel
    • Navigate to Catalog > Categories
    • Click Add Root Category
    • Assign category name.
    • Enable the category and include in menu action.
    • Save the configuration.

1_Add-Root-Category

Step 2: Add a subcategory of the new root category

  • Select the newly created Category.
  • With the new Root Category, click Add SubCategory.
  • Assign Name. I’ve given Jacket.
  • Enable the subcategory and include in menu action.
  • Save the configuration.

2_Add-Subcategory

Step 3: Choose the new root category

  • Navigate to Stores > All Stores
  • Click Main Website Store3_Choose-New-Root-Category

 

  • In the Root Category drop-down menu, select the category you’ve created. In my case, it’s Jacket.
  • Click Save Store.
    4_Selection-from-Dropdown

That’s it.

Any doubts in the above steps? If so, please mention them in the Comments section below. I’d be glad to help you out.

Also, do share the post with the Magento community via social media.

Thank you.

Get Weekly Updates

Never miss Magento tips,tricks,tutorials,and news.

Thank you for subscribing.

Something went wrong.

5
(based on 8 Reviews)

Sanjay is a co-founder at Meetanshi. He is a Certified Magento Developer who loves creating Magento E-commerce solutions. Owing to his contributions in Magento Forums and posting solutions, he is among the top 50 contributors of the Magento community in 2019. When he is not engrossed with anything related to Magento, he loves to play cricket.

Leave a reply:

Your email address will not be published.