kowal.info

Catalog Hover Image

Composer kowal/hover-image · Version 1.0.2

Product page

Catalog Hover Image — kowal.co

Description

Shows an alternative product photo when a customer hovers over a tile in a category or search results.

For whom

For catalog editors who want to show another angle or a detail without making shoppers open the product page.

Features

  • Dedicated Hover Catalog image role.
  • Product thumbnail as the fallback image.
  • Images selected from the current listing, including its filters and pagination.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/hover-image
bin/magento module:enable Kowal_CatalogHoverImage
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. In Kowal → Hover Catalog Image, turn on Enabled.
  2. In the product gallery, assign different photos to the listing image and the Hover Catalog role.
  3. Save the product and refresh the catalog page cache.

Requirements / notes

The package requires kowal/base. Check the effect in your storefront theme using a pointing device. The feature is disabled by default.

FAQ

Why does the photo look the same on hover?

When no Hover Catalog image is assigned, the module uses Thumbnail. If the thumbnail shows the same angle as the listing image, the change may be hard to see.

Verify the installation

bin/magento module:status Kowal_CatalogHoverImage

Use two clearly different photos for one product. Find it in a category and through search. On each listing, move the pointer onto the image and then away from it.