Remove app code (Legacy)

How to any remove leftover app code

Kyle Weiskopf avatar
Written by Kyle Weiskopf
Updated over a week ago

Remove app code

The easiest way to remove Meteor's code is to use the app's built-in uninstall tool, which automatically uninstalls the code for you. This tool is only available if Meteor is still installed on your store, so if you've uninstalled the app, you can either reinstall it using Shopify's app store (linked here), or you can manually remove the app's code (instructions below).

Automatic Uninstall

  1. Launch the app and click 'Uninstall code' on the left sidebar

  2. Click the red button for 'Confirm Liquid removal'

Note: The process shown above will remove Meteor's code from all of the store's themes.

Manual Uninstall

  1. Use the Shopify admin to open the theme code editor for each theme you had Meteor installed on. You can access the code editor by going to Online Store > Themes > Actions > Edit Code.  

  2. Open layout/theme.liquid  

  3. Find and remove {% include 'meteor-menu', load: 'head' %}, which will be within the head tag

  4. Find and remove {% include 'meteor-menu', load: 'footer' %}, which will be just before the closing </body> tag at the end of the file

    1. Note: This may not be found in layout/theme.liquid. Depending on the version of Meteor that was used when the app was originally installed on the theme, the code for the 'footer' may not exist.  

  5. Make sure to save your changes to the file after removing the code referenced above

  6. Last but not least, delete the following files from the theme:  

  •     snippets/meteor-menu.liquid   

  •     templates/list-collections.meteor.liquid   

  •     assets/meteor-menu.css   

  •     assets/meteor-menu.js   

  •     assets/verify-meteor-menu.js

Did this answer your question?