Ecom:ProductList.Pages[X].EndsWithLastPage

Version: - boolean  

Summary

Returns True if the current range ends with last product.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Ecom:ProductList.Pages[X].EndsWithLastPage")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Ecom:ProductList.Pages[X].EndsWithLastPage"); }

Outputting the template tag

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

Check if boolean has a value

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