magenable / module-top-bar-notification
magenable/module-top-bar-notification
Magento 2 extension to display simple notice at the top of the page
Magenable_TopBarNotification
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

Set Enabled to 'YES'.
Design Settings
For HTML content

- You have to set Content Type to 'HTML'
- Insert the html-content to display to users
For text content

- 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
1.3.11 (2026-06-16)
- Tested with Magento v2.4.9 and PHP 8.5
1.3.10 (2025-07-04)
- Tested with Magento v2.4.8-p1
1.3.9 (2025-03-10)
- Tested with Magento v2.4.8
1.3.8 (2024-12-19)
- Tested on Magento v2.4.4-p11, v2.4.5-p10, v2.4.6-p8 and v2.4.7-p3
1.3.7 (2024-08-20)
- Tested with Magento v2.4.6-p7 and v2.4.7-p2
1.3.6 (2024-04-10)
- Tested with Magento 2.4.7 and PHP 8.3
1.3.5 (2024-03-11)
- Tested with Magento 2.4.6-p4
- Added change-log.txt
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.3.11 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-06-16 05:05:24 |
| 1.3.10 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2025-07-07 03:14:43 |
| 1.3.8 | stable | Not tested | Not yet tested Details | 2024-12-19 10:24:26 |
| 1.3.7 | stable | Not tested | Not yet tested Details | 2024-08-23 06:08:18 |
| 1.3.6 | stable | Not tested | Not yet tested Details | 2024-04-16 02:30:00 |
| 1.3.4 | stable | Not tested | Not yet tested Details | 2023-02-24 05:14:06 |
| 1.3.3 | stable | Not tested | Not yet tested Details | 2023-01-13 08:50:56 |
| 1.3.2 | stable | Not tested | Not yet tested Details | 2022-09-27 07:35:17 |
| 1.3.1 | stable | Not tested | Not yet tested Details | 2022-05-20 05:56:51 |
| 1.3.0 | stable | Not tested | Not yet tested Details | 2022-02-06 04:45:21 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2021-11-19 05:01:21 |
| 1.0.1 | stable | Not tested | Not yet tested Details | 2021-10-21 01:11:29 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2020-04-23 03:40:57 |
Requires 2
| Package | Constraint |
|---|---|
| magenable/module-base | * |
| php | >=7.1.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from magenable
View vendorThis Magento 2 module provides the ability to generate feed files for OpenAI Agentic Commerce
This Magento 2 module provides the ability to add a noindex meta tag to category pages with filters
A Magento 2 module that allow specify partner url for any product
Magenable feed for admin notification
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.