🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Add New Category and Product in Magento 2

By Sanjay JethvaUpdated on Jul 17, 2025 4 min read

Are you a newbie in Magento 2?

If yes, the article is for you.

Magento 2 is widely used for E-commerce business having impressive features. The platform offers many functionalities to improve the user experience, increase the conversion rate and offer a secure shopping experience.

Magento 2 categories are the building blocks of the catalog and provide ease of navigation to the customers. While Magento 2 products are the heart of an online store. If you have built a new Magento 2 store, the primary step is to add new category and product in Magento 2.

Newcomers in Magento 2 development might get confused with the backend architecture. To make their tasks easier, I’ve come up with the stepwise method to create new category and product in Magento 2.

Steps to add new category and product in Magento 2:

Follow the below method and that’s it!

  • Add New Magento 2 Category:

    • Log in to Admin Panel
    • Go to Catalog > Categories
    • Click “Add Subcategories
    • Enter the details, enable the category and Include in Menu option.
1_Add subcategory
  • Save the configuration.
2_Save
  • Similarly to create the root category, click on “Add Root Category” and follow the same steps.
  • To apply this root category to the store, go to Stores > All Stores.
  • Click “Main Website Store
3_root category
  • Change the Root Category with your created root category from the drop-down menu.
  • Click “Save Store
4_Change default category
  • Add New Magento 2 Product:

    There are multiple product types and here I’m showing the example of a simple product type.

    • Go to Catalog > Products
    • Click “Add Product”
5_Add product button
  • Enter the details of the product and select its category
  • It is essential that the product is in stock and the quantity is defined to be displayed in the frontend.
6_Product Details
  • Save the product
  • It is seen in the frontend as below:
7_Frontend product

That was all about creating Magento 2 products and categories!

Hopefully, the post will help you towards excelling Magento 2 development!

Don’t hesitate to comment down any doubts in the above tutorial. I’d be more than happy to help 🙂

Do rate the post with 5 stars!

Sanjay Jethva Full Image
Article bySanjay 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.