Jump to content

Product list in back office displaying only 20 item per page


Hong Salomonsson

Recommended Posts

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

01.png

Link to comment
Share on other sites

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

  • 2 weeks later...
  • 2 weeks later...
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

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...