定制 mage-condition/scroll-to-top 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mage-condition/scroll-to-top

最新稳定版本:1.0.1

Composer 安装命令:

composer require mage-condition/scroll-to-top

包简介

Magento 2. Scroll to top button extension

README 文档

README

Magento 2 License

Overview

The Magento 2 Scroll To Top extension adds a customizable button that allows users to scroll back to the top of the page easily. This enhances the user experience, especially on long pages.

Key Features

  • Extension can be easily disabled or enabled.
  • Customize the color of the scroll-to-top icon and button background using a color picker provided by https://github.com/mrgrain/colpick.
  • Can be configured for different scopes (Global, Website, Store View).

Advanced Configuration

  • Position: Set the position of the button (Right Bottom or Left Bottom).
  • Button Type: Choose the button shape (Round, Square).
  • Breakpoint: Define the scroll distance for the button to appear.
  • Side Margin: Adjust the side margin for the button.
  • Bottom Margin: Adjust the bottom margin for the button.
image

Installation

Follow these steps to install the extension:

  1. Require the extension via Composer

    composer require mage-condition/scroll-to-top
  2. Run Magento setup upgrade

    php bin/magento setup:upgrade
  3. Deploy static content (if in production mode)

    php bin/magento setup:static-content:deploy
  4. Clear the cache

    php bin/magento cache:clean

Usage

  1. Navigate to the Stores section in the Magento admin panel.
  2. Go to Configuration > MageCondition > Scroll To Top.
  3. Configure the settings as per your requirements.
  4. Save the changes.
  5. Refresh the cache.

Demo

demo2 (1)

Compatibility

  • PHP 8.0 or higher
  • Magento Open Source (CE) 2.4.x
  • Adobe Commerce (EE) 2.4.x

Support

If you encounter any issues or have questions regarding the extension, please open an issue on the GitHub repository.

You can also reach us via email at wincondition2911@gmail.com.

License

This module is licensed under the Open Software License (OSL). See the LICENSE file for more details.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

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