{"id":1094,"date":"2020-06-29T05:41:43","date_gmt":"2020-06-29T05:41:43","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/06\/29\/create-new-root-category-in-magento-2\/"},"modified":"2025-05-22T12:40:20","modified_gmt":"2025-05-22T07:10:20","slug":"create-new-root-category-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/create-new-root-category-in-magento-2\/","title":{"rendered":"How to Create a New Root Category in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Such capabilities come with flexible and customization capability of the CMS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Today, I\u2019ll talk about one such feature to&nbsp;<em><strong>create a new root category in Magento 2<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Root categories in Magento 2 acts as a container for the main menu in Magento 2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, if you are carrying out&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-migration-service.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 migration<\/a>&nbsp;owing to the&nbsp;<a href=\"https:\/\/business.adobe.com\/products\/magento\/magento-commerce.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 1 End of Life<\/a>&nbsp;on June 30, \u201920, you will need this solution to add new root category in Magento 2 store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: I highly recommend migrating to Magento 2 for the sake of the store\u2019s security and performance. You can refer the steps to&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/migrate-from-magento-1-to-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">migrate from Magento 1 to Magento 2<\/a>.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Create a New Root Category in Magento 2:<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Add a root category<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to&nbsp;<strong>admin panel<\/strong><\/li>\n\n\n\n<li>Navigate to&nbsp;<strong>Catalog &gt; Categories<\/strong><\/li>\n\n\n\n<li>Click&nbsp;<strong>Add Root Category<\/strong><\/li>\n\n\n\n<li>Assign&nbsp;<strong>category name<\/strong>.<\/li>\n\n\n\n<li>Enable the&nbsp;<strong>category<\/strong>&nbsp;and&nbsp;<strong>include in menu<\/strong>&nbsp;action.<\/li>\n\n\n\n<li><strong>Save<\/strong>&nbsp;the configuration.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/11\/1_Add-Root-Category-1024x457.png\" alt=\"1_Add-Root-Category\" class=\"wp-image-3743\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Add a subcategory of the new root category<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the newly created Category.<\/li>\n\n\n\n<li>With the new&nbsp;<strong>Root Category<\/strong>, click&nbsp;<strong>Add SubCategory<\/strong>.<\/li>\n\n\n\n<li>Assign&nbsp;<strong>Name.<\/strong>&nbsp;I\u2019ve given&nbsp;<em>Jacket<\/em>.<\/li>\n\n\n\n<li>Enable the<strong>&nbsp;subcategory<\/strong>&nbsp;and&nbsp;<strong>include in menu&nbsp;<\/strong>action.<\/li>\n\n\n\n<li><strong>Save&nbsp;<\/strong>the configuration.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/11\/2_Add-Subcategory.png\" alt=\"2_Add-Subcategory\" class=\"wp-image-3744\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Choose the new root category<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to Stores &gt; All Stores<\/li>\n\n\n\n<li>Click&nbsp;<strong>Main Website Store<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/11\/3_Choose-New-Root-Category.png\" alt=\"3_Choose-New-Root-Category\" class=\"wp-image-3745\"\/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the&nbsp;<strong>Root Category<\/strong>&nbsp;drop-down menu, select the category you\u2019ve created. In my case, it\u2019s Jacket.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Save Store<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/11\/4_Selection-from-Dropdown.png\" alt=\"4_Selection-from-Dropdown\" class=\"wp-image-3746\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<a href=\"https:\/\/meetanshi.com\/blog\/magento-2-create-table\/\">Creating table in Magento 2<\/a>&nbsp;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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also refer to the video tutorial to Create a New Root Category in Magento 2 from our&nbsp;<a href=\"https:\/\/www.youtube.com\/playlist?list=PLBTOxSAJzwEjM5MilmEqj98Ib80tKBu7r\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 video tutorial<\/a>&nbsp;series:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Create a New Root Category in Magento 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/RhTBJNkoaqQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also, do share the post with the Magento community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1094","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1094"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1094\/revisions"}],"predecessor-version":[{"id":14823,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1094\/revisions\/14823"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}