Dali
Dali

Reputation: 7882

Magento - How to show all products of a category in only one page

I want to show all the products of a category in only one page, without the toolbar pager.

Thanks a lot.

Upvotes: 3

Views: 14882

Answers (2)

Marwen Jelloul
Marwen Jelloul

Reputation: 119

open this file app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php

go to function getLimit() and replace line 745 :

$limit = Mage::getSingleton('catalog/session')->getLimitPage();

by :

$limit = 'all';

it is recomanded to override this function. do must making any changes to Magento Core.

Upvotes: 3

Dali
Dali

Reputation: 7882

I have found the solution in Magento backend,

it's like this :

Configuration > catalog > frontend > Allow All Products per Page > yes ;)

Upvotes: 9

Related Questions