Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
Category Products in CMS Pages
 
seoguy
Member
 
Total Posts:  46
Joined:  2008-01-25
 

Hi all,

Up until this latest release, I was using the following code to display category products on the cms pages:

{{block type="catalog/product_list" category_id="PLACE THE CORESPONDING CATEGORY NUMBER HERE"}}

With this latest release, it no longer works.

Any ideas what the code should be now?

Thanks

Chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael
Magento Team
 
Total Posts:  416
Joined:  2007-08-31
 

Hi Chris,

The code is almost the same, you just have to specify the template it should use:

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

 
Magento Community Magento Community
Magento Community
Magento Community
 
seoguy
Member
 
Total Posts:  46
Joined:  2008-01-25
 

Hey Michael,

It did the trick thanks!!!!

Chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dave Smith
Jr. Member
 
Avatar
Total Posts:  7
Joined:  2008-02-03
 

Sorry to hijack but I suspect this is similar to a problem I am experiencing. Please see attached images. I have latest Magento installed with all sample data. Product lists are not display products and the product pages are blank. Any help greatly appreciated.

Image Attachments
product_list.jpgproduct.jpg
 Signature 

the now: musicline-ltd.com | the soon to be: musiclinedirect.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
harry12bar
Member
 
Avatar
Total Posts:  62
Joined:  2008-01-07
 

Hi, working ok for me with latest version 0.8.17240.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien