Developer forum

Forum » Rapido » Favorites list - how it is rendered?

Favorites list - how it is rendered?

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have noticed the change in approach for the favorites list.

However, I am as bit confused about how it is rendered. I see the page is the same one as the Product catalog, I see some URL parameters (ListId, ListName) and I see the facets applied. The list does not seem to be rendered based on the query selected in ProductCatalog. It looks like there is some server side logic that renders the list differently when the URL has those parameters.

Is this the case? Or is the index updated when you add a product to favorites? Just like you do when a product is updated in the backend?

It's not critical but I would like to understand how it is implemented and if there are any other "tricks" related to it.

Thank you,

Adrian


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Adrian

Yes, it is just the product list because they are used with 10000 products in it...

It is using a macro to find the products that the user has in the favoritelist, see dump#1

Not sure if there are things in the template that renders differently. Will ask Karsten.

BR Nicolai

Capture.PNG
Votes for this answer: 1
 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Sounds good. 

I have found the changes in the template. There are a few is statements that render something new if the ListId parameter is in the URL.

Thank you very much for the clarification.

Adrian

 

You must be logged in to post in the forum