Categories: Magento 2 Tutorials

How to Add New Category and Product in Magento 2

Magento 2 is one of the best ecommerce platforms in the market. It has a number of great features and options, but I have seen that many newbies face problems in adding categories and products in Magento 2. So this tutorial seeks to solve their problems and help them add those features easily.
This topic is a part of Product Management Series in Magento 2. You can jump on to the other parts here:
In this tutorial, I will cover the following topics:
  • How to Add Categories
  • How to Add Products

Add Categories

Open the admin panel of your store and go to Products → Categories. Now click on Add Subcategory. Now enter the details of your category and select Yes from Enable Category and Include in Menu options. I am using the category name as Mobile. After entering all the details, just click on Save. Your subcategory Mobile has now been created under Default Category. If you want to create your own Root category, then just click on Add Root Category and create it in a similar way. To apply your root category to your Magento 2 store, go to STORES → All Stores. Now click on Main Website Store. Change the Default Category with your own root directory and click on Save Store.

Add Products

Go to Products → Catalog. Now click on Add Product. Enter the details of your product and select your category from its drop-down menu. Note: Make sure your product is in stock and its quantity is defined so that it can be shown on your store. Open your store and you will see your category in the menu bar. Click on the Mobile category. You will see the product that is associated with this category.

Final Words

Adding categories and products is a basic need of any ecommerce store. After following this tutorial, you should now be able to add categories and different products in Magento 2. If you have any confusion or want to add something to the tutorial, use the comment section below and be heard!
Syed Muneeb Ul Hasan

Syed Muneeb Ul Hasan is an expert in PHP and Magento, he prefers to educate users in implementing and learning Magento. When not working, he loves to watch cricket.

View Comments

    • Maybe you have not select Yes from 'Include in Menu' option or you haven't created category under default category. Thanks!

    • This is not a part of the tutorial, however, I will look into your matter and if I find a solution, I will get back to you ASAP. Thanks.

      • I got the soloution. I was using ultimo theme , And In menu options on backend I found it as 'Sidebar' menu. And those who has not this option can use "Sebwite magento-2 side bar menu extension"

Share
Published by
Syed Muneeb Ul Hasan

Recent Posts

Building Employee Trust and Dedication – A Complete Guide

In the highly competitive modern workplace, trust, and employee loyalty are crucial factors for long-term… Read More

3 months ago

12 Winning Strategies for Small Businesses Marketing

In the ever-evolving world of small business developing and implementing effective marketing strategies is critical to… Read More

3 months ago

Top 10 App Development Companies in Dubai 2024

With one of the highest internet penetration rates, the UAE has set out to revolutionize… Read More

3 months ago

Transforming Industries: How Amazons GPT44X is Revolutionizing AI Technology

Artificial Intelligence (AI) has been continually evolving, leading to remarkable advancements in various industries. Among… Read More

8 months ago

Top Magento 2 Extensions for 2023

Extensions, extensions and lots of extensions. We all love extensions, don’t we? After all, extensions… Read More

11 months ago

Unleashing the Power of Software Testing: Cooperating with a Testing Firm

Software quality is crucial to a firm's success across industries in the quickly changing digital… Read More

12 months ago