pl.sabotinov Posted February 13, 2015 Share Posted February 13, 2015 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 More sharing options...
PascalVG Posted February 14, 2015 Share Posted February 14, 2015 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: 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 1 Link to comment Share on other sites More sharing options...
pl.sabotinov Posted February 14, 2015 Author Share Posted February 14, 2015 Thanks Pascal, i have modified the pagination in the files you have mentioned. The pagination is adjusted with my new options. So i will know where to adjust it also for the future. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now