Woocommerce 3 is out and it brought us some new cool features, about which you can find out here.

Some may find their product lightox feature broken after updating the plugin and here’s how to fix it. The thing is woocommerce is bringing us a new gallery, which is off by default for custom and 3rd party themes.

In order to enable it, you should put the following piece of code into functions.php file.

add_theme_support( 'wc-product-gallery-lightbox' );

The code below enables your theme to support product image zoom and slider.

add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-slider' );