Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MAGENTO - Display sub-category products in root category

Tags:

i havent been able to find the answer for this anywhere but i cant seen to display any of the products on the root categories page from its sub category members. When i click the category from the top navigation i get the sub categories on the left and on the right (main content) “There are no products matching the selection”. Each sub-cat. shows its products though.

In Admin -> Catalog -> Manage Categories each category shows the number of products i.e (4) however its root category displays (0).

Any ideas?

thanks in advance


Solution

Go to Admin -> Catalog -> Manage Categories -> "Select Category" -> Display Settings -> Is Anchor = "Yes"

Then:

Admin -> System -> Index Management -> "Select All" -> "Reindex data" -> "Submit"

Thanks for everyones comments

like image 717
Stevanicus Avatar asked Dec 24 '11 13:12

Stevanicus


People also ask

How do I display Magento two subcategories with an image on a category page?

Assign Static Block to Parent CategoryFind the parent category that you want to show subcategories on, then go to the 'Display Settings' tab. Switch 'Display Mode' to either 'Static block only' or 'Static block and products', then choose your newly create 'Subcategories' block from the 'CMS Block' menu. Then save.

How do I display all subcategories from a specific category in WooCommerce?

Click on Appearance > Customize. Then go to WooCommerce > Product Catalog. Select “show subcategories” from Category Display. Click on Save Changes.

How do I display categories in Magento 2?

Easy Steps to Display Products in Magento 2 Home PageSelect the widget type as 'Catalog Products List' and enter the basic information. In the bottom you can see the conditions to add. Select the option 'Category' and select the category you want to display in home page and click “Insert Widget” button. That's it.


1 Answers

Make sure you set "Is anchor" to "Yes" for your root category.

like image 175
Paul Grigoruta Avatar answered Nov 27 '22 13:11

Paul Grigoruta