Debut theme Image slider Javascript doesn't work

Hi there,

The Javascript for the product image gallery is not working in our shop. It stopped working after we created a few new listings.

You can find an example here: https://brudermaim.com/products/kitchen-sink-stainless-steel-brudermaim-18x16-inch-16-gauge-handcrafted-t304-stainless-steel-undermount-kitchen-sink-zero-radius-single-bowl

Your help is highly appreciated and welcome!!

Thank you.

Hi @buniccorp ,

It is showing error JS not found button add to cart, you just need to re-add button and hide it, it will work fine.

Image: https://i.imgur.com/sZxJNo6.png

Go to sections > product-template.liquid and add code here: https://i.imgur.com/4WjCBlQ.png. Note: the code must be inside the form tag.

Code:


It’s hidden, so you can assure that it won’t affect the current display, everything will work fine.

Hope it is clear to you.

Please mark as a solution if you find my comment helpful. Thanks and good luck!

1 Like

Thank you very much for you help @LitExtension @. The issue is that we don’t want the add to cart button right now as we are using the site as a catálog at this stage

Is it possible to fix this without adding it?

Once again thank you very muc h.

@LitExtension sorry i didn’t note that you already commented on hiding the button.

I tried this but for sure did something wrong as it is still not working?

Would you mind taking a look?

Thank you very much for your help