After uninstalling: clean up
If you have uninstalled the app without uninstalling the assets first, it's best to follow this procedure. If, at the moment of uninstalling, you did not have any live promotions then this procedure is not mandatory.
Take these steps to remove Discount Ninja's assets from your theme:
- Open your theme.liquid file
- Find the line that includes the "limoniapps-discountninja-header" and remove that line
- At the bottom of the file, find the line that includes the "limoniapps-discountninja-body" and remove that line (only available as of version 2.7)
Why is this necessary? Taking these steps will ensure that visitors of your shop who have an open browser session would still be able to access your promotions (because they are stored in their browser's cache).
Optional further clean up
You can, optionally, uninstall the other assets installed by Discount Ninja. These assets are not loaded if you have removed the "limoniapps-discountninja-header", but you may still want to remove them to reduce the number of assets in your theme.
WARNING: do NOT remove these assets if you have not completed the first step (removing the "limoniapps-discountninja-header" from the theme.liquid). Doing so will result in "error: liquid file not found" messages on your site.
To remove the assets search for "limoniapps-discountninja" and remove all assets that contain this word in their name: