Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Design Tip: How to change # of products per page from Default 9, 15, 30…
 
NickL
Sr. Member
 
Avatar
Total Posts:  188
Joined:  2007-08-31
 

Just a tip in case anyone else runs into this issue…

If you need to change the OPTIONS for the # of products showing on your grid/list layout:

Edit Lines 362 .. .  app/code/core/Mage/Catalog/etc/config.xml

That’ll let you change the options from the default 9,15,30 to your own settings. In my case, 12,16,24..

Just a heads up.

 Signature 

nickL ~ i build stuff
Twitter me: twitter.com/ibuildstuff
My Blog: ibuildstuff.wordpress.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Thejosh13
Sr. Member
 
Total Posts:  171
Joined:  2008-06-23
 

Does anyone know if there is a way to get rid of ALL? I can change anything but there doesnt seem to be a way to limit the products per page to just the numbers and not “ALL” ? 
Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
turbo1
Sr. Member
 
Avatar
Total Posts:  115
Joined:  2008-08-19
Los Angeles, CA
 
Thejosh13 - 04 August 2008 03:51 PM

Does anyone know if there is a way to get rid of ALL? I can change anything but there doesnt seem to be a way to limit the products per page to just the numbers and not “ALL” ? 
Thanks

Does anyone know how to do this?  gulp

 Signature 

My contributions: Google Base Data Feed module, Shopping.com Data Feed module

Wanted: Order deletion, RMA support

I’m not here to sell you anything. My help and contributions are always free.

 
Magento Community Magento Community
Magento Community
Magento Community
 
batman
Jr. Member
 
Total Posts:  7
Joined:  2008-07-30
 

In Magento 1.1.6

Edit:

./app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php

Find:
return ($perPageValues + array(’all’=>$this->__(’All’)));

and replace it with:

return ($perPageValues);

NOTE: There are two occurences of this line, one for Grid mode and one for List mode.

Seems to me this sould be obtain from the configuration stored in the database, not hardcoded.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jdorrego
Jr. Member
 
Avatar
Total Posts:  7
Joined:  2008-10-01
Argentina
 
NickL - 03 April 2008 01:14 PM

Just a tip in case anyone else runs into this issue…

If you need to change the OPTIONS for the # of products showing on your grid/list layout:

Edit Lines 362 .. .  app/code/core/Mage/Catalog/etc/config.xml

That’ll let you change the options from the default 9,15,30 to your own settings. In my case, 12,16,24..

I would recomend modifying “app/design/frontend/default/modern/layout/catalog.xml” instead, to avoid touching the core files.

Cheers.

 Signature 

Brandlive Commerce

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53152 users|469 users currently online|107154 forum posts