Ecom:Product.RemoveFromList
Version: - stringSummary
Returns a link URL for removing the product from a customer center list (My list).
Settings
The value is generated automatically
Remarks
The value should be assigned to the A href attribute.
Examples
Outputting the template tag
@GetString("Ecom:Product.RemoveFromList")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.RemoveFromList"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product.RemoveFromList");
}
Outputting the template tag
<!--@Ecom:Product.RemoveFromList-->
Check if string has a value
<!--@If Defined(@Ecom:Product.RemoveFromList)-->
Let's output this tag here: <strong><!--@Ecom:Product.RemoveFromList--></strong>
<!--@EndIf(@Ecom:Product.RemoveFromList)-->