Monday , December 11 2017
Home >> All tutorial >> Magento- Display Products on Home Page with Pagination

Magento- Display Products on Home Page with Pagination

If you want to display products on home page of your Magento Store with pagination, then this tutorial is for you. Follow these simple steps to add such functionality in your Magento Store:

  • Go to CMS > Manage Pages and click on the “Home page”.
  • Under the “Design” tab, insert the following code in the “Update Layout XML” field:
  1. <reference name=“content”>
  2. <block type=“catalog/product_list” name=“product_list” template=“catalog/product/list.phtml”>
  3. <action method=“setCategoryId”><category_id>3</category_id></action> 
  4. <block type=“catalog/product_list_toolbar” name=“product_list_toolbar” template=“catalog/product/list/toolbar.phtml”>
  5. <block type=“page/html_pager” name=“product_list_toolbar_pager”/>
  6. </block>
  7. <action method=“setToolbarBlockName”><name>product_list_toolbar</name></action> 
  8. </block> 
  9. </reference>

We also contribute great content of Magento Download for FREE (all versions)

DON'T MISS THE CHANCE!

magento download

About Champ

Leave a Reply

Your email address will not be published. Required fields are marked *

Heap | Mobile and Web Analytics