Disable WooCommerce 3.+ Zoom

by

in

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:

3 responses to “Disable WooCommerce 3.+ Zoom”

  1. Hi Remi! Thanks for this post. I did add that code but didn’t work for me. I’m using Divi theme. Any suggestion?

    1. Bill

      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’ );

  2. xpzanpx

    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?

Leave a Reply