Once you uninstall the app Shopify removes our access to your theme code. So there is no way for us to remove our theme code changes. If you have already uninstalled the app see the manual removal instructions below.
Automatic Code Removal
It is recommended and encouraged to perform this before uninstalling the app. To remove all code changes we made to your theme go to Settings and click on "Remove from theme". This will delete the theme files we added and any code snippets we inserted into existing theme code files.
Manual Code Removal
NOTE: These instructions list all possible theme changes. Early versions of Automatic Discounts Pro modified more files. If you installed after November 4, 2021, you will only have the 2 files in bold.
If you have already uninstalled the app, or wish to manually remove the app code from your theme, start by removing the code snippet in Layout/theme.liquid. The code snippet will start and end with liquid comments containing "SC ADP" and look something like this:
{% comment %} SC ADP [v1] {% endcomment %}<br>{% include 'adp_init' %}<br>{% include 'adp_css_variables' %}<br>{% comment %} SC ADP END {% endcomment %}
Next and finally delete all of the following files (some may not exist):
- Templates/cart.adp.json.liquid
- Templates/index.adp-colors.json.liquid
- Snippets/adp_css_variables.liquid
- Snippets/adp_init.liquid
- Assets/adp_main.css
- Assets/adp_main.js