Why aren't pictures opening on my website?

Hello,

I seemed to have messed my code up.

When a customer clicks a picture on my website , they don’t open or switch to the next one.

My website is www.restobusparts.com

All help is truly appreciated.

Thank you.

Hi @restobusparts ,

I checked and found JS error in foundation.js file.

You can try reloading it and checking everything again. Refer https://get.foundation/sites.html

Hope it helps!

@restobusparts

Do you mean when the user clicks on the product page’s image?

There is a FancyBox jQuery plugin that is being loaded before jQuery has been initialized, so the Javascript is breaking. Although this specific bug is what you have noticed, I believe that other Javascript related functionalities are broken as well, which is concerning.

It’s really not a possible to walkthrough on how to fix this. My suggestion is:

  • Revert all custom code you added;
  • Hire a dev to get it fixed;
  • Reinstall a fresh copy of your theme.

Kind regards,
Diego

Hi @restobusparts ,

Adding apps might save you. Third-party apps will improve your store’s functionality along with the look and feel. Try solving your issue with a third-party app, if the issue still lingers, we would be happy to help you out.

All the Best,

Team CedCommerce.