I'm trying to follow this guide:
I followed the instructions exactly and it didn't work at all, so I wrapped the product.liquid code in
And I get an error saying "Uncaught ReferenceError: variantImages is not defined"
I'm using the grid theme from pixel union.
May I know your store URL to see the code you added?
the code I added is exactly what is in the link. by 'wrapped the product.liquid code' i meant I put the contents of the JS for the product.liquid in a function