Skip to main content

How to Enable or Disable the Bundle Script in Live and Unpublished Themes on Shopify

Raunak Rana avatar
Written by Raunak Rana
Updated today

When you publish a bundle for the first time, the bundle script does not activate automatically.

You’ll need to manually enable it in your live theme so customers can see it on your storefront.

After that, you can also choose to turn the script on in any unpublished theme (for testing or design purposes) — or turn it off in the live theme if you don’t want bundles visible there.

Why This Matters

Shopify allows you to control which themes have the app script active.

By managing it correctly, you can:

  • Test bundles safely in unpublished themes before pushing them live.

  • Disable bundles on your live site while keeping them visible in a test theme.

  • Preview layout changes or new theme versions without affecting customers.

Step 1: Understand How the Bundle Script Works

When your first bundle is published:

  • The script has to be activated on the live (main) theme.

  • This allows the bundle to display publicly on your storefront.

You can then:

  • Manually enable the script in any unpublished theme for preview/testing.

  • Optionally disable it in the live theme if you don’t want bundles visible there.

Step 2: Turn On the Script in an Unpublished Theme

If you want to preview your bundles in a draft or unpublished theme:

  • Go to Shopify Admin → Online Store → Themes.

  • Scroll down to the Theme library section.

  • Find the unpublished theme where you want the bundle to appear.

  • Click Customize next to that theme.

  • In the theme editor, click the App embeds icon (stacked squares icon in the left sidebar).

  • Locate your app or bundle script (for example, “Kefi Bundle Script”).

  • Toggle the switch ON.

  • Click Save (top-right corner).

That’s it — the bundle script will now be active in that unpublished theme.

You can Preview the theme to confirm the bundles are displaying correctly.

Step 3: Turn Off the Script in the Live Theme

If you want to hide bundles from your live store while keeping them visible in an unpublished theme:

  1. Go to Online Store → Themes.

  2. In the Current theme section (your live theme), click Customize.

  3. Open the App embeds panel again.

  4. Find your bundle script.

  5. Toggle it OFF.

  6. Click Save.

Now, your bundles will no longer appear on the live storefront — but will remain visible in any unpublished theme where you’ve kept the script enabled.

Step 4: Confirm Everything Works

  • Preview the unpublished theme:
    From the Themes page, click Actions → Preview next to your unpublished theme. Check that your bundles appear correctly.

  • Visit your live store:
    Go to your store URL and verify that the bundles are hidden (if you turned them off there).

Optional: Re-enable the Script on the Live Theme

If you decide later that you want bundles visible on your live storefront again:

  1. Go back to Online Store → Themes → Customize (Live Theme).

  2. Open App embeds.

  3. Toggle your bundle script ON.

  4. Click Save.

Your bundles will now appear live once more.

Troubleshooting Tips

  • If you don’t see your app embed listed, make sure your bundle app is installed and active.

  • Always click Save after toggling the switch — otherwise the change won’t apply.

  • You can have the bundle active in multiple themes at once if needed.

Need Help?

Our support team is here to help you succeed with Kefi:

  • Live Chat: Available directly within the Kefi Bundle Builder app

Did this answer your question?