Skip to main content
Glama
paginate.md1.91 kB
# Liquid Objects: Paginate Information about the pagination inside a set of [`paginate` tags](/docs/api/liquid/tags/paginate). > **Tip:** Use the [`default_pagination` filter](/docs/api/liquid/filters/default_pagination) to output pagination links. ## Properties ### current_offset **Type:** [number](/docs/api/liquid/basics#number) "The total number of items on pages previous to the current page." For instance, displaying 5 items per page on page 3 yields a value of 10. *Limited to 24,999 (see Pagination Limits for details)* ### current_page **Type:** [number](/docs/api/liquid/basics#number) "The page number of the current page." *Limited to 25,000* ### items **Type:** [number](/docs/api/liquid/basics#number) "The total number of items to be paginated." A collection with 120 products would return 120 as this value. *Limited to 25,000* ### next **Type:** [part](/docs/api/liquid/objects/part) The pagination component for navigating to the following page. ### page_param **Type:** [string](/docs/api/liquid/basics#string) "The URL parameter denoting the pagination." The standard parameter is `page`. Custom keys append to `page` when paginating settings or metafield lists. ### page_size **Type:** [number](/docs/api/liquid/basics#number) "The number of items displayed per page." *Limited to 250* ### pages **Type:** [number](/docs/api/liquid/basics#number) "The total number of pages." *Limited to 25,000* ### parts **Type:** array of [part](/docs/api/liquid/objects/part) "The pagination parts." These components build pagination navigation structures. ### previous **Type:** [part](/docs/api/liquid/objects/part) The pagination component for navigating to the preceding page. ## Example ```json { "current_offset": 10, "current_page": 3, "items": 17, "next": {}, "page_param": "page", "page_size": 5, "pages": 4, "parts": [], "previous": {} } ```

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florinel-chis/shopify-liquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server