Hej guys,
In product catalog, when you are listing all products, you fo through loop, of products "var p" so you can generate "Add ToFavorites" url by calling this:
string addToFavorites = p.GetString("Ecom:Product.AddToFavorites")
Now, what if you are in Razor, and you get product instance by:
Dynamicweb.eCommerce.Products.Product prod = Product.GetProductByID(prodID);
// I want to do something like this
string addToFavorites = prod.GetString("Ecom:Product.AddToFavorites");
And than, you need to get the same string addToFavorites, can I somehow pull (.GetString("Ecom:Product.AddToFavorites")) out of product instance?