This topic has 7 replies, 2 voices, and was last updated 8 years ago ago by Olga Barlow
Hi
I have purchased the Cloud Zoom plugin for Woocommerce but I cannot seem to get it to work with XStore theme.
In Woocommerce settings the “Enable Lightbox for product images” checkbox cannot be ticked for some reason. In 8Theme Options, Single Product Page, I have tried enabling/disabling the Lightbox but still not able to get Cloud Zoom to work. Any ideas?
Thanks
Ah I spotted this error in the console, which I’m trying to fix
Uncaught TypeError: jQuery(…).prettyPhoto is not a function
I was able to fix this by setting
wp_enqueue_script(‘prettyPhoto’);
wp_enqueue_script(‘prettyPhoto-init’);
in functions.php, but I am not sure if this is the correct thing to do.
I still have the problem where I’m not able to enable the Product Gallery Lightbox in Woocommerce settings, and it seems XStore overrides the Cloud Zoom and uses its own lightbox
OK after some messing about I seem to have got it working. It breaks if you have a Product Gallery associated with the product. It’s fine if there is just one Product Image. Are you aware of this ?
Is there a way to customise the Product Gallery layout ?
Hello,
Our theme works fine with this plugin https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/screenshots/
If you are using any other third-party zoom plugin then some additional customization could be required. Contact plugin author to get it work with our theme.
Regards
Thank you – I swapped to the plugin you suggested and now it works much better.
Hello,
Ok. I’m glad that you sorted out.
Regards
Tagged: cloudzoom, resolve, templates, troubleshoot, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up