Ecom:ProductList.NextPage

Version: - string  

Summary

Returns the link to the next product (if it exists) in the following form:

/Default.aspx?ID=1760&GroupID=&PageNum=2

Settings

The value is generated automatically.

Remarks

Returns " style="display:none;"  if there is no next page.

Examples

Outputting the template tag

@GetString("Ecom:ProductList.NextPage")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:ProductList.NextPage"); }

Outputting the template tag

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

Check if string has a value

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