Skip to main content

How to Install Back in Stock Alerts on your Shopify Dev Theme

Updated over 2 months ago

When the Swym Back in Stock Alerts app is installed on your store, it is installed on the default live theme. At times, your current theme might not be suitable for the needs of your store or fit its visual presentation, and you may wish to install the Back in Stock Alerts on an unpublished theme. You might want to make modifications to your unpublished theme and validate them before publishing them to the live store.

Enabling Swym Back in Stock Alerts on Development or Unpublished themes

If installed after 18th July 2023 (only for Shopify stores)

  1. Navigate to the Themes page in the store's Shopify admin portal.

  2. Click 'Customize' next to the development theme you want to use to install or test the app.

  3. In the left-hand menu, navigate to the 'App Embeds' section, toggle on the 'SBiSA' app embed block, and click 'Save'.

It’s as simple as that!

If installed before 18th July 2023

If you’ve installed our app before 18th July 2023, you can enable Swym Back in Stock Alerts on development themes by creating a snippet file as part of the development theme.

  1. For your development theme, open the theme code editor.

  2. Add the following code to the theme.liquid file. We recommend you add it right before the closing </body> tag.

    {% render 'swymSnippet' %}

  3. On your dev theme, create a new snippet. You can do this by clicking on the ‘Add new snippet’ option under Snippets. Name the snippet ‘swymSnippet.liquid’ and click on Done.

  4. Now your “swymSnippet.liquid” file is created, and it will open an empty file on the editor. You must now copy the content of the snippet from the Current/Production theme onto the Dev theme.

    1. Go to your Current theme/Production theme tab on the browser that you previously opened.

    2. On the search tab, look for “snippets/swymSnippet.liquid” and open it.

    3. Select all the contents of the file and copy it.

    4. Go back to the browser tab with the Dev theme/Unpublished theme.

    5. Paste the contents you just copied into this blank file.

You are done! Swym Back in Stock Alerts should now be enabled on the Development theme. You can preview the unpublished theme to make sure all settings and layouts are as desired before going live.

Need further assistance?

You can always reach out to us at [email protected].

If you're already on our messenger, simply say "talk to an agent," and Fin will connect you with a member of our team who can provide further assistance.

Did this answer your question?