Jump to content

[SOLVED] Number of orders/clients/messages in backoffice notifications


tehteh

Recommended Posts

Hello,
from version 1.6 Prestashop shows only last 5 orders/clients/messages wehen click (even if there is more than 5) on the icon of backoffice notifications.

post-287863-0-23445100-1467802113_thumb.png

I geuss it was made because of long loding time but it was useful for me.

Is there any way to change it to show all the notifications or at least first one and the last one (not only last 5)?

 

Thank you for your help! :)

Edited by tehteh (see edit history)
Link to comment
Share on other sites

It's the getLastElementsIdsByType function in classes/Notifications.php that gets the last 5 notifications. You'll see the LIMIT 5 on each of the queries. I suggest that you override that function and increase the number 5.

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