Ecom:Order.ReceiptShowCount
Version: - integerSummary
Returns the number of times the receipt page has been loaded.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("Ecom:Order.ReceiptShowCount")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:Order.ReceiptShowCount"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Ecom:Order.ReceiptShowCount");
}
Outputting the template tag
<!--@Ecom:Order.ReceiptShowCount-->
Check if integer has a value
<!--@If Defined(@Ecom:Order.ReceiptShowCount)-->
Let's output this tag here: <strong><!--@Ecom:Order.ReceiptShowCount--></strong>
<!--@EndIf(@Ecom:Order.ReceiptShowCount)-->