How to add Products on Magento home page

How to add Products on Magento home page

Get category ID first

  • Open Magento admin panel and go to Catalog > Manage Categories
  • Select the necessary category and look for the category ID at the top

Create products block

  • In Magento admin panel go to CMS> Pages>Home page
  • Switch to the Content tab and into the html code block paste the following code:

{{block type=”catalog/product_list” category_id=”7″ template=”catalog/product/list.phtml”}}

How to add Products on Magento home page

  • Make sure the category_id=”7″ value matches your category ID. When you are done click the Save button at the top
  • 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=”7″ template=”catalog/product/list.phtml”}}

How to add Products on Magento home page

  • Write where the column_count value is the number of columns
Summary
How to add Products on Magento home page
Article Name
How to add Products on Magento home page
Description
This is very important question for the magento users that How to add Products on Magento home page. We have given the detail here about this question.
Author
Publisher Name
Software Linkers
Publisher Logo