Calling js function to showVariationImage
-
Hello,
I wish to modify my archive single product page to change the variation image when only clicking on the color (i have color + size).
I have creating the JS event for each color btn but i cannot figure how to access the JS librairy of “Additional Variation Images Gallery for WooCommercey” when on the single product page.
I’ve looked at the source and it seems i need to call the method:
key: ‘showVariationImage’,
value: function showVariationImage(variation)I’ve tried to access this: jQuery(‘.woo-variation-gallery-wrapper’) but i cannot figure how to use it !
I you can help me.
Best regards,
JérémyThe page I need help with: [log in to see the link]
- The topic ‘Calling js function to showVariationImage’ is closed to new replies.