Buckaroo.Amount
Version: - stringSummary
Returns amount of the transaction.
Settings
The value is generated automatically, based on current order amount.
Examples
Outputting the template tag
@GetString("Buckaroo.Amount")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Buckaroo.Amount"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Buckaroo.Amount");
}
Outputting the template tag
<!--@Buckaroo.Amount-->
Check if string has a value
<!--@If Defined(@Buckaroo.Amount)-->
Let's output this tag here: <strong><!--@Buckaroo.Amount--></strong>
<!--@EndIf(@Buckaroo.Amount)-->