Disable WooCommerce 3.+ Zoom

Remi | April 5, 2017 | in Tips

In WooCommerce 3.+ there’s a cool new feature: the zoom!

When you hover a product image when on the single product page, you can zoom on the products images; I love this feature, however some people would like to remove it. To do so, simply paste this snippet in your functions.php file, within the theme folder:

The author

About the author Remi: Hey! My name is RĂ©mi Corson, i'm a WordPress Expert Developer, i create high level themes and plugins, and i provide free stuff every week on this website!

2 Comments

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

Leave a reply