Skip to content
webfixed

Guides / Shopify

Leftover app code after uninstalling a Shopify app

By Michael Broadbridge. Last checked 14 November 2026 on Shopify admin, Dawn theme 16.

Short answer

Shopify removes an app’s app blocks, app embeds and script tags when you uninstall it, but code an older app wrote into your theme files stays. Duplicate your theme, use the code editor’s search to find the app’s name, and remove its render tags and snippets together. Ask the developer first, and test the duplicate before publishing.

Symptoms

  • Pages have become slower since apps were installed and removed.
  • The browser console shows errors from files that belong to an app you no longer use.
  • A feature such as the add to cart button stopped working after an app was uninstalled.
  • A page shows a Liquid error saying a snippet could not be found.

Causes, most likely first

  1. The app edited theme files directly

    Older apps added snippets, script or style files in the Assets folder, and a line in a layout or template file to load them. Shopify’s help says some apps add theme code that is not removed automatically when you uninstall them.

  2. Code pasted in by hand

    Some apps asked you to paste code into theme.liquid or a template yourself. Nothing removes that code when the app goes.

  3. A section or Custom Liquid block added for the app

    Sections added to templates such as the product page to hold an app’s code stay in place after the app has gone.

How to fix it

Ask the developer before you edit anything

  1. If the app is still installed, check its App Store listing or help pages for uninstall steps. Shopify suggests asking the developer whether any extra steps are needed.
  2. Find the app and choose Get support to contact its developer.Menu: Settings > Apps
  3. Export any app data you need before uninstalling. Some apps keep data that cannot be recovered afterwards.
  4. If the app has already been uninstalled, ask the developer which files and lines it added. Many will tell you.

Duplicate your theme first

Always work on a copy. Removing the wrong line can break every page of the store, and deleted theme files cannot be recovered. Duplicate the theme again before you delete any file.

  1. Open your themes.Menu: Online Store > Themes
  2. Click the three dot button on your live theme and choose Duplicate. The copy appears as Copy of followed by the theme name.
  3. Make your changes on the copy, not on the live theme. When you have tested it with Preview, publish the copy.

Find the app’s code

A render tag is a line of Liquid, Shopify’s template language, that pulls a snippet into a page. It looks like {% render 'app-name' %}, or {% include 'app-name' %} in older themes. The tag and the snippet need to be removed together. If you delete the snippet but leave the tag, the page shows a Liquid error saying the snippet could not be found.

  1. On the duplicate theme, click the three dot button and choose Edit code.
  2. Click the search icon in the left sidebar of the code editor. Search all files for the app’s name and the developer’s name. Many apps wrap their code in comments that name the app.
  3. Note each match. Snippet files named after the app, render or include tags, script tags and asset files are the usual finds.
  4. Search again for each snippet’s file name to find every tag that loads it. Check theme.liquid in the Layout folder and the files for the pages the app changed, such as the product section or the cart.
  5. Check the Assets folder for script or style files with the app’s name.

Remove it and test

  1. Copy the contents of each file somewhere safe before you change it.
  2. Delete each render or include tag that loads the app’s snippet, along with any script tags and comment lines that belong to the app. Save the file.
  3. When no tags refer to a snippet any more, delete the snippet and the matching asset files.
  4. Click Preview and check the home page, a collection, a product page and the cart. Add a product to the cart.
  5. If a file breaks, open it and use the Timeline view to compare earlier versions. Right click an entry, choose Restore contents, then click Restore.

Files in the Assets folder have no Timeline history, so keep your own copy of any asset file before you change it.

Check app embeds and sections in the theme editor

  1. Open the duplicate theme in the theme editor.
  2. Click the App embeds icon on the sidebar. Apps built with theme app extensions have their blocks removed when they are uninstalled, so leftovers here are rare. Switch off any embed you no longer need.
  3. Open the templates where the app used to appear, such as the product page, and remove any Custom Liquid section or block that was added for it.
  4. Save, then preview the duplicate again.

If that didn’t work

  1. A render tag left after its snippet was deleted

    A Liquid error about a missing snippet means a tag is asking for a file that has gone. Search all files for that snippet’s name and remove the tag, working on a duplicate theme.

  2. The app changed the product form or cart

    If the app changed how prices, variants or the add to cart form work, the original theme code may need to be put back, not only the app code removed.

  3. A script still loads from the app

    Script tags an app added through Shopify are removed automatically when it is uninstalled, and Shopify stops loading script tags on storefronts from 1 March 2027. If the app’s script still loads, it is probably written into a theme file, so search the code for its web address.

When not to touch it

  • You are not sure which app a piece of code belongs to.
  • The code sits inside a conditional block, a section starting with {% if %}, and removing it would leave the opening or closing tag without its partner.
  • The app changed how prices, variants or the add to cart form work. The original theme code may need to be put back, not only the app code removed.
  • The leftover code is causing no errors. Unused snippets that nothing loads are harmless.
  • The app is still installed. Ask its developer first, because many will remove their own code on request.

How to avoid leftovers next time

  • Before uninstalling an app, read its uninstall steps and follow them while the app still has access.
  • Duplicate your theme before installing any app that asks you to edit theme code.
  • Where you have a choice, prefer apps that work through app blocks and app embeds, which Shopify removes on uninstall.

When to get help

Stop if you cannot tell which app a block of code belongs to, if the app replaced part of your product form or cart, or if removing a line on the duplicate causes errors you cannot explain. Those cases need someone who can read Liquid and restore what the theme had before.

What a developer would check

  • Which snippets, asset files and render tags belong to removed apps.
  • Whether an app replaced original theme code in the product form or cart, and what needs restoring.
  • Conditional blocks, so no opening or closing tag is left without its partner.
  • Liquid errors and console errors on the duplicate theme after each removal.

Describe the problem in your own words and WebFixed gives you an instant fixed quote. Nothing is charged until you accept it.

Related questions

Does uninstalling a Shopify app remove its code?
Partly. App blocks and app embeds from theme app extensions, and script tags the app added through Shopify, are removed automatically. Code the app wrote directly into your theme files stays until someone deletes it.
I see a Liquid error about a missing snippet. What does it mean?
A render tag is asking for a snippet file that has been deleted. Search the theme code for that snippet’s name and remove the tag, working on a duplicate theme.
Can I get a deleted theme file back?
No. The code editor’s Timeline can restore earlier versions of a file that still exists, but deleted files cannot be recovered. That is why you work on a duplicate and duplicate again before deleting files.

Written by Michael Broadbridge, Founder of Webgro. First published 21 September 2026. Last checked 14 November 2026 on Shopify admin, Dawn theme 16.