dmatthew/magento2-hover-image

Change product image on hover on category pages

Installs: 314

Dependents: 0

Suggesters: 0

Security: 0

Stars: 11

Watchers: 1

Forks: 8

Open Issues: 4

Type:magento2-module

1.1.0 2020-05-12 20:44 UTC

This package is auto-updated.

Last update: 2024-03-23 20:20:47 UTC


README

With this module you can set an image to be displayed when hovering over products on category pages.

Saving Product Hover Image using Magento Import

To update the hover_image attribute on products for existing images:

  1. Create a CSV that looks like this:

    sku,hover_image
    ABCD1234,/i/m/image.jpg
    
    sku hover_image
    ABCD1234 /i/m/image.jpg
  2. Then, when importing the file change the field "Images File Directory" to "pub/media/catalog/product".

  3. This will set the Hover Image attribute to one of the existing images without requiring you to place new images into pub/media/import/.

To update the hover_image attribute on products with new images:

  1. Create a CSV that looks like this:

    sku,hover_image
    ABCD1234,image.jpg
    
    sku hover_image
    ABCD1234 image.jpg
  2. Upload the image.jpg file to the media/import/ directory.

  3. When importing the file, leave the field "Images File Directory" blank or set it to "pub/media/import".

  4. This will save the new image and assign it to the Hover Image attribute.