Woo: Disable WooCommerce image zoom

18 May 2022

Sometimes the zoom feature is useful, but it can also be very jarring to your customers. I prefer to have this off on every site and use a light box instead.


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

Was this article helpful?



Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy