هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

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 مايو، 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 مارس، 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 يناير، 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 سبتمبر، 2016
Woocommerce 2.6.0 WP 4.5.2 Great plugin! Congrats to the developer!
3 سبتمبر، 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