Getting product URL

Top  Previous  Next

You might need to get the URL of the document the given product (specified by its SKUID) is assigned to. For this, you need to insert the GetProductUrl method with the following syntax into the transformation.

 

<%# EcommerceFunctions.GetProductUrl(Eval("SKUID")) %>

 

Knowing product URL can be useful when you work with specific web parts such as product datalist which is using the e-commerce product (SKU) properties to display products instead of the standard CMS documents.