Search icon
  • Help
  • Plugins
  • Shopify
  • Troubleshooting
  • App Theme Extension - Script Migration

App Theme Extension - Script Migration

Shopify changed how apps add their scripts to a theme, moving away from manual edits to the theme code and toward the App Theme Extension.

The previous in-admin migration option is no longer available because the permissions required by the app to manage and remove scripts directly from the admin have been deprecated by Shopify (the relevant script management was phased out starting in 2025).

If your store was set up some time ago, your Doofinder Installation Script may have been added manually inside your theme (for example, in theme.liquid). The Doofinder script is now managed only through the Shopify App Theme Extension, where you enable or disable it.

You might’ve received an email about this if your store still has an old or custom version of the script in your theme.

Stores that still have the old script installed in their theme will now need to remove it manually.

shopify app theme extension.

App Theme Extension

Before anything, you should activate your App Theme Extension following the steps below:

You can also access it by entering the Shopify panel and going to:

/admin/themes/current/editor?context=apps&template=index

From your Shopify Backend you can go to Edit Theme > App embeds (icon on the top bar) > Activate the Doofinder extension as shown below:

shopify app theme extension.
shopify app theme extension.

There, activate the App Theme Extension toggle.

Remove the old script from your theme

To remove the old script injected into the theme:

Step 1

Go to your Online Store > Three dots > Edit code. Open the layout/theme.liquid file and look for a block of content like this:

shopify app theme extension.
liquid
<!--DOOFINDER-SHOPIFY-->
{% if content_for_header contains 'doofinder-installed.js' %}
{% render 'doofinder-script-tag' %}
{% endif %}
<!--/DOOFINDER-SHOPIFY-->

In other words, look for anything contained between:

<!--DOOFINDER-SHOPIFY-->

and

<!--/DOOFINDER-SHOPIFY-->

See:

shopify app theme extension.

Delete both the <!-DOOFINDER-SHOPIFY-> and <!--/DOOFINDER-SHOPIFY--> markers, as well as the content between them.

Step 2

Finally, find the snippets/doofinder-script-tag.liquid file and delete it (the file itself).

shopify app theme extension.

Will my search stop working during this change?

No. Your search and the Doofinder layer keep working while the old script is still in place. This change only affects how the script is loaded going forward.

Why do I see the Doofinder script loaded twice?

This happens when both versions of the script are active at the same time:

  • the old script, still present in your theme (for example, in theme.liquid), and
  • the new script, enabled through the App Theme Extension.

Both load together, so the script appears duplicated. The fix is to keep only the App Theme Extension version and remove the old one from your theme.

How do I fix the duplicated script?

Step 1

If you have followed with the step above “Remove the old script from your theme” correctly:

Make sure the Doofinder script is enabled in the App Theme Extension

  1. In your Shopify admin, open the App Theme Extension for your live theme and locate the Doofinder script toggle.
  2. Turn the Doofinder toggle off.
  3. Click Save.
  4. Turn the Doofinder toggle on again.
  5. Click Save again.

Step 2

Confirm the script now loads only once

Reload your storefront and check that Doofinder loads a single time.

How to check it? Go into your web HTML (source code), right click anywhere on your web > View Source > CTRL + F > search for Doofinder, there should be only one script, similar to:

<script src="https://eu1-config.doofinder.com/2.x/store_id_here.js" async></script>

If only one, then you’re all set!

Last updated: 22/06/2026

Did you find this page helpful?