Tech Sharing

Tech Sharing

Advertisement

Magento – How to display products on your home page

By on March 24, 2009

Recently just start to learn on one of the famous e-commerce shopping cart – Magento. But found out that is not as simple as other open source shopping cart such as osCommerce, ZenCart or even Joomla Virtual Mart.


It take me about 1 – 2 days just to find out how to set my default product category at the home page after i found out this video clip. So just copy the video clip here to share with those who are facing this problem as well.



The code to added to your home page

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




Comments

One Response to “Magento – How to display products on your home page”

  1. Its a great idea to open a e-commerce site

Write a Comment

Captcha *

%d bloggers like this: