Reputation: 51
I am having issue with Woocommerce product page image. The image of the product page if clicked if opening the image path and does not return to the product page.
Is, there anyway I can open the image as a popup on click or deactivate the clickable image.
Upvotes: 2
Views: 6266
Reputation: 41
I was able to fix this by selecting new woocomerce lightbox 3.0 lightbox as the product image lightbox
This option is under Customize ▸ WooCommerce Product Page ▸ Gallery ▸ product image lightbox
Before this fix, the lightbox option selected was from my activated flatsome theme.
Upvotes: 0
Reputation: 120
Just install a Light box plugin like https://wordpress.org/plugins/responsive-lightbox/ and it should be fine.
Upvotes: 1
Reputation: 817
I’m new to woocommerce but I think that you are refering to is the Lighbox, you need to check first is if your Theme is compatible with Woocommerce 3.0 or what happened before the Image Viewer become incompatible? you update something? you install a new plugin?
Anyway you can do this.
1.-Get Support from the Theme Developer.
If you have a premium theme you can ask the developer about this issue, I’m sure there must be some kind of update or solution they have already,
2.- Add Support to Woocommerce 3.0
Sometimes I see you can add the light box functions manually with this code.
add_action( 'after_setup_theme', 'yourtheme_setup' );
function yourtheme_setup() {
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
}
3.- Use a Plug-In (as a temporary solution).
I don't recommend this because the Woocommerce core has to already have this. But while you search for another solution, you can use this as temporary. (It happened to me already, when a Marketing Business update the woo-core of a Site I was managing, and they didn't fix it, so i have to install a plug-in as a temporary solution because my boss wanted a "fast" solution. that fixed later updating the theme anyway). Anyway, the one i use is this one.
I Hope some of this options can help you with your problem.
Upvotes: 2