Regarding removal of codes after uninstalling apps

Solved
kiwla
New Member
2 0 0

Whenever I install a particular app that app code is directly injected into my theme code and after use of that app i uninstalled the app which ever is not suitable but after unitstalling that app code is not removing from my theme code how to remove that code can anyone give me help on this??

Accepted Solution (1)

Accepted Solutions
Visely-Team
Shopify Partner
1838 210 449

This is an accepted solution.

For now, all you can do is manually cleaning up the affected liquid templates. Usually, app developers would have a help page with instructions on how to remove the app related code.

 

Unfortunately, there is no way for an app developer to do a cleanup upon uninstall as once uninstalled the app no longer has access to your store. So that's a technical limitation of Shopify as a platform, rather than dev ignorance.

 

There is work towards making this a little bit more handy for both the merchant and the app dev through this - https://shopify.dev/tutorials/add-an-app-section-to-your-app - but this is still in dev preview (not live) and is quite limited at the moment of writing this.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog

View solution in original post

Replies 4 (4)
Visely-Team
Shopify Partner
1838 210 449

This is an accepted solution.

For now, all you can do is manually cleaning up the affected liquid templates. Usually, app developers would have a help page with instructions on how to remove the app related code.

 

Unfortunately, there is no way for an app developer to do a cleanup upon uninstall as once uninstalled the app no longer has access to your store. So that's a technical limitation of Shopify as a platform, rather than dev ignorance.

 

There is work towards making this a little bit more handy for both the merchant and the app dev through this - https://shopify.dev/tutorials/add-an-app-section-to-your-app - but this is still in dev preview (not live) and is quite limited at the moment of writing this.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog

View solution in original post

justchillin90
New Member
2 0 0

I Had the Hulk App, and I uninstalled it, not knowing that it would leave code behind.

When I uninstalled, they automatically send out an email with instructions on how to remove

the code. And apparently, it's supposed to be done before uninstalling.

I followed the instructions, and was only able to remove one part of the code. It was a little confusing.

KaterinaB
New Member
2 0 0

Hi and thanks for the answer. 

Do you know, if there is an update on this issue or possible official documentation?

If you know it will really help us to finally implement the option that will benefit users to remove the app code upon uninstall automatically. 

Thanks in advance. 

 

 

travisromine
New Member
1 0 0

I recently had a client uninstall Yotpo, it left some code that caused hidden but likely problematic errors in the Console F12.

I'm reaching out to them through my partner connecting but the client would have been at a dead end on this. Yotpo requires you to have an account to contact their customer service... so after uninstalling it the average user is left holding the bag with hidden errors in the website. 

Any suggestions on removing Yotpo completely?