Hello,
Quite a while ago I asked on this forum about disabling the automatic zoom on WooCommerce product images, and I was told to use the following code:
add_action( ‘after_setup_theme’, ‘remove_woo_features’, 999 );
function remove_woo_features(){
remove_theme_support( ‘wc-product-gallery-zoom’ );
remove_theme_support( ‘wc-product-gallery-lightbox’ );
remove_theme_support( ‘wc-product-gallery-slider’ );
}
It worked great for several years, however now I have some different kinds of products and I would like to use the default WooCommerce gallery features instead. I removed the code from my child theme, but the product image gallery is not working at all. See example:
https://scwfit.com/store/product/jump-ropes/
The image does not zoom, and when I click on the thumbnail images nothing happens.
How can I get the product gallery working properly?
Thanks in advance!