Quantcast
Channel: How to get rid of the hover zoom in WooCommerce single products - WordPress Development Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by artnikpro for How to get rid of the hover zoom in WooCommerce...

Disable gallery zoom and prevent loading jquery.zoom.js libadd_filter('woocommerce_single_product_zoom_enabled', '__return_false');add_action('after_setup_theme', function () { global...

View Article


Answer by jod.z for How to get rid of the hover zoom in WooCommerce single...

I wanted to disable the zoom and also have the featured image trigger the lightbox. Someone gave me this code and it worked.add_action( 'after_setup_theme', 'add_wc_gallery_lightbox', 100 );function...

View Article


Answer by LoicTheAztec for How to get rid of the hover zoom in WooCommerce...

This is possible using woocommerce_single_product_zoom_enabled dedicated filter hook:add_filter( 'woocommerce_single_product_zoom_enabled', '__return_false' );Code goes in functions.php file of your...

View Article

How to get rid of the hover zoom in WooCommerce single products

I'm trying to get rid of the function where users can hover over the main product image and zoom into the product. I tried using this code, which has been confirmed by others to work, but nothing...

View Article
Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>