Question: How to remove your code on Announcement Bar + Web Push app uninstall?
Solution:
When the Announcement Bar + Web Push app is removed from your store, technically, all codes will be automatically removed from your theme. But there are few liquid codes that you can remove from the store theme after uninstalling the app.
Directions –
1. Go to the Shopify store and click Online Store > Themes > Navigate Actions and Select Edit code.
2. Open theme.liquid file and search for {% render ‘aaa-announcementbar-configuration’ %} text and delete the complete line of code as shown in the below screenshot.
3. Open product.liquid file and search for aaa-announcementbar-configuration.liquid text and delete the highlighted code as shown in the below screenshot.