PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

( SOLVED ) Back Office pagination problem

13 replies to this topic
#1
webbusiness23

    PrestaShop Apprentice

  • Members
  • PipPip
  • 141 posts
Hi,

on one of my categories i have 500+ products.

When i go to the BO and i select that category, i can view only the first page of products.
If i click on the small arrow to go to the next page (the green thing from the below picture), i get redirected to the main page of the catalog (with all the categories listed) instead of being redirected to the next page with the products from that category.

What is wrong and how can i solve it?

Attached Files



#2
jhnstcks

    PrestaShop Fanatic

  • Moderators
  • 1913 posts
I have found a workaround for this problem but it involves displaying every product in the category. If you edit the file classes/admintab.php about line 90 you will see the pagination settings for admin. Increase the values so they are higher than your total products in the categoy, close your browser then clear your cache and login again.
Helpful hints and tips to Empower your Prestashop site - Join us on Facebook and get involved, tell us the things that help you.
If you think someone's answer helped, please give him/her a Positive Reputation vote by liking their post.
E-commerce hosting from Scotserve, fast, reliable and affordable.

#3
pokemon3d

    PrestaShop Apprentice

  • Members
  • PipPip
  • 109 posts
Hello,

Solution is here :

http://www.prestasho...ewthread/28222/

It is in French, but basically, you need to edit the file AdminCatalog.php in folder admin/tabs/

replacing the display() function by the display() function you will see into the thread.

Regards
http://www.lemondedesfigurines.fr
version 1.2.4 en production sur 1&1;

#4
webbusiness23

    PrestaShop Apprentice

  • Members
  • PipPip
  • 141 posts

From 1259911683:

I have found a workaround for this problem but it involves displaying every product in the category. If you edit the file classes/admintab.php about line 90 you will see the pagination settings for admin. Increase the values so they are higher than your total products in the categoy, close your browser then clear your cache and login again.


This is indeed a solution i have thought about before you wrote it here, but i considered it to be a not-so-good one. :)

I tried replacing the dispplay() function from the French forum and it worked perfectly.

Thank you for your answers!

#5
sm3004

    PrestaShop Apprentice

  • Members
  • PipPip
  • 107 posts
This is an issue in PrestaShop 1.2.5 as well and the fix on the French site does not work. When changing the code and then clicking on catalog, the entire catalog section is completely missing...

Anyone know how to fix this?

#6
migash

    PrestaShop Newbie

  • Members
  • Pip
  • 18 posts
Please try this file. I have just confirmed that it works for my installation of 1.2.5.

Attached Files



#7
sm3004

    PrestaShop Apprentice

  • Members
  • PipPip
  • 107 posts
Confirmed working! Thanks bud!

From 1265327662:

Please try this file. I have just confirmed that it works for my installation of 1.2.5.


#8
m1k3

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts
Confirmed to work in my 1.2.5.0 installation, thank you very much! :lol:

From 1265327662:

Please try this file. I have just confirmed that it works for my installation of 1.2.5.


#9
belladict

    PrestaShop Apprentice

  • Members
  • PipPip
  • 58 posts
Thanks! It worked for me!

#10
paulo_coxa

    PrestaShop Newbie

  • Members
  • Pip
  • 4 posts
Worked for me too!!!

#11
Mr.E.

    PrestaShop Apprentice

  • Members
  • PipPip
  • 27 posts
SOLVED! But I can;t delete this message.

Quote

I have very smiliar problem when I click on the small arrow.

I get

Quote


Error 503 Service Unavailable
Service Unavailable

Guru Meditation:
XID: 536316535



I also tried that file Admincatlog.php file form the french post but doesn't help.

I'm running version 1.2.5 but I was havind same problem before with the previous version.


#12
Guest__*
  • Guests
I'm currently using the 1.3 version - the latest version - the display fucntion doesnt seem to work for me =\

#13
Mr.E.

    PrestaShop Apprentice

  • Members
  • PipPip
  • 27 posts

From 1274284460:

I have very smiliar problem when I click on the small arrow.

I get

Quote


Error 503 Service Unavailable
Service Unavailable

Guru Meditation:
XID: 536316535



I also tried that file Admincatlog.php file form the french post but doesn't help.

I'm running version 1.2.5 but I was havind same problem before with the previous version.


Excuse me, my problem has been solved for long time, it was a server problem. I couldn't remove my original message but after all it was suitable for this topic.

#14
hurray

    PrestaShop Apprentice

  • Members
  • PipPip
  • 209 posts
I have copied the file. So what it basically does is list all the items on one page. There is no arrow to go to the next page. For the moment it is fine for me but what happens when I start to have more than 300 items under one category? Right now 300 is set as the maximum item to display on one page.