Try this, I am not able to test it myself but I do remember using it or something like it in the past:
jQuery(document).ready(function($) {
// Disable zoom on product images
$('.woocommerce-product-gallery').trigger('zoom.destroy');
});
You can try this in your functions.php file
remove_image_zoom_support() {
remove_theme_support( 'wc-product-gallery-zoom' );
}
add_action( 'wp', 'remove_image_zoom_support' );
Or, try this css
.woocommerce ul.products li a img,
.woocommerce div.product div.images img {
pointer-events: none; /* Disable hover events */
}
Related Posts:
- Child theme dosn’t overwrite WooCommerce (version 3.4.7)
- Modify some CSS with functions if (function_exists
- Overwrite ‘require’ in child-theme
- Creating child theme out of Coeur
- call_user_func_array() expects parameter 1 to be a valid callback, class ‘WC_Rapyd’ does not have a method ‘install’
- How can i add product Accessories from front-end using custom php form?
- Pseudo class :before don’t working in a specific button
- How to neutralize a parent theme php template?
- Is it safe to update an old site after backing it up and activating a child theme?
- When to use a child theme for WooCommerce Storefront?
- How to add a new endpoint in woocommerce
- Slow Loading Attribute Select – WooCommerce Backend
- How can I define a custom template for woocommerce [products] shortcode? [closed]
- Display orders instead of woocommerce my account dashboard for logged in users [closed]
- Detect whether a page is a product subcategory page?
- Get WooCommerce Email Classes in Backend
- Use Hooks to Limit One Comment Per User Per Post – Hide Form if Already Commented
- Display Categories Assigned to a WooCommerce Product
- WooCommerce is slow with many categories [closed]
- How to remove recurring totals information for a particular subscription product? [closed]
- WordPress codex: apply_filters – clarification on creating a new hook on the fly. How do we use it?
- Set a default quantity input value for a variable product category in WooCommerce
- WooCommerce product sorting VERY slow
- Woocommerce – Move product without price a the end
- How to get all attributes with their terms related to specific Woocommerce product category [closed]
- Extra row / text field to a product page (WooCommerce)
- woocommerce_email_attachments filter arguments [closed]
- Problem with cURL and rest API
- How to Show Single Product – 4 Data by ID in Custom Page without over-riding the existing Woo-Commerce
- WOOCommerce redirect after registration to account details
- How can I add an additional action button into the woocommerce admin order page?
- How to add a custom text for order confirmation email template woocommerce
- woocomerce is serving OR Relation instead of AND on taxonomy product_tag
- Woocommerce Subscriptions – Set Billing Interval/Period
- WooCommerce with ACF: custom fields per product variation
- Woocommerce checkout page reload on up dating shipping method
- change wp_login url and redirect users at the same time
- How to clear woocommerce checkout form after pageload
- Is there a plugin available for recurring orders in Woocommerce? [closed]
- call_user_func_array() error in class-wp-hook.php
- Error after woocommerce update from 2.6 to 3.5 [closed]
- Send billing info from woocommerce checkout page to paypal checkout form
- Check if a category has a parent category in WooCommerce REST API
- Remove a higher quantity from stock according to a variation
- Auto generate user email while registration
- Switch position of short description and variations [closed]
- Get specific values in Woocommerce Rest API
- Javascript error when adding an item to the cart [closed]
- Woocommerce: Complex query in pre_get_posts [closed]
- Woocommerce check if email already created order recently [closed]
- Switch to user link
- Customize WooCommerce Add To Cart Form Name [closed]
- Woocommerce product editor does not add br
- Can’t find a product by SKU
- Weird strange letters appeared in all website links [duplicate]
- How can I edit the Woocommerce product widget html class?
- WooCommerce Cart Items
- Can’t show Woocommerce product category description
- Create new email in WooCommerce
- Display vendor phone number on single product page
- 3 Different Prices for Woocommerce Product
- Retrieve Data from Custom Endpoint
- How to create a WooCommerce Product filter based on PHP foreach
- Use ID as slug for product category by default in WooCommerce?
- How to add php variable inside wc_enqueue_js(‘jQuery’) function?
- Show menu order field in quick edit
- How to remove Calendar on Woocommerce Category Pages
- How to remove the Sub category product URL Woocommerce
- WC_Structured_Data Class Causing Needless Translation
- How do i display zip code options during checkout [closed]
- Collapsible product categories on sidebar?
- Woocommerce – wc_cart_totals_shipping_method_label() breaking out option tag
- Woocommerce Add prices
- How to limit Woocommerce search to titles only?
- How to invoice Woocommerce customer the remainder balance amount for additional items to an already paid order
- WooCommerce – Show different terms and conditions for different user roles
- How to set subcategory in Woocommerce?
- Woocommerce – How to Show product tags in shop page
- Bulk edit orders to ‘wc-processing’ status
- woocommerce price filter not working when change currency
- With what hook do I remove WooCommerce existing Product Data Tab form fields?
- After update Woocommerce shop page not showing products
- Remove link for Woocommerce product tags
- WooCommerce Class dosen’t exist
- Add youtube embed to woocommerce variations
- WooCommerce – Large number of product variations (200+)
- Add custom link/pop up under variations dropdown
- Problem in woocommerce.The option “Add product image” is gone.Please help me!
- How to make product free for some customers and paid for others?
- Woocommerce: Some action hooks not firing inside class [closed]
- Display x number of terms and exclude hidden
- Hide woocommerce login form
- How to move WooCommerce Product Data Box below Title Box in Edit
- Custom access given to Admin dashboard
- WooCommerce, after moving reviews tab to under product description. If pagination link is clicked description is hidden
- How to show Woocommerce add to cart form for variable product on custom location [closed]
- Adding more information to a Content Product Category
- Woocommerce | Product page seems differently on my 2 websites
- How to get products outside main loop in Woocommerce?
- WooCommerce shipping tax