Wednesday, February 19, 2014

Adding Products on Homepage in Magento

Suppose Anybody Wants to put a category products on home page then here is the Solution:
  • Login to Your Admin panel.
  • then First go to catalog tab --> Manage Category
  • Click on category which you want to show on homepage.
  • just note down the category id which is mentioned on the top as shown below:












  • After that,Go to CMS --> Pages.
  • In that,Click on Home page .then click on content tab on left side.
  • Add this code wherever you want to show a category product on home page using an editor.
  • {{block type="catalog/product_list" category_id="30" template="catalog/product/list.phtml" }}
  • here in my case id is "30". add your category id.Clear the cache.
  • Go to Home page and you will see the particular category products on homepage.

No comments: