Developer forum

Forum » Ecommerce - Standard features » Use multiple catalogs on one page

Use multiple catalogs on one page

Remi Muller
Reply

DW: 8.3.0.2

 

Example:

I have a standard ecom catalog with groups and productlists.

 

Below this catalog i want to show a smartsearch group. So i add another catalog configured on a smartsearch.

The problem i am seeing is when the top catalog is being browsed on groups the catalog with the smartsearch is also affected. It want to show products of the selected group instead of the smartsearch.

 

Can i configure a catalog with a smartsearch which does not listen to the groupid's of another catalog?


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Remi

 

On the querystring you can add a PID=123 to the querystring where PID is the ID of the Paragraph with the ecommerce module you want to react.

 

So you have the catalog with Group navigation (ParagraphID=123) and the catalog with a smartsearch (ParagraphID=124) on the same page.

 

The links you create to navigat the Group navigation paragraph should instead of Default.aspx?ID=12&GroupID=23 be Default.aspx?ID=12&GroupID=23&PID=123 - then the paragraph with the smart search will not react on the querystring parameters.

 

Hope this makes sense.

 

BR Nicolai

 
Remi Muller
Reply

To do it properly i need to set the paragraph link in the navigation of the page properties. See attached screenshot.

I can enter a manual string like "Default.aspx?ID=1&PID=23" but this does not work. In the navigation xml the PID is stripped from the url.

 

Currently i use a workaround and add the PID from the xslt. For the time being this is fine but please fix this.

 

 

 

 

dw_ecom_nav_paragraph_link.png

 

You must be logged in to post in the forum