Create unlimited bars
each with its own content, position, style, and audience
Turn every page into a conversion surface. Panth Notification Bar is a production-grade announcement bar for Magento 2 with unlimited stackable bars, live countdown timers, CTA buttons, full scheduling, granular targeting (page, customer group, country, device), and dismissibl...
Key Features:
Additional Services
Built-in from day one. No add-ons, no upsell, no licence keys to renew.
each with its own content, position, style, and audience
multiple bars stack vertically in priority order
global setting limits how many bars show at once per page
`info`, `warning`, `success`, `promo`, `urgent`, `custom` with preset theme colors
Panth Notification Bar is a Magento 2 promo bar extension that runs unlimited stackable announcement bars with countdown timers, CTAs, scheduling, and granular audience targeting.
The Panth Notification Bar extension turns every Magento 2 and Adobe Commerce page into a conversion surface with a complete announcement system: top fixed, top static, bottom fixed, or bottom floating positions, solid color or gradient backgrounds, icons, CTA buttons, live countdown timers, and dismissible cookie memory.
It is built for Magento 2 merchants who run flash sales, shipping cut-off countdowns, multi-store promos, and B2B segment announcements and who need targeting that lands. Every bar can be scoped to specific store views, customer groups, page types, URL patterns, URL parameters, countries, and devices, and dismissed bars stay hidden for a configurable cookie window.
Native Hyvä (Alpine.js + Tailwind) and Luma (Knockout + LESS) templates render automatically with zero manual switching, and bar types (info, warning, success, promo, urgent, custom) ship preset theme colors. Stacking is automatic in priority order with a global cap on the maximum visible at once.
Best for:
Most Magento 2 notification / announcement bar modules ship a single bar with hard-coded colors, no scheduling, and no targeting — which is fine for one static "Free Shipping" strip, but useless for real marketing operations. Panth Notification Bar is built for merchants who actually run campaigns:
No third-party JS, no banner iframes, no layout shift — just a fast, targeted, schedulable bar that works on both Hyva and Luma out of the box.
Panth Notification Bar delivers a complete announcement, promo, and countdown bar toolkit for Magento 2.
info, warning, success, promo, urgent, custom with preset theme colorsdays : hours : minutes : seconds counter/sale/*, /brand/nike*)?utm_campaign=xyz or any key=value is presentslide_down, fade_in, or none0 = session)Panth\Core\Helper\Themeafter.body.start so the bar is painted before the header flickeris_active, position, date_from/to, bar_type, sort_orderall / specific / exclude), target URLs, page types, countries, URL paramsbin/magento cache:flushafter.body.start before the header paints.The four positions determine where a bar renders:
| Position | Behavior | Best For |
|---|---|---|
| top_fixed | Sticky bar pinned to the top of the viewport | Flash sales, urgent announcements |
| top_static | Top of the page, scrolls away with content | Seasonal greetings, generic info |
| bottom_fixed | Sticky bar pinned to the bottom of the viewport | Free shipping threshold, live offers |
| bottom_floating | Floating pill at the bottom, rounded corners | Social proof, newsletter nudge |
Stacking — when Stack Multiple Bars is enabled, all qualifying bars render together in Sort Order ascending (lowest first). The global Max Visible Bars caps the total rendered. When stacking is disabled, only the single highest-priority qualifying bar is shown.
Any bar can show a live countdown timer:
The counter runs 100% client-side in Alpine (Hyva) or vanilla JS (Luma) — no server polling, no ticker AJAX. When the countdown expires, either the expired text is shown or the bar auto-removes itself if Auto Close Seconds is configured.
| Field | Accepted Value | Example |
|---|---|---|
| Store IDs | Comma-separated store IDs, 0 = all |
1,2 |
| Customer Groups | Comma-separated customer group IDs | 0,1,3 (guest + general + retailer) |
| Target Countries | Comma-separated ISO country codes | US,CA,GB |
all, specific, or exclude* (e.g. /sale/*, /brand/nike*)cms, catalog_category, catalog_product, checkout_cart, checkout_onepage, customer_account, etc.key=value pairs (e.g. utm_campaign=spring2026)When Is Dismissible is enabled, the bar shows a close (×) button. Once dismissed:
0 means session-only (cleared when the browser closes)For transient bars (flash sale countdown), pair a short cookie duration (e.g. 1 day) with Auto Close Seconds so even undismissed bars hide after a moment.
Preset theme colors for each bar_type live in etc/theme-config.json:
{
"notification-bar-info-bg": "#1E40AF",
"notification-bar-info-text": "#FFFFFF",
"notification-bar-success-bg": "#065F46",
"notification-bar-success-text": "#FFFFFF",
"notification-bar-warning-bg": "#92400E",
"notification-bar-warning-text": "#FFFFFF",
"notification-bar-promo-bg": "#0D9488",
"notification-bar-promo-text": "#FFFFFF",
"notification-bar-urgent-bg": "#DC2626",
"notification-bar-urgent-text": "#FFFFFF"
}
Override from your theme's CSS using the standard CSS custom properties:
:root {
--notification-bar-z-index: 9999;
--notification-bar-font-size: 14px;
--notification-bar-padding: 10px 20px;
--notification-bar-transition: 300ms ease-out;
--notification-bar-cta-radius: 4px;
}
Per-bar Custom CSS (injected inline) is the quickest escape hatch for one-off designs without touching the theme.
| Issue | Cause | Resolution |
|---|---|---|
| Bar not rendering | Module disabled or global switch off | Verify Stores → Configuration → Panth Extensions → Notification Bar → Enabled = Yes |
| Bar not visible but in admin | Failed audience / schedule / page filter | Re-check store, customer group, country, page targeting, and from/to dates |
| Bar flashes then disappears | Conflicting bar on same position without stacking | Enable Stack Multiple Bars or lower Sort Order of the priority bar |
| Countdown stuck | End date in the past | Update the end datetime and flush cache |
| Dismissed bar never returns | Cookie still active | Lower Cookie Duration or clear cookies |
| Wrong layer order with fixed header | Theme's fixed header has a higher z-index | Increase Z-Index global setting (or per-bar custom CSS) |
| Old template after theme switch | Cached layout/view files | Run bin/magento cache:flush and redeploy static content |
| Bar appears on checkout when not wanted | Page targeting set to all |
Switch to exclude and add /checkout/*, /onestepcheckout/*, etc. |
Enable Debug Mode in Panth Core Settings to get verbose logs in var/log/panth_notification_bar.log.
| Requirement | Versions Supported |
|---|---|
| Magento Open Source | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce Cloud | 2.4.4 — 2.4.8 |
| PHP | 8.1.x, 8.2.x, 8.3.x, 8.4.x |
| MySQL | 8.0+ |
| MariaDB | 10.4+ |
| Hyva Theme | 1.3+ (Alpine.js template) |
| Luma Theme | Native support |
| Required Dependency | mage2kishan/module-core |
Tested on:
composer require mage2kishan/module-notification-bar
bin/magento module:enable Panth_Core Panth_NotificationBar
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
app/code/Panth/NotificationBar/ in your Magento installationPanth_Core is also installed (required dependency)bin/magento module:enablebin/magento module:status Panth_NotificationBar
# Expected output: Module is enabled
After installation, navigate to:
Admin → Panth Infotech → Notification Bar → Manage Bars
Global settings live at Stores → Configuration → Panth Extensions → Notification Bar. Per-bar behavior is configured on each bar edit page.
| Section | Option | Default | Description |
|---|---|---|---|
| General | Enable Notification Bar | Yes | Master switch for the module |
| General | Max Visible Bars | 3 | Maximum bars rendered simultaneously per page |
| Display | Default Position | top_fixed | Fallback position for new bars |
| Display | Stack Multiple Bars | Yes | Stack bars vertically — if off, only the highest-priority bar is shown |
| Display | Default Animation | slide_down | slide_down, fade_in, or none |
| Display | Z-Index | 9999 | CSS stacking for the bar container |
top_fixed, top_static, bottom_fixed, bottom_floatinginfo, warning, success, promo, urgent, custom0 = session)slide_down, fade_in, or none, plus optional auto-close secondsPanth Notification Bar is distributed under a proprietary license — see LICENSE.txt. One license covers a single Magento installation (production + staging + dev). Contact us for multi-store licensing.
| Module Category | Marketing |
|---|---|
| Best For | All Sizes |
Talk to Kishan directly — written quote, scope and timeline within 24 hours. No sales call.
Notification Bar for Magento 2