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
The extension for Magento PWA Studio can be found here: https://www.npmjs.com/package/@magenable/top-bar-notification
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
This module is compatible with Swissup/breeze themes
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
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
Tested with Magento Open Source 2.3.2-2.3.4, but will probably work with older Magento 2.X versions and Magento Commerce
The extension is developed by Magenable (https://magenable.com.au), eCommerce consultancy specializing in Magento based in Melbourne, Australia