You may have been in the same trouble to see that the default woocommerce lightBox or zooming not working if you have just updated the woocommerce plugin or just installed the new plugin.
Here is the fix:
add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' );
Add these three lines of codes at the end of your
functions.php It’ll work!
The first line activates the image zoom. Second line activates the lightbox and the thrid line activates the image zoom slider for woocommerce!