How to Create a 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.
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.
Step 3: Choose the new root category
That’s it.Creating table in Magento 2 helps you store and retrieve the data. Not only that, but you can also perform various operations such as insert, update and delete on the table data.
Any doubts about 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.
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
Prev
Role of Meetanshi For Magento Community Contribution During COVID-19 Crisis
How to Set Special Prices for Products in Magento 2
Next