Leftover code from uninstalled app - how do I remove it from my website?

Hello! I have used a third-party shopify app (called Bold Upsell) in the past and have recently removed/uninstalled it from my website. When I ran Google Lighthouse on my website URL, my dad (software developer) was able to tell me that it seemed that app’s (Bold Upsell) code is still floating around and causing my site to slow down (from what he can see). Does anyone have any insight on how to remove this specific code without affecting the rest of my website?

Thank you…

website URL: thehatgirls.com

1 Like

You will need to check the code editor. Usually it’s on the theme.liquid file, try to look / search for bold upsell and delete any lines that seems relevant to it.

Hello,

Looking at the HTML for TheHatGirls I do see some left over code from Bold Upsells in there:

Here’s what I would do to remove it:

  1. Go to https://admin.shopify.com/store/the-hat-girls1/themes/ and download a copy of your current theme so you have a backup in case anything goes wrong
  2. Go to https://admin.shopify.com/store/the-hat-girls1/themes/current which will show you the code of your current theme. If the theme.liquid file isn’t already open, open it from the left-hand menu
  3. Delete the code, starting with line that starts with window.BOLD = window.BOLD || {}; through to those <link lines that you see in the screenshot above
  4. Save the changes and the code should be gone.

If you’re having trouble figuring out exactly what code to delete (it won’t look exactly like the screeenshot above) you can send me a message with your theme.liquid file and I can remove it for you and send it back.

Best,

Daniel

Hi Daniel, I don’t see the screenshot you referred to.

Hm.. that’s odd, it must be something with the forums. If you wouldn’t mind sharing your theme.liquid file with me I can show you the exact lines to remove.

Best,

Daniel