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