> For the complete documentation index, see [llms.txt](https://docs.globo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globo.io/filter/display-in-stock-products-on-top.md).

# Display in-stock products on top

✨Ensuring that in-stock products appear first on your collection pages enhances the shopping experience by highlighting available items. The **Smart Product Filter & Search** app allows you to prioritize in-stock products effortlessly. Follow these steps to set it up:

### ⚡️**1. Access the App Settings**

* From your **Shopify admin**, go to **Apps** → **Smart Product Filter & Search**.

### ⚡️**2. Navigate to General Settings**

* In the app's left sidebar, click on **Settings**.
* Make sure you're on the **General** tab.

### ⚡️**3. Configure the Default Sorting Option**

* Scroll down to the **Sort By** section.
* In the **Default sort products by** dropdown, select **Availability, in-stock first**.

### ⚡️**4. Save Your Changes**

* Click the **Save** button to apply your new sorting preference.

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

By following these steps, your store will display in-stock products at the top, ensuring customers see available items first.

💬 **Need Help?** Contact us at **<contact@globo.io>** – we're happy to assist! 😊


---

# 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:

```
GET https://docs.globo.io/filter/display-in-stock-products-on-top.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.
