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