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

Show all product on a page
 
vemundeldegard
Jr. Member
 
Total Posts:  13
Joined:  2013-09-26
 

Hi!

I want to show all my product on a specific CMS page, though using a special template. I have created a new template and I choice this in the admin panel. The question is, how can develop a code that shows all products in the template?

 
Magento Community Magento Community
Magento Community
Magento Community
 
kmHelms
Sr. Member
 
Total Posts:  227
Joined:  2012-03-05
 

I’m not certain this will work correctly, but if you have all your products assigned to your root category, as well as their actual product category, you should be able to put the following code in your cms page

{{block type="catalog/product_list" category_id="1" template="catalog/product/list.phtml"}}
With 1 being the id of whatever your root category is. I just tried it on mine and it looks like it works, but pagination didn’t show up for whatever reason, so you might have to play with it. Otherwise, check this thread. http://www.magentocommerce.com/boards/viewthread/5259/
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top