Disable WooCommerce 3.+ Zoom
Posted on
This might be outdated!
In WooCommerce 3.+ there’s a cool new feature: the zoom!
When you (h)over a product image when you’re on the single product page, you can zoom on the product images; I love this feature, however, some people would like to remove it. To do so, simply paste this snippet into your functions.php file, within the theme folder:
About the author
Related Posts
3 comments
Leave a Reply
You must be logged in to post a comment.
Hi Remi! Thanks for this post. I did add that code but didn’t work for me. I’m using Divi theme. Any suggestion?
Search for:
// Add support for WooCommerce
add_theme_support( ‘woocommerce’ );
add_theme_support( ‘wc-product-gallery-zoom’ );
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );
in functions.php of your theme.
Disable it with
//add_theme_support( ‘wc-product-gallery-zoom’ );
Hello,
i’ve tried to add this code to functions.php but it doesn’t work for me neither. What else i can do to remove zoom?