Ecom:Order.TransactionCardType
Version: - stringSummary
Returns the name of the credit card number that is used for the transaction.
Settings
The value is generated automatically.
Remarks
Not supported by all payment providers.
Examples
Outputting the template tag
@GetString("Ecom:Order.TransactionCardType")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order.TransactionCardType"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Order.TransactionCardType");
}
Outputting the template tag
<!--@Ecom:Order.TransactionCardType-->
Check if string has a value
<!--@If Defined(@Ecom:Order.TransactionCardType)-->
Let's output this tag here: <strong><!--@Ecom:Order.TransactionCardType--></strong>
<!--@EndIf(@Ecom:Order.TransactionCardType)-->