Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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
Solved! Go to the solution
This is an accepted solution.
Hello @Chorus ,
Edit theme.js under snippets
Scroll down to bottom and remove the code which is inside the <script> tag, please check the screenshot.
Still if you have any confusion please let me know.
Regards
Guleria
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 <script> 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 </body> at the bottom. Hope this helps
Best
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 </body> tag.
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hello @Chorus ,
Edit theme.js under snippets
Scroll down to bottom and remove the code which is inside the <script> tag, please check the screenshot.
Still if you have any confusion please let me know.
Regards
Guleria
@Guleria @Dan-From-Ryviu @Shadab_dev thank you all so much - this worked immediately!