MAGENTO - Display sub-category products in root category

MAGENTO - Display sub-category products in root category

July 23, 2026 · Illustrated author avatarBy Stefan Bogdanescu
MAGENTO - Display sub-category products in root category

MAGENTO: Displaying Sub-Category Products on the Root Category Page

If you’re facing difficulty in displaying products from sub-categories on your Magento root category page, you’re not alone. This is a common issue that can be resolved with some configuration tweaks and index management.

The Problem: Products Not Showing on Root Category

When you click on a top-level category, you want to see the aggregated products from all its children categories (sub-categories). However, the main content area shows an empty message like “There are no products matching the selection.” Even though each sub-category displays its own products correctly.

In the Magento Admin panel, under Catalog -> Manage Categories, every category shows a product count except for the root category, which shows zero even when it has child categories with products.

The Solution: Configuring Display Settings and Reindexing

To solve this issue, you need to make changes in two places:

1. Update Category Display Settings

  • Go to Admin -> Catalog -> Manage Categories.
  • Select the top-level (root) category that is not showing products.
  • Click on “Display Settings” in the left sidebar menu.
  • Set “Is Anchor” to “Yes”.
  • Save your changes.

Why this works: The Is Anchor setting determines if a category should display its own content or aggregate content from child categories. When set to Yes, it tells Magento to display products from sub-categories on the root category page.

2. Reindex Data

  • After updating the Display Settings, go to Admin -> System -> Index Management.
  • Click “Select All” at the top of the list.
  • Click the “Reindex data” button.
  • Click “Submit”.

Why reindexing is important: Magento relies on indexes for fast data retrieval and aggregation. When you make changes like updating category display settings, you need to rebuild these indexes so that Magento can reflect the new configuration.

Conclusion: Displaying Sub-Category Products on Root Category

By following this two-step process—updating your root category’s Is Anchor setting in the Display Settings section and then reindexing data—you should now be able to see aggregated products from all sub-categories on your root category page.

Remember, if you’re still having trouble after these changes, it might indicate a more complex issue with your product setup or catalog structure. In that case, consider consulting Magento documentation or reaching out to Laravel Company, which offers expert Magento development and support services.

Happy e-commerce building!

Catalog Indexing Admin Configuration

Our network