Remove the product image rollover on WooCommerce product pages.

Jul 31, 2022 | WooCommerce Tips | 0 comments

This function removes the product image rollover on WooCommerce product pages.
/* removing the product image rollover BEGIN */
function remove_product_zoom_support() {
    remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'remove_product_zoom_support', 100 );
/* removing the product image rollover END */

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.