Developer forum

Forum » Ecommerce - Standard features » Retrieve Favorite products by User

Retrieve Favorite products by User

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have a solution running on DW 9.9.8 and I have a request to display a small list of Favorite products for the current user. Not an extensive Favorite list, just a widget with 4 of the favorite products of the current user.

I have noticed that Favorites retrieval depends on knowing the Favorite list (I may be mistaken about this).

What I try to do is use the repository query to get the products.

In the query macros I could not find a way to retrieve the products directly so I figured I may need to pass the Favorite List ID(s).

Is there any way I can get the ListIds using the API? From the CurrentExtranetUser?

I see there are some methods available for the Customer experience center but that is available from 9.10.

Any other ideas are welcome.

Thank you,

Adrian

 


Replies

 

You must be logged in to post in the forum