[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

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

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:

    magento-display-products-from-the-category-on-the-home-page1

  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"}}
    	

    magento-display-products-from-the-category-on-the-home-page2

  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:

    magento-display-products-from-the-category-on-the-home-page3

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.

Magento. How to display products of specific category on home page, 5.0 out of 5 based on 1 rating
  • Bogdan

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

  • Thanks! it worked for me!!

  • pauls

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

  • Jip van Kakerken

    Thanks for posting this man!

  • Webtech Mani

    Thanks very much…