Magento 1.9 – Change Products Per Page for Individual Categories

categorymagento-1.9products

First and foremost, I know that you can change the default products shown on all category pages for Grid and List views in System > Catalog > Frontend.

What I want to do is change this setting for individual categories. Let's say my default products per page setting is set to 16, I want the ability to specify that an individual category should only show 12 per page instead. My current approach is to create custom list and toolbar templates, essentially re-loading the collection with a custom limit. I have to believe there is a more programatic way to do it but am just at a loss as to what to do.

Best Answer

Assuming that all your default values are set in "Products per Page on Grid Allowed Values" in Admin > system config > Catalog > Catalog > Frontend

Then go to

Admin > Category > Manage Category > {Select your Category} > Custom Design > Custom Layout Update

Add

<reference name="product_list_toolbar">
  <action method="addPagerLimit"><limit>20</limit></action>
  <!--action method="setDefaultGridPerPage"><limit>20</limit></action-->
  <!--action method="setDefaultListPerPage"><limit>20</limit></action-->
</reference>