Disable Zoom, Lightbox and Gallery Slider on WooCommerce Products

To disable the Zoom, Lightbox and Gallery slider effect on Woocommerce Products, add the below code snippet to the functions.php file of the child theme

function wc_remove_image_effect_support() {

    remove_theme_support( 'wc-product-gallery-zoom' );
    remove_theme_support( 'wc-product-gallery-lightbox' );
    remove_theme_support( 'wc-product-gallery-slider' );

}
add_action( 'after_setup_theme', 'wc_remove_image_effect_support', 100 );
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.