A very unusual issue appears in some Shopify stores. If you've ever installed the Avada app in your store, there may be leftover code with a JavaScript error. And it will break all your other plugins (!) until you fix it.
Looking for a neat app that works great and that adds neat functionality into your Shopify store? Try Progressier.
Here is the culprit:
This line of code is supposed to initialize some of your apps differently than others for the Avada app. However, the lightJsExclude
variable is undefined when it's used.
The code stops when it encounters that line of code, and it de facto prevents all your other apps from ever initializing.
How to fix lightJsExclude is not defined
Fortunately, fixing this issue is actually very simple.
Go to your Shopify store dashboard
Under Sales channels in the menu, click on Online store and then Themes.
Click on the [...] button and select Edit code.
Open your theme.liquid file
Now look for the Avada code snippet in the
head
of the code, delete it, and hit Save.You're done!