Ecom:Product:Reward.Type

Version: 9.6.0 string  

Summary

Returns type of reward applied.

Settings

The value depends on an option set in reward definition. Can be 'Fixed' or 'Percentage'

Examples

Outputting the template tag

@GetString("Ecom:Product:Reward.Type")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Reward.Type"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product:Reward.Type"); }

Outputting the template tag

<!--@Ecom:Product:Reward.Type-->

Check if string has a value

<!--@If Defined(@Ecom:Product:Reward.Type)--> Let's output this tag here: <strong><!--@Ecom:Product:Reward.Type--></strong> <!--@EndIf(@Ecom:Product:Reward.Type)-->