magenable / module-top-bar-notification
Magento 2 extension to display simple notice at the top of the page
Installs: 1 309
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:magento2-module
Requires
- php: >=7.1.0
- magenable/module-base: *
README
Top Bar Notification is a Magento 2 extension to display a banner/notice at the top of Magento store pages, before all other content.
The extension was developed as a quick way to display COVID-19 notice, but can be used for other notices as well
PWA Studio
The extension for Magento PWA Studio can be found here: https://www.npmjs.com/package/@magenable/top-bar-notification
Hyvä themes
The module for compatibility with the Hyvä theme can be found here: https://gitlab.hyva.io/hyva-themes/hyva-compat/magento2-magenable-top-bar-notification
Breeze themes
This module is compatible with Swissup/breeze themes
Final result
Installation
Composer
Run the following command in Magento 2 root folder
composer require magenable/module-top-bar-notification
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
User Guide
Configuration
Go to Stores > Settings > Configuration > Magenable Extensions > Top Bar Notification.
General Settings
Design Settings
- You have to set Content Type to 'HTML'
- Insert the html-content to display to users
- You have to set Content Type to 'text'
- Insert the text to display to users
- Insert font size
- Insert an exadecimal value to set the color of Background color
- Insert an exadecimal value to set the color of Text color
Pages to show/hide (optionally) Insert page(s) to show/hide this notification
Compatibility
Tested with Magento Open Source 2.4.4 - 2.4.7, but will probably work with older Magento 2.X versions and Magento Commerce
About developer
The extension is developed by Magenable (https://magenable.com.au), eCommerce consultancy specializing in Magento based in Melbourne, Australia