# Manually disabling the insertGalleryPlaceholder function

1. Navigate to your published theme, click the **"more"** button to access the drop-down menu, and choose **Edit Code**.

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

2. In the code editor, use the search function on the top left to find `productwiz-rio.liquid` under the **Snippets** section. If this file is absent, your installation uses app embeds; thus, disregard these steps and re-apply the app’s theme integration by following this link: [Re-apply Theme Integration](/variant-wizard/re-apply-theme-integration.md)

<div align="center"><figure><img src="/files/32uWwnBhaVpRNeWaGRZF" alt="" width="188"><figcaption></figcaption></figure></div>

3. Open `productwiz-rio.liquid`. Use Ctrl+F (or Cmd+F on Mac) to find **`function insertGalleryPlaceholder`**. If it's not found, no further action is needed.

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

3. If the function is present, insert `insertGalleryPlaceholder = () => {};` on a new line directly below it.

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

4. Save your changes by clicking the **Save** button at the top right.

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


---

# 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://help.productwiz.io/variant-wizard/manually-disabling-the-insertgalleryplaceholder-function.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.
