Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

WooCommerce Image Hover

Descrizione

WooCommerce Image Hover simply replaces the main WooCommerce product image with the thumbnail image when you hover over a thumbnail. When you stop hovering over a thumbnail, the main WooCommerce product image is returned to the original like magic.
Please Note, if your theme supports WooCommerce Gallery Slider, this functionality will be disabled for this plugin to work. The good news is the zoom and lightbox functionality will continue to work.
** Requires WooCommerce to be installed. **

Installazione

Requires WooCommerce to be installed.

WooCommerce Compatibility Test: v3.4.1

  1. Upload WooCommerce Image Hover to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it.

FAQ

Why doesn’t WooCommerce Gallery Slider work with this plugin?

For this plugin to work, the WooCommerce Gallery Slider functionality needs to be removed. The good news is the zoom and lightbox still work if your theme supported them.

Why doesn’t it work with my theme?

It is impossible to make this plugin work with every theme as it depends on the html of your theme. WooCommerce Image Hover was built and tested on Storefront by WooCommerce to ensure it works with the standard WooCommerce classes.

How can I make it work with my theme?

You could visit the Git repo and fork it and make as many changes as you need. Alternatively you can hire me to do it for you. 🙂

Recensioni

17 Maggio 2019 1 risposta
Works great, the only thing I would change in the default version is actually to have an option whether or not to return to the first image when hovering out. In case you want it to stay to the last hovered image, please just comment out this in the .js file: /*function() { $( '.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a img' ).first().attr( 'srcset', wcih_main_image ); }*/ That way it will be as it is on Amazon
13 Marzo 2019 2 risposte
I have WP 5.1 installed and this plugin seems to not work correctly. The hover feature seems to enable properly but it constantly is trying to flip between the original picture and the one I am hovering over.
18 Gennaio 2017
Does EXACTLY What it says it does. Straight out the box! No configuration needed. just activated it and hovered over my product thumbnails and they swapped the main featured image just like I wanted! Thanks so much!!
3 Settembre 2016
Woocommerce 2.6.0 WP 4.5.2 Great plugin! Congrats to the developer!
3 Settembre 2016
Nice little plugin. I "customized" the script - well, commented out a few lines! - so that the newest image stays after mousing out of the thumb instead of immediately flipping back to the original image.
Leggi tutte le recensioni di 8

Contributi e sviluppo

“WooCommerce Image Hover” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “WooCommerce Image Hover” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

2.0

  • Tested on WordPress v4.9.6
  • Tested on WooCommerce v3.4.1
  • Removed theme support for WooCommerce gallery lightbox, zoom and slider so this plugin can work
  • Refactored JS for new WooCommerce 3.0 html
  • Fixed typo in JS var name for original main image

1.2

  • Tested on WordPress 4.5.1
  • Tested on WooCommerce 2.5.5, everything seems to be in order here
  • Added srcset compatibility – sorry it took so long to get updated

1.1

  • Tested on WordPress 4.3.1
  • Tested on WooCommerce 2.4.7, everything is a ok
  • Refactored jQuery for consistent spacing and use of “” to ”

1.0

  • Original commit and released to the world