/* 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 );
add_filter( 'woocommerce_single_product_zoom_enabled', '__return_false' );
add_action( 'wp', 'custom_remove_product_zoom' );
function custom_remove_product_zoom() {
remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'custom_remove_product_zoom' );
function custom_remove_product_zoom() {
remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'custom_remove_product_zoom' );
function custom_remove_product_zoom() {
remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'custom_remove_product_zoom' );
function custom_remove_product_zoom() {
remove_theme_support( 'wc-product-gallery-zoom' );
}