Developer forum

Forum » CMS - Standard features » Sending PID parameter to sort product list (DW 9.7.4)

Sending PID parameter to sort product list (DW 9.7.4)

Fabio Monte
Reply

Hi

We tried to sort products by sending a paragraph id parameter in the query string but it didn't work. The complete URL was this: https://dev-aci.dw-demo2.com/?pid=638&SortBy=Price&SortOrder=DESC

It would be good to have this flexibility and use a specific paragraph to sort items.


Replies

 
Nicolai Pedersen
Reply

Because you have 2 product lists on the same page? That is really something that should be avoided - you will probably run into several issues...

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

I happen to know we have (and need) 1 Data list and 1 Product catalogue app. The problem presents itself when some query parameters (in this case Sort) is the same for both Apps, causing the Data lists to react unexpectadly.

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum