kowal.info

Category Gallery Hover

Composer kowal/module-hover · Version 1.0.25

Product page

Category Gallery Hover — kowal.co

Description

Browse additional product images without leaving the category listing. Shoppers can move through a product tile’s gallery by hovering or swiping.

For whom

For catalogs where several views of an item help shoppers evaluate it directly on the category page.

Features

  • Gallery navigation inside a product tile.
  • Optional on_hover image role for the first preview.
  • Gallery metadata embedded in the category HTML and cached with the page.

Installation

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

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

Configuration

  1. Enable Stores → Configuration → Kowal → Category Gallery Hover → General → Enable.
  2. Choose a product assigned to a category and add at least two distinct, visible gallery images.
  3. To set a specific first preview, enable Use On Hover Image Attribute and assign the on_hover role to the chosen image. Save the product.

Requirements / notes

The package requires Kowal Base. Version 1.0.25 loads metadata in batches for the current category page; navigating the images needs no per-SKU PHP request.

FAQ

Why does the gallery still show an old image after an import?

For custom imports that bypass Magento events, check invalidation of both gallery metadata and the cached category page. Also check the image role and gallery order in the target view.

Verify the installation

bin/magento module:status Kowal_Hover

Open the category containing the test SKU. Check the first hover image, navigate to the next image and repeat by swiping on a phone. Compare the results with that product’s Admin gallery.