Ecom:Product:ConditionReward.Percentage

Version: 9.6.0 integer  

Summary

Returns amount of percentage.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:Product:ConditionReward.Percentage")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:Product:ConditionReward.Percentage"); }

Outputting the template tag

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

Check if integer has a value

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