Remove app code

You can remove the app code from one theme automatically, from all themes automatically, or manually.

The app must be installed to remove code automatically

If the app has been deleted then it can't automatically remove its code because it no longer has access to the theme files.

If you have deleted the app before removing the app code automatically then you will need to remove the app code manually.

Our support team can not remove the app code for you.

The app code will not slow down your shop

The code that the app adds to the theme is rendered server-side and designed to not interfere with any other code on the page, so it won't slow down your shop whether the app is installed or not.

From one theme

To remove the app code from one theme automatically:

  1. Disable tabs in the theme.

From all themes

To remove the app code from all themes automatically:

  1. Disable tabs in all themes.

Manually

To remove the app code manually:

  1. Go to the theme code editor.

  2. Remove the following code from the theme.liquid file and any custom layout files in the theme's Layout folder:

    {% capture stn_app %}{% include 'station-tabs' %}{% endcapture %}{% if stn_app contains 'Station.Apps' %}{{ stn_app }}{% endif %}
  3. Delete the following files from the theme's Snippets folder:

    station-tabs.liquid
    station-tabs-data.liquid
    station-tabs-order.liquid
  4. Remove the following code from each of the theme's product page template files (make sure to remove the corresponding </div> tag as well):

    <div data-station-tabs-app data-station-tabs-product="{{ product.handle }}">

    Note that the code may appear more than once in a file.