# Pull to Refresh

The **Pull To Refresh** feature allows users to refresh their Shopify store pages on native mobile apps by pulling down on the screen. This improves user experience by enabling a seamless way to reload content.

***

### **How to Enable Pull To Refresh in Shopify**

<div align="left"><figure><img src="/files/o1PuNT7ewc0Dzw9iDSkb" alt="" width="304"><figcaption><p>Before</p></figcaption></figure> <figure><img src="/files/D9yV6kvi2kZX6BRSoHC7" alt="" width="303"><figcaption><p>After</p></figcaption></figure></div>

Follow these steps to enable **Pull To Refresh** in your Shopify theme:

1. **Go to Shopify Admin:**
   * Navigate to **Online Store > Themes** in your Shopify admin panel.
2. **Customize Your Theme:**
   * Click **Customize** next to your active theme.
3. **Enable App Embed:**
   * Go to the **App Embeds** section in the theme editor.
   * Look for **Pull To Refresh** and toggle it **ON**.
4. **Save Your Changes:**
   * Click **Save** to apply the settings.

***

### **How It Works**

The Pull To Refresh functionality is powered by the **WebtoNative** JavaScript library. When enabled, the feature detects user gestures and triggers a page reload when the user pulls down on the screen.

***

### **Customization**

* You can toggle the **Enable** checkbox in the theme editor to turn the feature on or off.
* Modify the `pulltorefresh_status` setting in the block schema to **true** by default if you want it enabled automatically.

***

### **Troubleshooting**

| Issue                               | Solution                                                                                          |
| ----------------------------------- | ------------------------------------------------------------------------------------------------- |
| Pull To Refresh not working         | Ensure that the WebtoNative script is loading correctly. Check for console errors in the browser. |
| Feature not appearing in App Embeds | Confirm that the app is installed and enabled under App Embeds.                                   |
| Page refresh not triggered          | Ensure you are using the feature within a WebtoNative-supported app environment.                  |

***

### **Conclusion**

The **Pull To Refresh** feature enhances the Shopify store experience on mobile apps by allowing users to refresh pages with a simple gesture. By following the setup guide, you can easily enable and manage this feature within your Shopify theme.

For further assistance, visit **WebtoNative Support** or contact your Shopify developer.


---

# 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://docs.webtonative.com/shopify/pull-to-refresh.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.
