Hi,
Thanks for reaching out to us. Please try our plugin with any standard theme (like Storefront, Twenty Twenty Five, etc.) and check whether you face the issue or not.
As you developed a custom theme, it is beyond our support scope.
Because we don’t know if your theme was developed by following the WooCommerce standard or not. You can check whether the following code is added within your theme or not-
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
You can also check this link- https://developer.woocommerce.com/docs/theming/theme-development/classic-theme-developer-handbook/#product-gallery-features-zoom-swipe-lightbox
Thank You
Hi @fizanzvai , thanks for the reply.
I did not write the theme, but I’m stuck with it.
Zoom works perfectly if I switch to Storefront. After making certain that theme support is included, it still does not work. I looked over that wc doc, and the custom theme looks up to wc standards, but no joy.
Can there be added css or js that that would prevent the zoom function from working? I know they used css to block the gallery image popup from working, that I found and commented it out.
I spun up a clone, I’ll leave it up for the day
https://tavat-eyewear-a.c.wetopi.com/
I figured it out… the developer used some css to hide both options. Which is strange considering they could have turned them off in the plugin. I can see if they were using the css for different media screens, but they weren’t. Just in case anybody has a use for these…
.woo-variation-gallery-wrapper .woo-variation-gallery-slider-wrapper:after{
content: "";
width: 100%;
height: 100%;
background-color: #bbb;
opacity: 0.1;
position: absolute;
left: 0;
top: 0;
}
.woo-variation-gallery-trigger {
display: none !Important;
}