Categories
< All Topics
Print

How Do I Clean Up My Store After I Uninstall?

While we would love for every store that installs our Wishlist Hero to never have to uninstall it, the unfortunate reality is that stores will sometimes need to do this. And if you do have to uninstall, we’d like to make sure we remove any trace of the app from your store. Ideally, we should handle this as part of our uninstall program but the challenge is that as soon as you uninstall, Shopify removes access for us from your store (for very understandable reasons). And as a result, we don’t really have a way to completely clean up after ourselves. And yes, all Shopify apps have to contend with this same constraint)

Given that challenge, we wanted to make sure that we at least documented the steps you would have to take, to completely remove any traces of the app from your store once you uninstall, and hence this blog post. Here are the steps to follow to ensure that the Wishlist Hero app code is removed completely from your store.

PRE-REQUIREMENT : Open the theme editor by hitting the “Edit code” in the theme where you had wishlist installed

Once you have the theme editor open, just follow the steps

  1. In the layouts folder, remove the WISHLIST_HERO_BKP_theme.liquid file
  2. In the layouts folder, remove this line of code {% render ‘wishlisthero-styles.liquid’ %} from theme.liquid
  3. In the Snippets folder, remove all files that begin with “wishlisthero”. Here are some files that will be there on all installations
  • wishlisthero-custom-button.liquid
  • wishlisthero-header-icon.liquid
  • wishlisthero-collection-product.liquid
  • wishlisthero-styles.liquid

4. If you have had any customizations done on your store, you will have to go remove those as well.

  • Header menu customizations – check for “wishlisthero” in header.liquid and remove the code
  • Collections – Find the liquid file where the items in the collections are rendered and search for “wishlisthero” in the code and remove the button

That should be it – once you follow the steps above, the app should be completely removed. If you are finding through your examination that the app hasn’t been completely removed, just email us.

Previous Hide Wishlist for specific products
Next Place the Wishlist Hero icon in header