Turn off Product Featured Image Zoom in WooCommerce

To remove the product featured image zoom effect in WooCommerce 3 at the following into functions.php within your child theme:

Code

add_action( 'after_setup_theme', 'remove_product_image_zoom', 11 ); 
function remove_product_image_zoom() {
    remove_theme_support( 'wc-product-gallery-zoom' );
}
Article published 19th March 2020
Last modified 02nd November 2023

Loading