Archived topic
Woocommerce product gallery issue with variants
9 replies · Started by Dani on October 17, 2017
I have a Woocommerce product gallery problem. I remember there was an issue when the big Woo update from 2 to 3 came out and you provided a code to fix it.
Now with the Update to Woo 3.2 I have a new issue. A bit of strange one and I’m not sure whether it’s related to the GP theme or not. I couldn’t find any debug errors yet.
For example, if you look at this product: https://shop.adorablepaws.de/en/product/barrettes/ choose a variant, the variant image shows, but when you want to zoom-in, the main product picture shows. You can however enlarge the correct variant picture. If you then take a look at for example this product: https://shop.adorablepaws.de/en/product/dryup-cape-bathrobe/ choose a variant, it's all working fine.
On my live shop I don’t have your Woo add-on activated and I use Autoptimize and WP Super Cache, which I know can cause problems, but I also have a staging site (not public), where I already tried to disable all plugins, even deleted all Super Cache files via ftp and activated your Woo add-on, but the problem persists.
Do you have any solution?
I didn't test every single product, but I kinda have the feeling, if a product only has a main product image set, this error occurs, if a product also has product gallery images added, it all seems to work fine.
And I found this issue on github, but that's already implemented in Woo 3.2.1 and makes no difference: https://github.com/woocommerce/woocommerce/commit/fa46b7166fa9b34c500efab9c80a898acf6f7f44
Hi there,
Have you checked with WooCommerce support?
It looks like their issue from the Github link?
Not yet, no. I thought it was a similiar problem like with the major update when you provided a fix.
Will contact Woocommerce then.
Thank you.
I'll ask Tom to confirm as well :)
Just posted in the Woo plugin support as well. It's not a major problem, but perhaps there's an easy fix :)
Yea, that sounds WC related. Let us know if not :)
Will do. Thank you both!
It's a Woo problem. Here's the link if you want to follow: https://github.com/woocommerce/woocommerce/issues/17227
Thanks :)