WooCommerce has bundled this within the plugin. But it does not zoom when using WooCommerce Additional Variation images. I have posted the issue with WooCommerce because I dont know if its an issue for them, or their plugin developer, or yourself!
Additional Variation images plugin no longer has the large image version in data-src.
So to get it work with WooCommerce I have used getAttribute('data-large_image') and it works.
WooCommerce state its a low priority and not fixing it anytime soon.
I'll have to look into not including in WooCommerce somehow, or just making it unwriteable, so we can continue to have updates util this issue is fixed.
WooCommerce has bundled this within the plugin. But it does not zoom when using WooCommerce Additional Variation images. I have posted the issue with WooCommerce because I dont know if its an issue for them, or their plugin developer, or yourself!
See the issue here https://github.com/woocommerce/woocommerce/issues/21599#issuecomment-431866873
Additional Variation images plugin no longer has the large image version in data-src.
So to get it work with WooCommerce I have used getAttribute('data-large_image') and it works.
WooCommerce state its a low priority and not fixing it anytime soon.
I'll have to look into not including in WooCommerce somehow, or just making it unwriteable, so we can continue to have updates util this issue is fixed.