Can't show products on Magento 1.9 home page

I am trying to show a list of all products on the Magento 1.9 home page, but all I see is "There are no products matching the selection." I added the following block to CMS> Home Page> Content:

{{block type="catalog/product_list" name="home.catalog.product.list" 
        alias="product_homepage" template="catalog/product/list.phtml"}}

      

Tried adding the following unchanged:

column_count="6" products_count="13"

      

I also fixed the RWD issue described here: Show CATEGORY and its products on Magento homepage

I installed the product Enabled, set a new range from Nov 2010 to Nov 2020 and I reset the cache. The home page still shows:

There are no products matching the selection.

      

Update

Added category_id as suggested, but without changing the result.

{{block type="catalog/product_list" category_id="2" 
        name="home.catalog.product.list" template="catalog/product/list.phtml"}}

      

Here is category 2:

enter image description here

+3


source to share


2 answers


You don't have a category ID in the block. Try adding category_id="ID"

like



{{block type="catalog/product_list" category_id="2" name="home.catalog.product.list" alias="product_homepage" template="catalog/product/list.phtml"}}

      

+1


source


To display all products on the home page, the root category must be set to Is Anchor = yes in the display settings in category management



+2


source







All Articles