Woocommerce took out the option for enabling a lightbox feature for your image gallery earlier this year. They have in their documentation to add code if you want to enable the gallery features but don’t actually say where.
This is a significant frontend change that can be broken down in to three separate new features;
Image zoom / magnification
To enable each of these features in your theme you must declare support using