Image Changed Then Changes Back - JavaScript Issue?

Discussion in 'HTML & Website Design' started by drinkingsouls, Dec 6, 2018.

  1. #1
    I'm quite stuck with this and would appreciate some help!

    So I have a product setup using Magento (this is not a Magento specific issue) and it displays the gallery thumbnails below it for the different types of this product. When a thumbnail is clicked the main product image changes as I want it to but a second or two later it changes back to the original image. I am almost certain this is a JavaScript issue. It's like an extra onclick event is fired that is not required. I have opened the console but don't believe any of the errors there are related to this issue.

    Take a look at: https://www.design-a-cake.co.uk/photocake-edible-cake-topper-pumpkin-lanterns.html

    p.s I couldn't find a JavaScript forum, apologies if there is one.

    Thank you.
     
    drinkingsouls, Dec 6, 2018 IP