ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

WooCommerce Image Hover

აღწერა

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. **

დაყენება

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.

ხდკ

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. 🙂

მიმოხილვები

17.05.2019 1 reply
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.03.2019 2 replies
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.01.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!!
03.09.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.
8 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“WooCommerce Image Hover” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ WooCommerce Image Hover თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

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