Website Building » WooCommerce » How Do I Turn Off Image Zoom in WooCommerce?

How Do I Turn Off Image Zoom in WooCommerce?

Last updated on February 1, 2023 @ 9:30 am

Image zoom is a great way to improve the user experience on your WooCommerce store. By zooming in on images, customers can see products in greater detail and make more informed purchasing decisions. Image zoom also allows for a closer look at product details, such as size, color, and texture.

To turn off image zoom in WooCommerce, go to “Appearance” > “Theme Editor” > “Theme Functions“.

Click-on Appearance Theme Editor Theme Functions under Theme Files WordPress

Add the code below to disable image zoom checkbox. Click on “Update file” and you’re done!

function remove_image_zoom_support() {
remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'remove_image_zoom_support', 100 );

 

Add Code and click on Update File WordPress

 

PRO TIP: If you are using WooCommerce to sell products on your website, you may want to disable the image zoom feature. This can be done in the WooCommerce settings. However, doing this may cause your product images to appear blurry on your website.

If you want to disable image zoom for only certain products, you can do so by going to the “Edit Product” page for that product and unchecking the “Enable image zoom” checkbox. Save your changes and image zoom will be disabled only for that product.

Image zoom can be a great way to improve the user experience on your WooCommerce store.

Image zoom also allows for a closer look at product details, such as size, color, and texture. With just a few clicks, you can easily turn off image zoom for your entire store or for individual products.

Conclusion

Image zoom is a valuable feature for enhancing the user experience on a WooCommerce store as it allows customers to view products in greater detail and make informed purchases. However, if desired, it can be turned off through the Theme Editor in the WordPress dashboard by adding the code provided and updating the file.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.