Change default number of products in Magento Admin Panel – Catalog – Manage Products page

This is a nice little trick I just learned on how to change the default number of products in your Magento Admin Panel – Catalog – Manage Products page to what ever you want. If you are a Magento eCommerce user you know that on install the default is set to 20 products. If you are like me you have way more products on your site than 20, then this is not ideal.
This is how to change the default to 30, 50, 100, 200.
Go to your “/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php”
or it could be: “/app/code/core/Mage/Adminhtml/Catalog/Product/Grid.php” depending on your version of Magento.
Search the file for a line of code that reads:
parent::__construct();
Once you find it, paste the below code on the line beneath it:
$this->setDefaultLimit(100);
Change the number (e.g.”100″) to either 30, 50, 100, or 200 depending on your preference.
Upload the file to your server.
That’s it!!
I hope this helps.
Shawn
Share Web Design
Thank you very much for sharing this solution, it helps a lot!
No problem!! Let us know if you need help with anything else.
it did not worked for me
Hi Pankaj,
If you give me some more details I may be able to help.
Let me know.
Thanks.
Thanks – awesome tip, the 20 limit was driving me crazy and I would have had no idea where to look to fix this.
Thanks Pete. I am glad this helped. Let us know if you need anything in the future.
Does this also apply the new default number to the Manage Categories > Category Products page? I’m looking to use this (assuming it works) in conjunction with a product positioning “drag and drop” extension to quickly edit product positioning, rather than typing 1 by 1 in text fields.
Sorry, I haven’t tested that. I have mostly been developing in WooCommerce lately so I haven’t been poking around much in Magento.
Thank you for the wonderful tips. It offers store owners to control store features, functions, content and appearance of their online store.So it is most popular in #Ecommerce Website Development. magento developer in india
Works perfectly. So glad I found this…. 20 items is not enough for a big shop!
Thanks – awesome tip, the 20 limit was driving me crazy and I would have had no idea where to look to fix this.