Page:Ecom.ProductList.PrevPage
Version: - stringSummary
Returns the link to the previous page (if it exists) in the following form:
/Default.aspx?ID=1760&GroupID=&PageNum=1
Settings
The value is generated automatically.
Remarks
The tag is rendered when the Product Catalog module is available on the page.
Examples
Outputting the template tag
@GetString("Page:Ecom.ProductList.PrevPage")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Page:Ecom.ProductList.PrevPage"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Page:Ecom.ProductList.PrevPage");
}
Outputting the template tag
<!--@Page:Ecom.ProductList.PrevPage-->
Check if string has a value
<!--@If Defined(@Page:Ecom.ProductList.PrevPage)-->
Let's output this tag here: <strong><!--@Page:Ecom.ProductList.PrevPage--></strong>
<!--@EndIf(@Page:Ecom.ProductList.PrevPage)-->