> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-ajax-infinite-scroll-extension/configuration.md).

# Configuration

Once the extension is installed successfully, go to **Stores>Configuration** to configure the extension for use.

<figure><img src="/files/ehNnyBXvRD7VUjrPA13A" alt=""><figcaption></figcaption></figure>

**Configuration**

**Infinite Scroll:** You can Enable the Infinite Scroll Extension from this field.

**Loading Type:** Set the type of loading from the drop-down menu. when setting automatic as the loading type, the page will automatically be loaded on page scroll. alternatively, when setting on button click as the loading type, the page will be further loaded with the click of the button.

**Loading Text:** From this field, you can set a customized text when the page is being loaded.

**Loading Image:** Here, you can set an image that will be displayed when the page is being loaded.

**Page End Text:** In this field, you can set a customized text to be displayed when all the products on the page are loaded.

<figure><img src="/files/RmWbfbgrMIz45pNcqToa" alt=""><figcaption></figcaption></figure>

**Load Next Button**

* **Label For Next Button:** You can set a customized text of the next button from this field.
* **Button Color:** Set the color of the button from this field.
* **Button Background Color:** Set the background color of the button from this field.

**Progressbar**

* **Progressbar Background Color:** Set the background color of the progress bar.

**Back To Top Button**

* **Enabled:** You can Enable the Back to top button from this field.
* **Button Color:** Set the color of the button from this field.
* **Button Background Color:** Set the background color of the button from this field.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.magecomp.com/magento-2-ajax-infinite-scroll-extension/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
