How to remove product image rollover on WooCommerce product pages

May 22, 2019 | WooCommerce Tips | 0 comments

Add the function below to your child theme functions.php file.

// removing the product image rollover
function remove_product_zoom_support() {
    remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'remove_product_zoom_support', 100 );

0 Comments

Submit a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.