定制 anasstouaticoder/magento2-module-backtotop 二次开发

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

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

anasstouaticoder/magento2-module-backtotop

最新稳定版本:1.0.3

Composer 安装命令:

composer require anasstouaticoder/magento2-module-backtotop

包简介

The Back To Top module enhances user control over page navigation by providing an easy way to return to the top of the page. This module is compatible with Luma, Hyva, and other Magento themes.

README 文档

README

Copy field path and value, display its override values in parent scope

Supported Magento Versions Latest Stable Version Composer Downloads Maintained - Yes
``anasstouaticoder/magento2-module-back-to-top``

Main Functionalities

add back to top button in magento pages

Installation

* = in production please use the --keep-generated option

install from composer 2

  • In magento project root directory run command composer require anasstouaticoder/magento2-module-back-to-top
  • Enable the module by running php bin/magento module:enable AnassTouatiCoder_BackToTop
  • Flush the cache by running php bin/magento cache:flush

Zip file

  • Unzip the zip file in app/code/AnassTouatiCoder
  • Enable the module by running php bin/magento module:enable AnassTouatiCoder_BackToTop
  • Flush the cache by running php bin/magento cache:flush

Configuration

Configuration In Back Office

To configure the Back To Top module:

Log in to the Magento admin panel. Navigate to Stores > Configuration > AnassTouatiCoder > Back To Top.

General group => Enable: Toggle to enable or disable the "Back to Top" button globally.

Display group => setup up your preferences

  • Label: Set the text label displayed on the button.
  • Label Color: Choose a color for the button label.
  • Background Color: Choose a background color for the button.
  • Hover Background Color: Choose a background color for the button when hovered over.
  • Border Color: Set the border color for the button.
  • SVG Image: Upload an SVG image to use instead of the text label.
  • Image SVG Size: Set the size of the SVG image, by default it is 32 x 32.
  • Position: Select the position of the button on the page.

Target Pages Group

  • Target Pages: Choose whether to enable the button on all pages or specific pages.

Then save changes and clear Magento config cache

Specifications

This module provides a shortcut for customer to go back to the top of the page especially if your magento instance doesn't have sticky header or the pages are too long

Usage

the purpose of this module is to add back to top shortcut in Magento pages See plugin wiki

Usage

For any issues, suggestions, or contributions, feel free to reach out:

Author: Anass TOUATI Email: anass1touati@gmail.com

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-27