Jump to content

Change backend products per page options.


pl.sabotinov

Recommended Posts

Hello,

 

in the backend in catalog->products i would like to change the products count per page options. I have looked for some time for the tpl file displaying the product list in backend, but couldn't find it. Would you please help me, by pointing me to the tpl or other file, where i can change the display options for the product list. I want to make the options 50/100/300/600 for example insted of 20/50/100/300. Prestashop 1.5.4.1 if it matters.

Link to comment
Share on other sites

The file you are looking for is classes/helper/HelperList.php

 

/** @var array Number of results in list per page (used in select field) */
protected $_pagination = array(20, 50, 100, 300);
 
change into:
protected $_pagination = array(20, 50, 100, 300, 600, 900);
 

or so. Result:

post-455771-0-97277500-1423898487_thumb.png

 

 

 

There are two more files which define pagination size, for front page etc.:

 

in file:

  /classes/controller/AdminController.php

and

  /classes/AdminTab.php

 

Maybe you should change it here as well.

 

Hope this helps,

pascal

 

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...