mage-condition/scroll-to-top
Composer 安装命令:
composer require mage-condition/scroll-to-top
包简介
Magento 2. Scroll to top button extension
README 文档
README
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.
Installation
Follow these steps to install the extension:
-
Require the extension via Composer
composer require mage-condition/scroll-to-top
-
Run Magento setup upgrade
php bin/magento setup:upgrade
-
Deploy static content (if in production mode)
php bin/magento setup:static-content:deploy
-
Clear the cache
php bin/magento cache:clean
Usage
- Navigate to the Stores section in the Magento admin panel.
- Go to Configuration > MageCondition > Scroll To Top.
- Configure the settings as per your requirements.
- Save the changes.
- Refresh the cache.
Demo
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.
mage-condition/scroll-to-top 适用场景与选型建议
mage-condition/scroll-to-top 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 07 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mage-condition/scroll-to-top 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mage-condition/scroll-to-top 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2024-07-20