Page:Ecom.ProductList.Pages
Summary
The Page:Ecom.ProductList.Pages
loop lets you display various information about the paging for the product list.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Page:Ecom.ProductList.Pages.Page.IsCurrent
Returns True if the page is current page
@GetBoolean("Page:Ecom.ProductList.Pages.Page.IsCurrent")
Page:Ecom.ProductList.Pages.Page.IsEven
Returns True if the page is an even page.
@GetBoolean("Page:Ecom.ProductList.Pages.Page.IsEven")
Page:Ecom.ProductList.Pages.Page.IsFirstPage
Returns True if the page is a first page.
@GetBoolean("Page:Ecom.ProductList.Pages.Page.IsFirstPage")
Page:Ecom.ProductList.Pages.Page.IsFirstPageGlobal
Returns True if the page is a first global page.
@GetBoolean("Page:Ecom.ProductList.Pages.Page.IsFirstPageGlobal")
Page:Ecom.ProductList.Pages.Page.IsLastPage
Returns True if the page is the last page.
@GetBoolean("Page:Ecom.ProductList.Pages.Page.IsLastPage")
Page:Ecom.ProductList.Pages.Page.IsLastPageGlobal
Returns True if the page is the last page global.
@GetBoolean("Page:Ecom.ProductList.Pages.Page.IsLastPageGlobal")
Page:Ecom.ProductList.Pages.Page.IsOdd
Returns True if the page is an odd page.
@GetBoolean("Page:Ecom.ProductList.Pages.Page.IsOdd")
Page:Ecom.ProductList.Pages.Page.Number
Returns the page number (1-based).
@GetInteger("Page:Ecom.ProductList.Pages.Page.Number")
Page:Ecom.ProductList.Pages.Page.Url
Returns the URL to the given page.
@GetString("Page:Ecom.ProductList.Pages.Page.Url")
Page:Ecom.ProductList.Pages.Page.UrlEncoded
Returns the encoded URL to the given page.
@GetString("Page:Ecom.ProductList.Pages.Page.UrlEncoded")
Page:Ecom.ProductList.Pages.Page.UrlHtmlEncoded
Returns the HTML encoded URL to the given page.
@GetString("Page:Ecom.ProductList.Pages.Page.UrlHtmlEncoded")