Developer forum

Forum » Templates » Problem with Paging and multiple product lists

Problem with Paging and multiple product lists

Casper Stenger
Reply

Hi guys!

 

I have an issue on an Ecom website.

 

In the global topmenu, I got a dropdown which always lists a series of products. These should be globally accessible throughout the site.

 

The problem is that I, of course, also have regular product lists, with pagination at the bottom. Whenever I click Next Page, the URL changes to "&PageNum=2", for example. However, this makes the global top menu with the dropdown change to Page 2 also, meaning it´s empty and lists no products whatsoever.

 

I´ve tried adding "&PID=xxxx" to the pagination link, to tell the system that it´s only the current, main product list that should respond to PageNum, but no luck.

 

Is it not possible to have more than one product list and pagination at the same time?

 

Thanks for any help,

Casper 


Replies

 
Nuno Aguiar
Reply

Hi Casper,

 

I am having the same issue. Did you find a solution?

 

Best Regards,

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Nuno

 

If the PID does not work, there is no other way...

 

BR Nicolai

Votes for this answer: 1
 
Nuno Aguiar
Reply

Hi Nicolai,

 

That's too bad. Thanks.

 

I tested it in 8.2.1

 

Would be great if that could be standard for all module developments. That's what we did internally. All modules load the paragraph configuration first, then override with the http request if they exist, except if PID exists and it's not the current paragraph.

 

Best Regards,

Nuno

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Registered as bug TFS#11273 and fixed. Will be out with next SR.

Votes for this answer: 1
 
Nuno Aguiar
Reply

That's perfect, thanks

 

You must be logged in to post in the forum