Answers for "woocommerce disable product image zoom"

PHP
0

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 );
Posted by: Guest on February-04-2021
0

woocommerce disable zoom on product image

add_filter( 'woocommerce_single_product_zoom_enabled', '__return_false' );
Posted by: Guest on October-19-2021

Code answers related to "woocommerce disable product image zoom"

Browse Popular Code Answers by Language