# Pagination

Palo Alto uses pagination to segment long collection pages and load products as the user scrolls through the page.

<figure><img src="/files/73fKDDdV2LBM6bYNvtJk" alt=""><figcaption></figcaption></figure>

In Shopify, this is referred to as an 'endless scroll', in the theme settings, we refer to it as 'infinity scroll'.

<table><thead><tr><th width="209.36456298828125">Settings</th><th width="108.19708251953125" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enable infinity scroll</td><td align="center"><code>checkbox</code></td><td>When enabled, new content automatically loads as the user scrolls down the page. Applies to <code>Collection</code>, <code>Blog</code>, and <code>Search</code> pages.</td></tr><tr><td>Show scroll to top button</td><td align="center"><code>checkbox</code></td><td>Floating button that scrolls to the top for easier navigation on long pages.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://palo-alto.presidiocreative.com/theme-settings/settings/pagination.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
