- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's OK, reindexing the site has fixed the issue
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content