Ecom:Product:Reward.Name
Version: 9.6.0 stringSummary
Returns name of reward applied.
Settings
The value is related to reward name set in the definition.
Examples
Outputting the template tag
@GetString("Ecom:Product:Reward.Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Reward.Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product:Reward.Name");
}
Outputting the template tag
<!--@Ecom:Product:Reward.Name-->
Check if string has a value
<!--@If Defined(@Ecom:Product:Reward.Name)-->
Let's output this tag here: <strong><!--@Ecom:Product:Reward.Name--></strong>
<!--@EndIf(@Ecom:Product:Reward.Name)-->