Featured templates

Magento. How to display products of specific category on home page

Ray Taylor February 4, 2016
Rating: 4.4. From 18 votes.
Please wait...

This tutorial will show you how to add products of specific category to Magento home page.

Magento. How to display products of specific category on home page

  1. Open Magento admin panel and go to Catalog > Manage Categories.

  2. Select the necessary category and look for the category ID at the top. Remember the category ID value as you’ll need it later:


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

  4. Switch to the Content tab and into the html code block paste the following code:

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


  5. 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.

  6. Navigate to System->Permissions->Blocks.

  7. Click on the Add new block button.

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

  9. And allow the Block using the YES/No Dropdown list:


Feel free to check the detailed video tutorial below:

Magento. How to display products of specific category on home page

If you already have a website dashboard and want a different kind of template, review our Bootstrap Admin Themes.

Best Magento Themes
This entry was posted in Magento Tutorials and tagged cateogry, home, Magento, page, product. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

  • Bogdan

    Thank you for sharing this information! It helped me a lot!

    No votes yet.
    Please wait...
  • Мучжи

    Thanks! it worked for me!!

    No votes yet.
    Please wait...
  • pauls

    It’s the right way to display products on home page.

    No votes yet.
    Please wait...
  • Jip van Kakerken

    Thanks for posting this man!

    No votes yet.
    Please wait...
  • Webtech Mani

    Thanks very much…

    No votes yet.
    Please wait...