Adding items to the wish list

The items can be added to the shopping cart by calling the page with Wishlist web part with following URL parameter:

- productId - the ID of the product stored in the NodeSKUID database field (in the CMS_Tree table) or SKUID (in the COM_SKU table)

 

It means your link will typically look like this:

 

 

<a href="~/wishlist.aspx?productId=10">Add to wish list</a>

 

 

In the transformations, you can use the following method to display the link to the wish list:

 

 

<%# EcommerceFunctions.GetAddToWishListLink(Eval("NodeSKUID")) %>

 

 

 

 

 

Wish list URL

 

If you use functions like GetAddToWishListLink, the wish list URL is taken from the Site Manager -> Settings -> E-commerce -> Wish list URL value.