2

I read this question and it didn't work for me: Magento - How to display ALL PRODUCTS in the homepage?

It says: "there are no products matching the selection"

I have my product in the root catalog.

This is my product: enter image description here

And the code I'm using is:

{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}
Community
  • 1
  • 1
Loko
  • 6,539
  • 14
  • 50
  • 78
  • have you tried this code `{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="" template="catalog/product/list.phtml"}}` – Mohammad Faisal Oct 21 '14 at 13:38
  • have you assign it to root category? – Ram Sharma Oct 21 '14 at 13:38
  • @MohammadFaisal It still says:"there are no products matching the selection" – Loko Oct 21 '14 at 13:43
  • check this [answer](http://magento.stackexchange.com/a/20996/4426). might be helpful. ([this comment too](http://stackoverflow.com/questions/23894386/simple-homepage-featured-products-listing-in-magento-1-9#comment36790006_23894809)) – Mohammad Faisal Oct 21 '14 at 13:45
  • @MohammadFaisal I'm not getting the error the OP got though. – Loko Oct 21 '14 at 13:48

1 Answers1

1

You missing this sentence from reference. You could also use the same code to drill down into a specific category, by adding the category variable, e.g.

Create one category on admin side and Include in Navigation Menu => No, and select "Category Products" to select all product and Save category.

Remove old code Then use this code {{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="your cat. id previously you created " template="catalog/product/list.phtml"}}

hardik
  • 197
  • 10