dmatthew/magento2-hover-image 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dmatthew/magento2-hover-image

最新稳定版本:1.1.0

Composer 安装命令:

composer require dmatthew/magento2-hover-image

包简介

Change product image on hover on category pages

README 文档

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.

统计信息

  • 总下载量: 618
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-21