WC Secondary Product Thumbnail
The WC Secondary Product Thumbnail plugin adds a hover effect that will reveal a secondary product thumbnail to product images on your WooCommerce product listings. This plugin is ideal for displaying front and back images of products.
- From your WordPress dashboard, go to Plugins » Add New
- Search for WC Secondary Product Thumbnail
- Click Install Now
- Activate the plugin
- Is it compatible with all WordPress & WooCommerce themes?
- Can I control which image to reveal on hover?
- What are the dimensions used by my secondary images?
- Some product images are not flipping when I hover over them. What should I do?
- Does this plugin work with WordPress Multisite (WPMS)?
Is it compatible with all WordPress & WooCommerce themes?
Compatibility with all themes is impossible, because they are too many, each of them is using different HTML structure, CSS, and WooCommerce hooks. But generally if the themes are developed according to WordPress and WooCommerce guidelines, this plugin is compatible with them.
In addition, this plugin tries its best to support as many themes as possible by using some workarounds.
Can I control which image to reveal on hover?
You can either reveal the first image or the last image in product gallery. By default, the first image in product gallery will reveal on hover. If you would like to reveal the last image instead, add this line into your theme's functions.php file:
add_filter( 'wcspt_reveal_last_img', '__return_true' );
What are the dimensions used by my secondary images?
They use the dimensions that you specify at Appearance » Customize » WooCommerce » Product Images » Thumbnail Width & Thumbnail Cropping, which are usually used for images on product listings.
WooCommerce 3.2 and Below
They use the image size that you specify at WooCommerce » Settings » Products » Display » Catalog Images, which is usually used for images on product listings.
Some product images are not flipping when I hover over them. What should I do?
Check that the product gallery has an image attached to it. See the Product Gallery meta box when editing the product.
Does this plugin work with WordPress Multisite (WPMS)?
Yes, it works with WPMS. WCSPT version 1.3 or higher is fully compatible with WordPress Multisite.