magestyapps/module-hover-image 问题修复 & 功能扩展

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

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

magestyapps/module-hover-image

最新稳定版本:1.0.0

Composer 安装命令:

composer require magestyapps/module-hover-image

包简介

Magento 2 Product Hover Images

README 文档

README

Packagist

Magento 2 Product Hover Images

The module is designed to display alternative image when mouse cursor is hovering a product in product listing

IMPORTANT: if you like the extension, could you please add a star to this GitHub repository in the top right corner. This is really important for us. Thanks.

Installation

Using Composer (recommended)

  1. Go to your Magento root folder

  2. Download the extension using composer:

    composer require magestyapps/module-hover-image
    
  3. Run setup commands:

    php bin/magento setup:upgrade;
    php bin/magento setup:di:compile;
    php bin/magento setup:static-content:deploy -f;
    

Manually

  1. Go to your Magento root folder:

    cd <magento_root>
    
  2. Copy extension files to app/code/MagestyApps/HoverImage folder:

    git clone https://github.com/MagestyApps/module-web-images.git app/code/MagestyApps/HoverImage
    

    NOTE: alternatively, you can manually create the folder and copy the extension files there.

  3. Run setup commands:

    php bin/magento setup:upgrade;
    php bin/magento setup:di:compile;
    php bin/magento setup:static-content:deploy -f;
    

Configuration

General Settings

You can find the module's settings under:

Stores > Configuration > MagestyApps Extensions > Product Hover Image

In the Hover Effect setting you can choose the preferred styling for the hover effect. Possible options are:

  • Slide Left
  • Slide Right
  • Slide Up
  • Slide Down
  • Fade

Assigning a hover image for a product

In order to select a specific image to be displayed as an alternative image for a product, you should do the following:

  1. Edit the product in admin panel and go to the Media Gallery section.
  2. Select the necessary image
  3. In the modal window in the 'Role' field, select the 'Hover Image' option
  4. Save the product
  5. Flush Magento cache if needed

Other Extensions

You can find more useful extensions for Magento 2 by visiting MagestyApps Official Website

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2024-03-20