Ecom:Product:Reward.TotalPoints

Version: 9.6.0 double  

Summary

Returns amount of total points reward applied.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDouble("Ecom:Product:Reward.TotalPoints")

Check if tag has a value

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

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:Product:Reward.TotalPoints"); }

Outputting the template tag

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

Check if double has a value

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