# 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="https://2284774530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbwRwUdWG4hlz-Emx-E%2Fuploads%2FMGe2UamG5I5L516NX0VR%2FScreenshot%202024-03-20%20at%201.49.52%E2%80%AFPM.png?alt=media&#x26;token=3d76f067-2e96-49f6-ae6d-7fecdfc0a82a" 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](https://help.productwiz.io/variant-wizard/re-apply-theme-integration "mention")

<div align="center"><figure><img src="https://2284774530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbwRwUdWG4hlz-Emx-E%2Fuploads%2FefEtiMoYE2Ks7qbltlpk%2FScreenshot%202024-03-20%20at%201.51.20%E2%80%AFPM.png?alt=media&#x26;token=383b8859-3936-4e64-9d90-8017bbad9ae8" 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="https://2284774530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbwRwUdWG4hlz-Emx-E%2Fuploads%2FO5wbI9Dy6AehXZFGAyo7%2FScreenshot%202024-03-21%20at%2011.34.04%E2%80%AFAM.png?alt=media&#x26;token=0b564b1f-2d72-4ecd-982f-ea7e9c7a1414" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2284774530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbwRwUdWG4hlz-Emx-E%2Fuploads%2F6rJhHv5eFVI518ul6Rn8%2FScreenshot%202024-03-20%20at%201.54.36%E2%80%AFPM.png?alt=media&#x26;token=9b96be11-94ec-4f5b-aa26-7bdf54b16b00" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2284774530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbwRwUdWG4hlz-Emx-E%2Fuploads%2FMCFsS2Lbcf5bOpvTY4ps%2FScreenshot%202024-03-20%20at%201.55.58%E2%80%AFPM.png?alt=media&#x26;token=caf38099-bbba-4eee-b593-12924ff8cc08" alt=""><figcaption></figcaption></figure>
