Changing products per page - Configuring and using PrestaShop - PrestaShop

Jump to content


Changing products per page


Posted 11 August 2012 - 10:31 PM


    PrestaShop Enthusiast

  • Members
  • PipPip
  • 441 Active Posts
Hi all - tried searching Google but couldn't come up with any answers.

I have a 2 column product listing layout. I want my products per page to be in factors of 3.

I have it set to 12 products per page but on the dropdown at the bottom, the other options are 10, 20 and 50.

how do I change these values?

Thanks in advance


Posted 12 August 2012 - 01:10 AM


    PrestaShop Fanatic

  • Ambassadors
  • 2977 Active Posts
Edit File FrontController.php:

public function pagination($nbProducts = 10) (standard)

Edit above and change all instances of numbers in this section to change products displayed per page
and to change drop down list to match.

So if you switch to 12 change the array line to 12,24,58

Also be sure and change the default products per page under preferences/products
Did we help, If so give us a like, it lets others know we can help


Posted 12 August 2012 - 01:12 AM


    PrestaShop Enthusiast

  • Members
  • PipPip
  • 441 Active Posts
That's fantastic thanks very much

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more