Hong Salomonsson Posted March 29, 2024 Share Posted March 29, 2024 Hello, The Product list in my back office displaying only 20 items per page, when click to choose the other numbers, the page doesn't react at all. I tried to change default pagination to 300 /classes/controller/AdminController.php /** @var int Default number of results in list per page */ protected $_default_pagination = 300; And even uploade to override folder, but it doen't help. Please can anyone tell me ow to solve this issue? Thank you in advance!! With best regards Hong Salomonsson Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 2, 2024 Share Posted April 2, 2024 Hi, why change the code? When you change the value it's saved in cookie, so when you come back in BO your choice is used. Link to comment Share on other sites More sharing options...
Hong Salomonsson Posted April 2, 2024 Author Share Posted April 2, 2024 Hi, Thank you for your reply. My issue is that even if I have changed the value, in BO it still list only 20 per page. Nothing has changed. With best regards Hong Salomonsson Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 2, 2024 Share Posted April 2, 2024 PS version? Link to comment Share on other sites More sharing options...
Hong Salomonsson Posted April 2, 2024 Author Share Posted April 2, 2024 8.1.5 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 2, 2024 Share Posted April 2, 2024 Should work. Have you overrides of admin controller? Link to comment Share on other sites More sharing options...
Hong Salomonsson Posted April 2, 2024 Author Share Posted April 2, 2024 I add eaxct the same AdminController.php to /override/controllers/admin. I'm not sure if it's correctly override. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 2, 2024 Share Posted April 2, 2024 Delete it, and clear cache Link to comment Share on other sites More sharing options...
Hong Salomonsson Posted April 2, 2024 Author Share Posted April 2, 2024 Very strange. When I delete it, I got Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused." I have to restroe it and the website works again. Must be something wrong here? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted April 2, 2024 Share Posted April 2, 2024 When you delete an override directly you have to delete var/cache/prod or dev Link to comment Share on other sites More sharing options...
Hong Salomonsson Posted April 2, 2024 Author Share Posted April 2, 2024 I'm unable to locate the file in these folders. Sorry, I'm very amateur. Link to comment Share on other sites More sharing options...
justmeagain Posted April 13, 2024 Share Posted April 13, 2024 Delete the whole folder var/cache/prod & var/cache/dev Link to comment Share on other sites More sharing options...
Mediacom87 Posted April 13, 2024 Share Posted April 13, 2024 Hi, to clear your cache manually : https://www.mediacom87.fr/en/faq-how-to-clear-the-cache-manually-on-prestashop-17/ Link to comment Share on other sites More sharing options...
Hong Salomonsson Posted April 13, 2024 Author Share Posted April 13, 2024 Hello, I appreciate your advises. I have deleted those two files (var/cache/prod & var/cache/dev), but the issue remains. This is really very strange. Any more ideas? With best regards Hong Salomonsson Link to comment Share on other sites More sharing options...
AddWeb Solution Posted April 26, 2024 Share Posted April 26, 2024 On 4/14/2024 at 12:25 AM, Hong Salomonsson said: Hello, I appreciate your advises. I have deleted those two files (var/cache/prod & var/cache/dev), but the issue remains. This is really very strange. Any more ideas? With best regards Hong Salomonsson Hi, Kindly enable debug mode in Prestashop to see if any error messages are being generated. Also check that there are no other overrides or custom modules conflicting with the pagination functionality. Thanks! 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