Ecom:ProductList.Pages[X].Size

Version: - integer  

Summary

Returns the size of the range (3, 5, 7, etc.).

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:ProductList.Pages[X].Size")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:ProductList.Pages[X].Size"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:ProductList.Pages[X].Size"); }

Outputting the template tag

<!--@Ecom:ProductList.Pages[X].Size-->

Check if integer has a value

<!--@If Defined(@Ecom:ProductList.Pages[X].Size)--> Let's output this tag here: <strong><!--@Ecom:ProductList.Pages[X].Size--></strong> <!--@EndIf(@Ecom:ProductList.Pages[X].Size)-->