Why aren't our images loading and our javascript FAQ & product descriptions are broken?

Hi, all of a sudden (about a week or two ago) several things broke on our Shopify site all at once:

-the images in our impulse theme hero slideshow stopped loading

-many other site images stopped loading (product images are still there)

-lots of javascript (product description drop-downs, FAQ drop-downs) stopped working.

Can anyone help us troubleshoot this? Website is https://chorusforlife.com

thank you

So i am not sure if this is the real issue but i see a mistake. I theme.js file at around line 8321 or at the very bottom you have a added some js code inside script tags. But Putting an HTML tag inside a .js file will result in a syntax error when the file is loaded by the browser and that’s what you are getting here.

You should try transferring this entire code to by entire i mean from line 8321 to 8340 to theme.liquid file just before closing body tag at the bottom. Hope this helps

Best

1 Like

Go to your store admin > Sales channels > Online Store > Themes > click “…” in Current theme > Edit code > open theme.js, move this code (remove the code from theme.js) below to theme.liquid file above tag.

1 Like

Hello @Chorus ,

Edit theme.js under snippets

Scroll down to bottom and remove the code which is inside the tag, please check the screenshot.

Still if you have any confusion please let me know.

Regards
Guleria

1 Like

@Guleria @Dan-From-Ryviu @Shadab_dev thank you all so much - this worked immediately!

1 Like