Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Quick Guide: Category or Products on Home Page or in CMS
 
Mimeya Team
Jr. Member
 
Total Posts:  1
Joined:  2008-09-24
 

Wondering how to a category on the home page (or onto any CMS page, for that matter)?

It’s easy:

Just add the following block of code to the ‘Content’ panel in the CMS page you want the category to appear in (Admin-->CMS-->Manage Pages-->(select the page or create a new page)):

{{block type="catalog/product_list" name="product_list" category_id="7" template="catalog/product/list.phtml"}}

Just change the value listed under category_id="7” to your specific category id.

To find your category_id do the following: navigate in the Admin to Catalog-->Manage Categories, select the category you want the category_id of, and then after the page loads, look at url. The url will look like this:

Examplehttp://www.your_store/index.php/admin/catalog_category/edit/id/2/

And the category_id is there at the end.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top