Call Us: +923135419942

Whataspp Live Chat

How to add Products on Magento home page

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 the 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.html”}}

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