• Email: [email protected]
  • Dedicated Server Login
  • About
  • 9288041031
  • Knowledge Base
  • Support
India's best web hosting | Ehostpiya India
  • Home
  • Hosting
    Web Hosting Quality Hosting Starting at ₹60/mo
    Cloud VPS Starting at ₹300/mo
    Dedicated Server First Starting at ₹2401/mo
    Reseller Web Hosting Conveniently Starting at ₹421/mo
    Application For Hosting
    • iconWordPress Hosting
    • iconJoomla Hosting
    • iconMagento Hosting
    • iconOpencart Hosting
    • iconPrestashop Hosting
    • iconDrupal Hosting
  • Email
  • Domain
  • SVG
    Contact Us Face any problem contact with us
    SVG
    About Us We are leading hosting company
  • My Account
Web Hosting Blogs by Ehostpiya | Tips and Tricks Web Hosting Blogs by Ehostpiya | Tips and Tricks
Buy Now

Archives

  • October 2026
  • September 2026
  • August 2026
  • October 2023

Categories

  • Control Panels
  • Magento
  • Miscellaneous
  • SEO
  • Technology
  • Trends
  • Web Hosting
  • Wordpress
Facebook Twitter Instagram Pinterest
Home How to Create Product Categories in Magento
ByVandeeta
October 4, 2026

How to Create Product Categories in Magento

Table of Contents

Toggle
  • How to Create Product Categories in Magento
    • What Is a Product Category in Magento?
  • Step 1: Log In to Magento Admin
  • Step 2: Open the Categories Section
  • Step 3: Select the Parent Category
  • Step 4: Enter the Category Name
  • Step 5: Enable the Category
  • Step 6: Configure the Category URL
  • Step 7: Add a Category Description
  • Step 8: Add a Category Image
  • Step 9: Configure Display Settings
      • Display Mode
      • Anchor
  • Step 10: Configure Available Product Listing Settings
  • Step 11: Configure Category Permissions and Store View
  • Step 12: Add Products to the Category
  • Step 13: Create a Subcategory
  • Step 14: Configure Category SEO
      • URL Key
      • Meta Title
      • Meta Keywords
      • Meta Description
  • Step 15: Configure Category Page Layout
  • Step 16: Save the Category
  • Step 17: Check the Category on the Storefront
  • Example Magento Category Structure
  • How to Move a Category in Magento
  • How to Disable a Magento Category
  • Common Magento Category Problems
    • Category Is Not Appearing in the Menu
    • Products Are Not Showing in the Category
    • Category URL Is Not Working
    • Category Changes Are Not Visible
  • Best Practices for Magento Categories
    • 1. Keep the Category Structure Simple
    • 2. Use Descriptive Category Names
    • 3. Avoid Duplicate Categories
    • 4. Use SEO-Friendly URLs
    • 5. Write Unique Category Content
    • 6. Optimize Category Images
    • 7. Test Your Navigation
  • Frequently Asked Questions
    • How do I create a category in Magento 2?
    • Can I create subcategories in Magento?
    • How do I assign products to a Magento category?
    • Can I add an image to a Magento category?
    • Can Magento categories be optimized for SEO?
    • Why are my Magento products not appearing in a category?
  • Conclusion

How to Create Product Categories in Magento

Product categories are an important part of any Magento 2 store. They help organize products into logical groups, making it easier for customers to browse your catalog and find what they need.

For example, an electronics store might use categories such as Laptops, Smartphones, Monitors, and Accessories. Categories can also contain subcategories to create a structured catalog.

Magento allows store administrators to create categories, add subcategories, assign products, configure category display settings, and optimize category pages for search engines.

This guide explains how to create and manage product categories in Magento 2 step by step.

What Is a Product Category in Magento?

A product category is a group used to organize related products in your Magento catalog.

For example:

Electronics
├── Laptops
├── Smartphones
├── Tablets
└── Accessories

The Electronics category is the parent category, while Laptops, Smartphones, Tablets, and Accessories are subcategories.

A well-organized category structure improves both navigation and the overall shopping experience.


Step 1: Log In to Magento Admin

First, log in to your Magento 2 Admin Panel.

Your administrator URL may look similar to:

https://example.com/admin

Enter your administrator credentials to access the dashboard.


Step 2: Open the Categories Section

From the Magento Admin Panel, go to:

Catalog → Categories

Magento will display the category management page.

On the left side, you will see your existing category tree.

Depending on your Magento installation, you may see one or more root categories representing different websites or catalog structures.


Step 3: Select the Parent Category

Before creating a category, decide where it should appear in your catalog structure.

For example, suppose you want to create a Laptops category under Electronics.

Select:

Electronics

Then click:

Add Subcategory

If you want to create a top-level category within the selected catalog root, select the appropriate root category before clicking Add Subcategory.


Step 4: Enter the Category Name

Enter the name of your new category in the Category Name field.

For example:

Laptops

Choose a name that clearly describes the products customers will find inside the category.

Good examples include:

  • Laptops
  • Gaming Laptops
  • Business Laptops
  • Mobile Phones
  • Computer Accessories
  • Men’s Shoes

Avoid unnecessarily complicated category names.


Step 5: Enable the Category

Make sure the category is enabled.

Set:

Enable Category: Yes

If the category is disabled, it may not be displayed on the storefront.

You can temporarily disable a category while preparing its content.


Step 6: Configure the Category URL

Magento can generate a URL key based on the category name.

For example:

Laptops

can become:

laptops

The resulting URL might look similar to:

https://example.com/laptops.html

Use a short and descriptive URL key.

Good example:

gaming-laptops

Avoid unnecessary words, special characters, or excessively long URLs.


Step 7: Add a Category Description

The category description provides information about the products available in that category.

For example:

Explore our collection of laptops for work, gaming, education, and
everyday computing. Compare performance, specifications, and features
to find the right laptop for your needs.

A useful description can help customers understand the category and can also provide additional SEO content.

Keep category descriptions natural and useful rather than filling them with repeated keywords.


Step 8: Add a Category Image

Magento allows you to upload an image for a category.

For example, a Laptops category could use an image showing different types of laptops.

A suitable category image can make category pages more attractive and help customers understand what the category contains.

Use an appropriately sized and optimized image to avoid unnecessary page-loading delays.


Step 9: Configure Display Settings

Magento provides several options for controlling how products and subcategories appear on a category page.

Look for the Display Settings section.

Important settings can include:

Display Mode

Magento can use different display modes, such as:

  • Products Only
  • Static Block Only
  • Static Block and Products

Choose the option that matches your category design.

Anchor

The Anchor setting can enable layered navigation/filtering for the category.

For example, customers may be able to filter products by:

  • Price
  • Brand
  • Color
  • Size
  • Material
  • Rating

The exact filters available depend on your catalog attributes and configuration.


Step 10: Configure Available Product Listing Settings

Depending on your Magento setup, you may see product listing configuration options such as:

  • Available Product Listing Sort By
  • Default Product Listing Sort By
  • Layered Navigation Price Step

For example, you can allow customers to sort products by:

Position
Product Name
Price

Choose sorting options that are useful for your customers.


Step 11: Configure Category Permissions and Store View

If your Magento installation uses multiple websites or store views, verify that the category is configured for the appropriate store.

Magento supports multiple websites, stores, and store views, so category settings can vary depending on your catalog structure.

Make sure the category is assigned to the correct catalog and is visible in the intended storefront.


Step 12: Add Products to the Category

Creating a category does not automatically place products inside it.

To assign products, locate the Products in Category section.

Click:

Add Products to Category

Magento will display products that can be assigned.

Search for the products you want to include.

For example:

Dell Inspiron Laptop
HP Pavilion Laptop
Lenovo ThinkPad
ASUS VivoBook

Select the products and save the category.


Step 13: Create a Subcategory

Magento allows you to create subcategories beneath an existing category.

For example:

Laptops
├── Gaming Laptops
├── Business Laptops
├── Student Laptops
└── 2-in-1 Laptops

To create one, select the parent category and click:

Add Subcategory

Then enter the subcategory details.

For example:

Category Name: Gaming Laptops
URL Key: gaming-laptops
Enable Category: Yes

Save the category when finished.


Step 14: Configure Category SEO

Category pages can attract valuable organic search traffic, so configure their SEO settings carefully.

Open the Search Engine Optimization section.

URL Key

Use a clean URL such as:

gaming-laptops

Meta Title

Example:

Gaming Laptops | High Performance Gaming Computers

Meta Keywords

Modern search engines generally do not rely on the old meta keywords field as a primary ranking factor, so focus your effort on useful titles, descriptions, page content, and product information.

Meta Description

Example:

Shop gaming laptops with powerful processors, dedicated graphics,
fast storage, and high-quality displays for gaming and performance.

Write a unique description for each important category.


Step 15: Configure Category Page Layout

Magento can provide layout-related settings for category pages.

Depending on your theme and Magento configuration, you may be able to control:

  • Layout
  • Page layout
  • Custom layout updates
  • CMS blocks
  • Category content

Avoid adding unnecessary custom code to category pages unless you understand how your Magento theme and layout system work.


Step 16: Save the Category

After completing the configuration, click:

Save

Magento will save the category and update the catalog structure.

If you have made changes to an existing category, you may need to clear or refresh Magento cache before all changes become visible.

You can manage cache from:

System → Cache Management


Step 17: Check the Category on the Storefront

Open your Magento storefront and verify the category.

Check that:

  • The category appears in navigation if intended.
  • The category URL works.
  • The category name is correct.
  • The description is displayed properly.
  • The category image appears.
  • Products are listed correctly.
  • Filters work as expected.
  • Sorting works correctly.
  • The page looks good on mobile devices.

Also click several products to make sure the category-product relationships are correct.


Example Magento Category Structure

A clothing store could organize products like this:

Clothing
├── Men's Clothing
│   ├── Shirts
│   ├── T-Shirts
│   ├── Jeans
│   └── Jackets
│
├── Women's Clothing
│   ├── Dresses
│   ├── Tops
│   ├── Jeans
│   └── Jackets
│
└── Accessories
    ├── Bags
    ├── Belts
    ├── Watches
    └── Sunglasses

This structure makes it easier for customers to navigate the store.


How to Move a Category in Magento

If you need to change the position of a category, open:

Catalog → Categories

Locate the category in the category tree.

Depending on your Magento version and configuration, you can move categories within the category hierarchy using the category tree controls.

For example:

Electronics
├── Laptops
├── Smartphones
└── Accessories

could be reorganized to:

Electronics
├── Smartphones
├── Laptops
└── Accessories

After changing the hierarchy, save the category structure and check the storefront navigation.


How to Disable a Magento Category

If you want to temporarily hide a category:

  1. Go to Catalog → Categories.
  2. Select the category.
  3. Set Enable Category to No.
  4. Save the category.

Disabling a category can be useful when a seasonal collection is no longer available or when you are preparing a new category.


Common Magento Category Problems

Category Is Not Appearing in the Menu

If the category does not appear in navigation, check:

  • Whether the category is enabled.
  • Whether it is assigned to the correct root category.
  • Whether the category is included in the intended store view.
  • Whether the category’s parent hierarchy is correct.
  • Whether your theme has custom navigation settings.

Clear Magento cache after making changes if necessary.


Products Are Not Showing in the Category

Check that the products have actually been assigned to the category.

Also verify:

  • Product status is enabled.
  • Product visibility is appropriate.
  • Product inventory is configured correctly.
  • Product is assigned to the correct website.
  • Catalog indexes are up to date.

Category URL Is Not Working

Check the category’s URL key and ensure that it does not conflict with another URL.

For example:

gaming-laptops

is preferable to an unnecessarily long URL such as:

best-high-performance-gaming-laptops-for-professional-gamers

If URL rewrites have been changed, review Magento’s URL rewrite configuration as well.


Category Changes Are Not Visible

Magento uses caching and indexing to improve performance.

If changes are not immediately visible, check:

System → Cache Management

You can also check indexer status from the Magento command line:

php bin/magento indexer:status

If necessary, reindex the catalog:

php bin/magento indexer:reindex

For cache cleaning:

php bin/magento cache:clean

Avoid repeatedly flushing all caches on a production store unless necessary, as cache flushing can temporarily reduce performance while Magento rebuilds cached content.


Best Practices for Magento Categories

1. Keep the Category Structure Simple

Do not create excessive levels of categories.

A structure that is too deep can make navigation confusing.

2. Use Descriptive Category Names

Use names that customers naturally understand.

For example:

Good:

Gaming Laptops

Less useful:

Category 15

3. Avoid Duplicate Categories

Before creating a new category, check whether an existing category can serve the same purpose.

4. Use SEO-Friendly URLs

Keep category URLs short, descriptive, and readable.

For example:

/laptops/
/gaming-laptops/
/computer-accessories/

5. Write Unique Category Content

Avoid copying the same description across multiple categories.

Each important category should have useful, relevant content.

6. Optimize Category Images

Large, unoptimized category images can slow down storefront pages.

Resize and compress images before uploading them.

7. Test Your Navigation

After creating or reorganizing categories, browse your store as a customer would.

Make sure visitors can reach products in as few steps as reasonably possible.


Frequently Asked Questions

How do I create a category in Magento 2?

Go to Catalog → Categories, select the appropriate parent or root category, click Add Subcategory, enter the category information, and click Save.

Can I create subcategories in Magento?

Yes. Magento supports hierarchical categories, allowing you to create multiple levels of subcategories.

How do I assign products to a Magento category?

Open the category from Catalog → Categories, find the product assignment section, select the products you want to include, and save the category.

Can I add an image to a Magento category?

Yes. Magento supports category images that can be used to visually represent a category.

Can Magento categories be optimized for SEO?

Yes. You can optimize category names, URLs, descriptions, meta titles, meta descriptions, and other page content.

Why are my Magento products not appearing in a category?

Check the product’s category assignment, status, visibility, website assignment, inventory configuration, and Magento indexers.


Conclusion

Creating product categories in Magento 2 is an essential part of organizing an online store. A logical category structure helps customers navigate your catalog, discover products, and move toward checkout more easily.

The basic process is:

Catalog
→ Categories
→ Select Parent Category
→ Add Subcategory
→ Enter Category Details
→ Configure Display Settings
→ Assign Products
→ Configure SEO
→ Save
→ Test the Storefront

By keeping your category hierarchy simple, using descriptive names, assigning products correctly, and optimizing category pages for search engines, you can create a more organized and user-friendly Magento store.

ByVandeeta
Updated October 04, 2026
  • Magento

Read Next

ByVandeeta
October 4, 2026

How to Manage Product Attributes in Magento

How to Manage Product Attributes in Magento Product attributes are an essential part of the Magento 2 catalog…
  • Magento
ByVandeeta
October 4, 2026

How to Import Products in Magento

How to Import Products in Magento Adding products individually can become time-consuming when a Magento store contains hundreds…
  • Magento
ByVandeeta
October 5, 2026

How to Export Products from Magento?

How to Export Products from Magento Exporting products from Magento is useful when you need to create a…
  • Magento

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Explore Categories

  • Control Panels 7
  • Magento 52
  • Miscellaneous 5
  • SEO 17
  • Technology 10
  • Trends 9
  • Web Hosting 7
  • Wordpress 100

Recent Posts

  • How to Fix WordPress “Too Many Redirects”
  • How to Fix WordPress Critical Error
  • How to Fix WordPress Database Connection Error
  • How to Fix WordPress White Screen of Death
  • How to Fix WordPress 404 Error

Recent Comments

  1. Tabias H. on The Future is 5G: Understanding the Next Wave of Connectivity
  2. Elliot Alderson on Evolving Workspaces: The Rise of the Hybrid Work Trend
  3. James Mann on Evolving Workspaces: The Rise of the Hybrid Work Trend
Swyft

Welcome to the Ehostpiya Blog, your trusted resource for web hosting, WordPress, VPS, domains, website security, and online business tips.

Our goal is to make web hosting and website management easier to understand for everyone—from beginners launching their first website to experienced developers and business owners. We publish practical guides, hosting tips, tutorials, and helpful insights to help you build, manage, and grow your website successfully.

At Ehostpiya, we believe that reliable information and quality hosting go hand in hand. Explore our latest articles and discover simple solutions for a faster, safer, and more successful online presence.

  • Facebook
  • Twitter
  • Instagram
  • Pinteres

Featured Posts

  • AI and Ethics: Navigating the Complex Landscape of Artificial Intelligence
    by Vandeeta
    October 11, 2023
  • AR and VR: Blurring the Lines Between Reality and Virtuality
    by Vandeeta
    October 11, 2023
  • Best WordPress Caching Plugins to Improve Website Speed
    by Vandeeta
    September 26, 2026
  • Blockchain Unchained: How Distributed Ledger Technology is Transforming Industries
    by Vandeeta
    October 11, 2023

Web Hosting Discount

cLAIM NOW
logo

Ehostpiya is reliable Web hosting provider, with aim to provide affordable Website and application hosting to various clients for their online business and presence.

Hosting
  • Web Hosting
  • Cloud VPS
  • Reseller Hosting
  • Email Hosting
  • Dedicated Server
  • Nodejs Hosting
  • SSL Certificate
Legal
  • Accepted Uses Policy
  • privacy Policy
  • Terms of Service
  • Refund and cancellation
  • Service Delivery Policy
Company
  • About Us
  • Our Clients
  • Contact Us
  • Our Blog
Support & Tools
  • Open Support Request
  • View Ticket
  • Knowledge Base
  • Report Abuse
  • check nameserver
  • What is my IP
  • Mx lookup

© Ehostpiya, All rights reserved

  • Terms & Condition
  • Privacy Policy