Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

woocommerce disable zoom on product image

/* Disable zoom on Woocommerce Product Images */

// Append to your child theme's functions.php
function remove_image_zoom_support() {
    remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'remove_image_zoom_support', 100 );
Source by docs.themeisle.com #
 
PREVIOUS NEXT
Tagged: #woocommerce #disable #zoom #product #image
ADD COMMENT
Topic
Name
7+1 =