When Beans is installed with Woocommerce all of the image gallery javascript and css and stripped out.
The main product image has no zoom on scroll, and simply links to the image (no lightbox), the thumbnails also link to images rather than switch the main product image.
The default slider functionality of WooCommerce is preserved with Twentyfifteen, twentysixteen and Twentyseventeen.
Is there a snippet that can be used to preserve the original WooCommerce functionality?
Thanks, Carl
Hi Carl,
If you want to have default functionality of WooCommerce slider, zoom and lightbox you need to add the following code in your functions.php:
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );