Ecom:ProductList.TotalPages

Version: - double  

Summary

Returns the total number of pages in the list.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDouble("Ecom:ProductList.TotalPages")

Check if tag has a value

@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:ProductList.TotalPages"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:ProductList.TotalPages"); }

Outputting the template tag

<!--@Ecom:ProductList.TotalPages-->

Check if double has a value

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