cancel
Showing results for 
Search instead for 
Did you mean: 

Product category not showing in product list

SOLVED

Product category not showing in product list

Hi. 

I'm trying to get a set of products to show as 'Featured' on the home in a block. Steps I have taken.

1. Created a new category called 'Featured' It's a sub category of the default root category

2. Added four products to this category. (they are in other categories too, their specific product category.)

3. Created a block with the following code: 

{{block class="Magento\Catalog\Block\Product\ListProduct" template="product/list.phtml"
category_id="153"
}}

4. The category id is taken from the end of the category link url

5. Added the block to the page and flushed the cache.

6. I get the message on the page saying: "We can't find products matching the selection."

7. I change the category id to one of the other sub categories and the products display.

8. I tried the same by creating a new root category, with the same results. 

 

The category is enabled but not included in the menu

Any help appreciated

Ken

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Product category not showing in product list

It's OK, reindexing the site has fixed the issue

View solution in original post

1 REPLY 1

Re: Product category not showing in product list

It's OK, reindexing the site has fixed the issue