Version: - integer  


Returns the number of orders per page in the order list.


The value is based on the selection in the Items per page field in the module settings.

(Page > Paragraph > Module tab > Paging > Items per page)


Outputting the template tag


Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:CustomerCenter.Orders.Count"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:CustomerCenter.Orders.Count"); }

Outputting the template tag


Check if integer has a value

<!--@If Defined(@Ecom:CustomerCenter.Orders.Count)--> Let's output this tag here: <strong><!--@Ecom:CustomerCenter.Orders.Count--></strong> <!--@EndIf(@Ecom:CustomerCenter.Orders.Count)-->