Download the PHP package anasstouaticoder/magento2-module-backtotop without Composer
On this page you can find all versions of the php package anasstouaticoder/magento2-module-backtotop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download anasstouaticoder/magento2-module-backtotop
More information about anasstouaticoder/magento2-module-backtotop
Files in anasstouaticoder/magento2-module-backtotop
Package magento2-module-backtotop
Short Description 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.
License MIT
Informations about the package magento2-module-backtotop
Magento 2 Module AnassTouatiCoder BackToTop
``anasstouaticoder/magento2-module-back-to-top``
- Main Functionalities
- Installation
- Configuration
- Specifications
- usage
- License
Main Functionalities
``anasstouaticoder/magento2-module-back-to-top``
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: [email protected]
License
All versions of magento2-module-backtotop with dependencies
php Version ~7.4.0||~8.1||~8.2
anasstouaticoder/magento2-module-base Version >=1.2.17