Ecom:Order:OrderLine.UnitRewardPoints

Version: - double  

Summary

Returns the total number of loyalty points that the customer gets as reward for the orderline per unit.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDouble("Ecom:Order:OrderLine.UnitRewardPoints")

Check if tag has a value

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

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:Order:OrderLine.UnitRewardPoints"); }

Outputting the template tag

<!--@Ecom:Order:OrderLine.UnitRewardPoints-->

Check if double has a value

<!--@If Defined(@Ecom:Order:OrderLine.UnitRewardPoints)--> Let's output this tag here: <strong><!--@Ecom:Order:OrderLine.UnitRewardPoints--></strong> <!--@EndIf(@Ecom:Order:OrderLine.UnitRewardPoints)-->