cancel
Showing results for 
Search instead for 
Did you mean: 

Can you change the default item view count in magento?

Can you change the default item view count in magento?

Hello all. I was wondering if it was possible to change the default 

"view ## per page" option in magento on the Sales > Orders page.

 

To clarify, what I mean is Magento defaults to only being able to view 20 products at one time, I am hoping for a way to change this permanently to the max option of 200 per page.

 

Thanks, Magento view options.JPG

1 REPLY

Re: Can you change the default item view count in magento?

This could be done by rewriting the following class: https://github.com/OpenMage/magento-mirror/blob/magento-1.9/app/code/core/Mage/Adminhtml/Block/Sales... or copying it into the local code pool.

 

The only change that would need to be made is the addition of:

 

protected $_defaultLimit = 200;
----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!