- Apr 4, 2016
So, here is the scenario, you have a custom module that is returning a list of products.
You want to make sure that your using the Products per Page on Grid Default Value from the Magento Admin to stay true to whats normally done.
In order to get this value in your code, here is how to access it:
$limit = Mage::getStoreConfig('catalog/frontend/grid_per_page');