Posted on

Disable product gallery zoom in WooCommerce 3.0+

Product Gallery in Electro WooCommerce Theme

WooCommerce 3.0 was a major release and it included a complete overhaul of Product Image gallery. The new gallery had advanced features like image zoom, mobile features and gallery view. Product zoom is a necessary feature for products that are more detailed in nature. For other type of products, its unnecessary and many users would like to disable it.

To disable the product gallery zoom please add the code snippet given below into your child theme’s functions.php :