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

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

TheHatGirls
Excursionist
32 0 7

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

Replies 4 (4)

ssdc
Shopify Partner
30 1 4

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.

Shopify Expert based in Indonesia. Visit our website ssdc.co

Ablestar_Daniel
Shopify Partner
132 23 44

Hello,

 

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

 

Screenshot 2024-02-12 at 10.20.27 AM.png

 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 <script>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

 

 

Founder @ Ablestar ✦
Manage product data, spreadsheets, Google Shopping data, and metafields with Ablestar Bulk Product Editor. Use previews, undos, and automations to be confident your product data is correct.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
TheHatGirls
Excursionist
32 0 7
Hi Daniel, I don't see the screenshot you referred to.
Ablestar_Daniel
Shopify Partner
132 23 44

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

Founder @ Ablestar ✦
Manage product data, spreadsheets, Google Shopping data, and metafields with Ablestar Bulk Product Editor. Use previews, undos, and automations to be confident your product data is correct.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!