Ecom:Order.OrderLines.TaxLinesCount
Version: - integerSummary
Returns the count of tax orderlines in the current order.
Settings
The value is generated automatically.
Remarks
If you want to include other orderlines you can use one of the count tags below.
Examples
Outputting the template tag
@GetInteger("Ecom:Order.OrderLines.TaxLinesCount")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:Order.OrderLines.TaxLinesCount"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Ecom:Order.OrderLines.TaxLinesCount");
}
Outputting the template tag
<!--@Ecom:Order.OrderLines.TaxLinesCount-->
Check if integer has a value
<!--@If Defined(@Ecom:Order.OrderLines.TaxLinesCount)-->
Let's output this tag here: <strong><!--@Ecom:Order.OrderLines.TaxLinesCount--></strong>
<!--@EndIf(@Ecom:Order.OrderLines.TaxLinesCount)-->