Add Woocommerce 3 gallery / lightbox / zoom support. In functions.php include the followin
add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' );