Ecom:Product:ConditionReward.Id

Version: 9.6.0 string  

Summary

Returns reward ID.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Product:ConditionReward.Id")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product:ConditionReward.Id"); }

Outputting the template tag

<!--@Ecom:Product:ConditionReward.Id-->

Check if string has a value

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