paginate
Information about the pagination inside a set of paginate
tags.
Properties
The total number of items on pages previous to the current page.
For example, if you show 5 items per page and are on page 3, then the value of
is 10.
Limited to 24,999 see Pagination Limits for more information.
The page number of the current page.
Limited to 25,000 see Pagination Limits for more information.
The total number of items to be paginated.
For example, if you paginate a collection of 120 products, then the value of
paginate.items
is 120.Limited to 25,000 see Pagination Limits for more information.
The URL parameter denoting the pagination.
The default value is
page
.If you paginate over an array defined in a setting or a metafield list type, then a unique key is appended to page to allow the paginated list to operate independently from other lists on the page. For example, a paginated list defined in a setting might use the key
.
The total number of pages.
Limited to 25,000 see Pagination Limits for more information.
The pagination parts.
Pagination parts are used to build pagination navigation.
{
"current_offset": 10,
"current_page": 3,
"items": 17,
"next": {},
"page_param": "page",
"page_size": 5,
"pages": 4,
"parts": [],
"previous": {}
}