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

Need Help with Design? 
 
tapebrothers
Sr. Member
 
Total Posts:  96
Joined:  2008-05-14
 

How can i change the number of products displayed in the featured product if i am using a copy of the list.phtml as the template?  with out changing the grid on the category’s pages. I would like to display just 5 products!

Thank you shock

 
Magento Community Magento Community
Magento Community
Magento Community
 
brendanb
Mentor
 
Total Posts:  1093
Joined:  2008-07-16
London, United Kingdom
 

hi,

can you provide the code and i might be able to point you in the right direction

cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
Voot
Sr. Member
 
Total Posts:  261
Joined:  2008-03-20
Long Beach, CA
 

If your basing it off the list.phtml file, then look for the 2 lines below and change the number 3 to whatever numbers you like, in your case 5. This will control how many products will show per row, which I think might answer your question…

<?php if($i++%3==0): ?>

<?php if($i%3==|| $i==$_collectionSize): ?>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top