If you want to display all product in a page just open the file
app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php
Inside this file, the function that we are interested in is getLimit() beginning around line 723.
change
app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php
Inside this file, the function that we are interested in is getLimit() beginning around line 723.
change
$limit = 'all';
This is a great solution. Thanks. But a word of warning. You should never modify the core files because they'll be overwritten when you upgrade magento and your changes will be lost.
ReplyDeleteYou should follow this solutions when you want to modify core files.http://alanstorm.com/magento_upgrade_rewrite_override
Thanks for the solution but what i have to do if i just want to do it for custom list page which i created for my newsletter section..
ReplyDeleteThanks for the solution but what i have to do if i just want to do it for custom list page which i created for my newsletter section..
ReplyDeletethank you brother. you saved my valuable time !!!!
ReplyDelete