Back to Theme support

Sudden Issues with slideshows, mobile menus and or product variants

We are seeing an issue in older ( Pre 2020 ) theme versions where an external script hosted on a content delivery network has failed to load which can cause an issue with slideshow display, mobile navigation and in some instances issues with variant selection.

We recommend the following 2 steps that should fix this issue.

Step 1:
In your Shopify admin open: Online store > themes > actionsedit code
In the left sidebar click on the layouts folder and click on theme.liquid

​Search within this file for:

<script src=“{{ 'eventemitter3.min.js' | asset_url }}“></script>

If that is not found search for this:

{{ "//unpkg.com/eventemitter3@latest/umd/eventemitter3.min.js" | script_tag }}

or this:

<script src="//unpkg.com/eventemitter3@latest/umd/eventemitter3.min.js"></script>

Replace that line with:

{{ 'eventemitter3.min.js' | asset_url | script_tag }}

​Click save when done

When pasting the above code in you should see eventemitter3.min.js turn red. If it does not re-type the commas either side of this as they can take on strange formatting when pasted into Shopifys code editor. This is how that should appear:

 Step 2:

Download this file to your desktop:
https://www.dropbox.com/s/byn7zwpkpej8c90/eventemitter3.min.js?dl=0

Open the Assets folder in your themes files and upload the downloaded file named: eventemitter3.min.js


This will prevent the issue from happening in future.

 

We recommend to any users that are using theme installations older than 12 months to explore theme updates. For OS 1.0 theme users ( prior to July 2021 ) the update process can take a little time but the results are worth the effort.

We update our themes regularly to ensure the best code practices for performance, optimization and accessibility are on offer to our customers. With new theme sections and features included to bring enhanced content display options for our Shopify merchants.

OS2.0 theme versions update simply from within Shopifys dashboard with minimal disruption and you will receive update notifications within your dashboard informing you of update availability.