Disable Zoom, Slider & Lightbox on Single Product

New “Featured Image Zoom”, introduced by WooCommerce ,What if your customers don’t need this? How can you disable it? Well, this can be done with a PHP Snippet!

add_action( 'wp', 'codeithub_remove_zoom_lightbox_theme_support', 99 );
function codeithub_remove_zoom_lightbox_theme_support() { 
   remove_theme_support( 'wc-product-gallery-zoom' );
   remove_theme_support( 'wc-product-gallery-lightbox' );
   remove_theme_support( 'wc-product-gallery-slider' );


Default feature Image


ligthbox, Zoom Disabled
See also  Responsive Vertical Image Slider With Pure CSS

Leave a Reply

Your email address will not be published. Required fields are marked *