Display Products With Pagination on Home Page In Magento



Sometimes you want to display the products of the specific categories on the home page with the Magento pagination.

In the old post I have describe DISPLAY PRODUCTS ON HOMEPAGE FROM THE SPECIFIC CATEGORY IN MAGENTO. In this post I am going to describe how you can display the Pagination on the home page with the specific category? It is very simple and you can do it by using the steps below:

Steps 1. Login to the Magento admin panel and navigate to the CMS > Manage Pages and click on the Home page.
Steps 2. Under the “Design” tab(Left Sidebar), Update “Page Layout XML” field with the code given below:

<reference name="content">
	<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
		<action method="setCategoryId"><category_id>103</category_id></action>
	<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
		<block type="page/html_pager" name="product_list_toolbar_pager"/>
	</block>
		<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
	</block>
</reference>

Note : Here in My case the category id is 103, So replace it with your actual category Id

Step 3. Click on the Save buttons and Refresh the cache.

Hope this will be helpfull.

Thanks and enjoy the Magento coding.