Magento 1.9 – How to Show Products of a Category on Home Page

home-pagemagento-1.9

I need show product of categry in home page

I test this code

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

but not showing the product of category in home page
thanks

Best Answer

In Magento admin panel go to CMS> Pages>Home page.

{{block  type="catalog/product_list" category_id="4"  template="catalog/product/list.phtml"}}

In case you want to control the number of columns in product listing, please use the following code:

{{block type="catalog/product_list" column_count="4" category_id="4" template="catalog/product/list.phtml"}}

Where the column_count value is the number of columns.

Navigate to System->Permissions->Blocks.

Click on the Add new block button.

Specify your Block Name, which is: catalog/product_list.

And allow the Block using the YES/No Dropdown list

Related Topic