Enabling WooCommerce Gallery (Zoom, Swipe & Lightbox)

Introduced in version 3.0, WooCommerce now uses Flexslider, Photoswipe, and jQuery Zoom to offer swiping and lightbox capabilities for displaying product galleries.

These new features are off by default. To enable them, edit the functions.php file and declare support using the code below.

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