Product Secondary Image Hover For WooCommerce

Guide for

Product Secondary Image Hover for WooCommerce

  • WooCommerce
  • Free
  • 3 min read
  • Updated Nov 27, 2026

Show a second product photo when shoppers hover over a product in your WooCommerce shop and archive pages. It uses the first image from the product's gallery, runs on CSS alone, and works the moment you activate it.

Overview

When a shopper hovers over a product in your shop or archive pages, this plugin fades in the first image from the product’s gallery. The effect is pure CSS, so no JavaScript is added to your store.

Nothing to configure. There is no settings page and no shortcode. Once the plugin is active, the hover effect works on its own.

Before you start

RequirementMinimumNotes
WordPress6.7Tested up to 7.1.4
PHP8.1
WooCommerceRequiredInstalled and active
Page buildersNot yet verified
MultisiteNot yet verified

Install and activate

Upload from your WordPress dashboard

  1. Make sure WooCommerce is installed and active.
  2. Download the plugin ZIP from the plugin page.
  3. Go to Plugins → Add New Plugin → Upload Plugin, choose the ZIP and click Install Now.
  4. Click Activate Plugin.

Manual installation (FTP or file manager)

  1. Extract the ZIP file.
  2. Upload the plugin folder to /wp-content/plugins/.
  3. Go to Plugins → Installed Plugins and click Activate under Product Secondary Image Hover For WooCommerce.

Add the hover image to a product

  1. Go to Products and edit a product.
  2. In the Product gallery box, add at least one image.
  3. Click Update, then hover over the product on your shop page.

Only the first gallery image is used. To change which image shows, drag it to the first position in the Product gallery box. Products without a gallery image stay exactly as they are.

Tip: use gallery images with the same proportions as the main image, so the swap does not jump.

Where the hover effect appears

PlaceHover effect
Product Collection blockYes
Classic WooCommerce product loops (shop and archive pages)Yes
Single product pagesNo, the product gallery is left untouched

The hover image uses the WooCommerce product thumbnail size.

Customise the hover effect

The hover image has the CSS class product-secondary-image. Target it from your theme’s stylesheet or Appearance → Customize → Additional CSS:

/* Your theme CSS or Additional CSS */
.product-secondary-image {
  /* your custom transition and appearance rules */
}

Troubleshooting

If the hover image does not appear, check these in order:

  1. Is WooCommerce active? The plugin only works on WooCommerce product listings.
  2. Does the product have a gallery image? Products without one get no hover image.
  3. Are you on a listing page? The effect shows on shop and archive pages, not on single product pages.
  4. Are your versions supported? You need WordPress 6.7+ and PHP 8.1+.
  5. Is an old page cached? Clear your caching plugin, server or CDN cache and reload.

Still not showing? Open a ticket with the page URL and your theme name.

Frequently asked questions

Is it free?

Yes. There is no license fee.

Do I need to configure anything?

No. There is no settings page and no shortcode.

Which image shows on hover?

The first image in the product’s WooCommerce gallery.

Does it add JavaScript?

No. The hover effect is CSS only.

Does it work on single product pages?

No. It is built for shop and archive listings and leaves the single product gallery alone.

Privacy and data

The plugin does not collect, store or send personal data, and it does not connect to any external service.

For developers

The documented styling hook for version 1.0.0 is the product-secondary-image CSS class. There is no published PHP hooks or filters reference, so please use the class rather than undocumented internals.

Get help

Still stuck? Open a support ticket or email [email protected]. Replies come from the developers who built the plugin, usually within 1–2 business days. To help us help you faster, include your platform version, the plugin version, your theme, and the steps you took.