Disable Woocommerce image zoom on hover in oxygen

Author: Aleš Sýkora, 19. 11. 2020

Add this to custom snippets. Or put in custom funcionalities plugin. Dont worry, lightbox will be working.

function remove_image_zoom_support() {
    remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'remove_image_zoom_support', 100 );

Then the magnyfing glass icon dissapears, the over effect is gone, but the lightbox works perfect :-).

%%tb-image-alt-text%%
Example product image without magnyfing glass after adding function.