Ecom:Order:OrderLine.Points
Version: - doubleSummary
Returns the price in points for the orderline product.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDouble("Ecom:Order:OrderLine.Points")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:Order:OrderLine.Points"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetDouble("Ecom:Order:OrderLine.Points");
}
Outputting the template tag
<!--@Ecom:Order:OrderLine.Points-->
Check if double has a value
<!--@If Defined(@Ecom:Order:OrderLine.Points)-->
Let's output this tag here: <strong><!--@Ecom:Order:OrderLine.Points--></strong>
<!--@EndIf(@Ecom:Order:OrderLine.Points)-->