PHPackages                             mage2kishan/module-notification-bar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mage2kishan/module-notification-bar

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

mage2kishan/module-notification-bar
===================================

Panth Notification Bar — display customizable notification bars, promo banners, countdown timers, and announcement strips on your Magento 2 storefront. Multiple bars with scheduling, page targeting, customer group targeting, geo-targeting, CTA buttons, and dismissible with cookie memory. Hyva + Luma compatible.

1.0.4(3w ago)018proprietaryPHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Apr 16Pushed yesterdayCompare

[ Source](https://github.com/mage2sk/module-notification-bar)[ Packagist](https://packagist.org/packages/mage2kishan/module-notification-bar)[ Docs](https://kishansavaliya.com)[ RSS](/packages/mage2kishan-module-notification-bar/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (7)Versions (6)Used By (0)

Panth Notification Bar for Magento 2 — Promo Bars, Countdown Timers &amp; Announcements (Hyva + Luma) | Panth Infotech
======================================================================================================================

[](#panth-notification-bar-for-magento-2--promo-bars-countdown-timers--announcements-hyva--luma--panth-infotech)

[![Magento 2.4.4 - 2.4.8](https://camo.githubusercontent.com/079c832211eed4f9451ebe264e3865f825b0f9f31b041cbf03676c6e254535d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342e342532302d2d253230322e342e382d6f72616e67653f6c6f676f3d6d6167656e746f266c6f676f436f6c6f723d7768697465)](https://magento.com)[![PHP 8.1 - 8.4](https://camo.githubusercontent.com/56b3cce18841623e2cbed2ebf09b06be1be8807e99e6e054a89d304ab4790b8e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532302d2d253230382e342d626c75653f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://php.net)[![Hyva Ready](https://camo.githubusercontent.com/7f08466bba6766d164eb33b23471c947c6437f815828b8ebdf01f4247d4b3519/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f487976612d52656164792d3134623861363f6c6f676f3d616c70696e65646f746a73266c6f676f436f6c6f723d7768697465)](https://hyva.io)[![Luma Compatible](https://camo.githubusercontent.com/2902eed9be588f567ca061553d73ea3fc0663c4bc2951cb8f6c05b218fb30287/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c756d612d436f6d70617469626c652d6632363332323f6c6f676f3d6d6167656e746f266c6f676f436f6c6f723d7768697465)](https://magento.com)[![Packagist](https://camo.githubusercontent.com/fdbc65b6aa88243f57ccd06d0f6d021762d349b5219fd43e7d366eb2e6ac139f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b61676973742d6d616765326b697368616e2532466d6f64756c652d2d6e6f74696669636174696f6e2d2d6261722d6f72616e67653f6c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/mage2kishan/module-notification-bar)[![Upwork Top Rated Plus](https://camo.githubusercontent.com/6f72584179420c41ed90432fd2579a4ed36199d4229e8181d20f353c1c4ee4eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5570776f726b2d546f702532305261746564253230506c75732d3134613830303f6c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465)](https://www.upwork.com/freelancers/~016dd1767321100e21)[![Panth Infotech Agency](https://camo.githubusercontent.com/401a792e990131002e91054d1b04494af5a2152fcc891ca000eb683786770abf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4167656e63792d50616e7468253230496e666f746563682d3134613830303f6c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465)](https://www.upwork.com/agencies/1881421506131960778/)[![Get a Quote](https://camo.githubusercontent.com/0b6c02cc1ad00f11bf1b0164a9998734bd716473db36cc2a5c1517e3d3578d1b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4765742532306125323051756f74652d46726565253230457374696d6174652d444332363236)](https://kishansavaliya.com/get-quote)

> **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 dismissible cookie memory — all with native Hyva + Luma rendering.

**Panth Notification Bar** gives Magento 2 merchants a complete announcement and promo bar solution without hard-coding banner HTML or relying on flimsy JS snippets. Run unlimited bars — each with its own position (top fixed, top static, bottom fixed, bottom floating), colors or gradient background, icon, CTA button, countdown timer, schedule, and audience — and they automatically stack in priority order with a single cap on the maximum visible at once. Every bar can be scoped to specific store views, customer groups, page types, URL patterns, URL parameters, countries, and devices, and remembers each visitor's dismissal via a configurable cookie window.

The module auto-detects whether your storefront is running **Hyva** (Alpine.js + Tailwind) or **Luma** and renders a matching lightweight template, so you get the best performance on either stack with zero manual configuration.

---

🚀 Need Custom Magento 2 Development?
------------------------------------

[](#-need-custom-magento-2-development)

> **Get a free quote for your project in 24 hours** — custom modules, Hyva themes, performance optimization, M1→M2 migrations, and Adobe Commerce Cloud.

 [ ![Get a Free Quote](https://camo.githubusercontent.com/eac8c45d21cff8b139ddc392325f3bd6c8266a6f3d7b23f15131c958f3d3c8d0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476574253230612532304672656525323051756f74652532302545322538362539322d5265706c7925323077697468696e2532303234253230686f7572732d4443323632363f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com/get-quote)

### 🏆 Kishan Savaliya

[](#-kishan-savaliya)

**Top Rated Plus on Upwork**

[![Hire on Upwork](https://camo.githubusercontent.com/b69353d3c6e192f4d03cc36bb8883612004e32f54dd2dbcc1e700dd791acd875/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f486972652532306f6e2532305570776f726b2d546f702532305261746564253230506c75732d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465)](https://www.upwork.com/freelancers/~016dd1767321100e21)

100% Job Success • 10+ Years Magento Experience Adobe Certified • Hyva Specialist

### 🏢 Panth Infotech Agency

[](#-panth-infotech-agency)

**Magento Development Team**

[![Visit Agency](https://camo.githubusercontent.com/bbf04bdd2aff502082508568ec42ace3a7475c98756f596e2013056c89726ed6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56697369742532304167656e63792d50616e7468253230496e666f746563682d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465)](https://www.upwork.com/agencies/1881421506131960778/)

Custom Modules • Theme Design • Migrations Performance • SEO • Adobe Commerce Cloud

**Visit our website:** [kishansavaliya.com](https://kishansavaliya.com) | **Get a quote:** [kishansavaliya.com/get-quote](https://kishansavaliya.com/get-quote)

---

Table of Contents
-----------------

[](#table-of-contents)

- [Key Features](#key-features)
- [Why Panth Notification Bar](#why-panth-notification-bar)
- [Compatibility](#compatibility)
- [Installation](#installation)
- [Configuration](#configuration)
- [Creating Notification Bars](#creating-notification-bars)
- [Positions, Stacking &amp; Priority](#positions-stacking--priority)
- [Countdown Timers](#countdown-timers)
- [Targeting &amp; Scheduling](#targeting--scheduling)
- [Dismissal &amp; Cookie Memory](#dismissal--cookie-memory)
- [CSS Theming](#css-theming)
- [Troubleshooting](#troubleshooting)
- [FAQ](#faq)
- [Support](#support)
- [About Panth Infotech](#about-panth-infotech)

---

Key Features
------------

[](#key-features)

### Unlimited Bars with Stacking

[](#unlimited-bars-with-stacking)

- **Create unlimited bars** — each with its own content, position, style, and audience
- **Automatic stacking** — multiple bars stack vertically in priority order
- **Max visible cap** — global setting limits how many bars show at once per page
- **Bar types** — `info`, `warning`, `success`, `promo`, `urgent`, `custom` with preset theme colors

### Positioning

[](#positioning)

- **Top fixed** — sticks to the top of the viewport as the user scrolls
- **Top static** — sits at the top of the page but scrolls away with content
- **Bottom fixed** — sticks to the bottom of the viewport
- **Bottom floating** — floating pill at the bottom for subtle announcements

### Rich Content &amp; Styling

[](#rich-content--styling)

- **HTML content** — full HTML / rich text per bar with mobile-specific override
- **Solid color, gradient, or image background** — every bar can be styled independently
- **Text color, font size, height, padding** — fine-tune every visual
- **Icon support** — drop in an icon name for an at-a-glance indicator
- **Custom CSS** — inject per-bar CSS for total design control
- **Theme color presets** — the module ships with 5 preset palettes (info, success, warning, promo, urgent)

### CTA Buttons

[](#cta-buttons)

- **Optional CTA button** per bar with label, URL, and background / text colors
- **Open in new tab** toggle
- **Button styling** inherits bar colors or can be fully overridden

### Live Countdown Timers

[](#live-countdown-timers)

- **End-date countdown** — renders a live `days : hours : minutes : seconds` counter
- **Custom label** — prefix the counter with any text (e.g. *"Sale ends in"*)
- **Expired text** — a fallback message shown after the countdown hits zero
- **Runs entirely client-side** — no server polling, no extra requests

### Targeting (Who Sees What)

[](#targeting-who-sees-what)

- **Store views** — scope bars to specific stores or all stores
- **Customer groups** — target logged-in groups, guests, or any subset
- **Country targeting** — geo-target by ISO country codes
- **Page targeting** — show on all pages, include specific URLs, or exclude specific URLs
- **Page types** — cms, category, product, cart, checkout, customer account, etc.
- **URL patterns** — wildcards supported (e.g. `/sale/*`, `/brand/nike*`)
- **URL parameters** — show only when `?utm_campaign=xyz` or any `key=value` is present
- **Device targeting** — show/hide on mobile or desktop independently
- **Separate mobile content** — shorter copy for small screens when needed

### Scheduling

[](#scheduling)

- **Active-from / active-to dates** — bars automatically appear and expire
- **Auto-close seconds** — dismiss the bar automatically after N seconds
- **Animation in** — `slide_down`, `fade_in`, or `none`

### Dismissal &amp; Cookie Memory

[](#dismissal--cookie-memory)

- **Dismissible toggle** per bar
- **Cookie duration** — remember a dismissal for N days (`0` = session)
- Dismissed bars stay hidden for the configured window even across pages

### Hyva + Luma Dual Support

[](#hyva--luma-dual-support)

- **Hyva template** — Alpine.js only, zero jQuery, Tailwind-friendly classes
- **Luma template** — vanilla JS, no heavy libraries
- **Automatic theme detection** via `Panth\Core\Helper\Theme`
- **Rendered in `after.body.start`** so the bar is painted before the header flicker

### Performance &amp; Quality

[](#performance--quality)

- **MEQP compliant** — passes Adobe's Extension Quality Program
- **Ifconfig-gated** — the block is not built at all when the module is disabled
- **Single database table** with indexed `is_active`, `position`, `date_from/to`, `bar_type`, `sort_order`
- **Composer-installable** — clean dependency resolution via Panth Core
- **Multi-store &amp; multi-language ready**

---

Why Panth Notification Bar
--------------------------

[](#why-panth-notification-bar)

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:

- **Flash sales** with live countdown timers and auto-expiry
- **Segmented promos** — VIP group gets one bar, guests get another
- **Geo-targeted messaging** — EU-only cookie notice, US-only free shipping threshold
- **UTM-driven offers** — show a matching bar only to visitors coming from a specific ad
- **Progressive announcements** — stack a top-fixed flash sale + a bottom-floating social proof
- **Mobile-optimized copy** — short headline on phones, full pitch on desktop

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.

---

Compatibility
-------------

[](#compatibility)

RequirementVersions SupportedMagento Open Source2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8Adobe Commerce2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8Adobe Commerce Cloud2.4.4 — 2.4.8PHP8.1.x, 8.2.x, 8.3.x, 8.4.xMySQL8.0+MariaDB10.4+Hyva Theme1.3+ (Alpine.js template)Luma ThemeNative supportRequired Dependency`mage2kishan/module-core`Tested on:

- Magento 2.4.8-p4 with PHP 8.4 (Hyva 1.3.x)
- Magento 2.4.7 with PHP 8.3 (Luma)
- Magento 2.4.6 with PHP 8.2 (Hyva)

---

Installation
------------

[](#installation)

### Composer Installation (Recommended)

[](#composer-installation-recommended)

```
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
```

### Manual Installation via ZIP

[](#manual-installation-via-zip)

1. Download the latest release ZIP from [Packagist](https://packagist.org/packages/mage2kishan/module-notification-bar) or the [Adobe Commerce Marketplace](https://commercemarketplace.adobe.com)
2. Extract the contents to `app/code/Panth/NotificationBar/` in your Magento installation
3. Ensure `Panth_Core` is also installed (required dependency)
4. Run the same commands as above starting from `bin/magento module:enable`

### Verify Installation

[](#verify-installation)

```
bin/magento module:status Panth_NotificationBar
# Expected output: Module is enabled
```

After installation, navigate to:

```
Admin → Panth Infotech → Notification Bar → Manage Bars

```

---

Configuration
-------------

[](#configuration)

Global settings live at **Stores → Configuration → Panth Extensions → Notification Bar**. Per-bar behavior is configured on each bar edit page.

### Global Settings

[](#global-settings)

SectionOptionDefaultDescriptionGeneralEnable Notification BarYesMaster switch for the moduleGeneralMax Visible Bars3Maximum bars rendered simultaneously per pageDisplayDefault Positiontop\_fixedFallback position for new barsDisplayStack Multiple BarsYesStack bars vertically — if off, only the highest-priority bar is shownDisplayDefault Animationslide\_down`slide_down`, `fade_in`, or `none`DisplayZ-Index9999CSS stacking for the bar container### Per-Bar Options (Summary)

[](#per-bar-options-summary)

- **Content** — HTML bar message (with optional separate mobile content)
- **Position** — `top_fixed`, `top_static`, `bottom_fixed`, `bottom_floating`
- **Bar Type** — `info`, `warning`, `success`, `promo`, `urgent`, `custom`
- **Background** — solid color, gradient CSS, or uploaded image
- **Text color, font size, height, padding, icon, custom CSS**
- **CTA** — enable/disable, label, URL, open-in-new-tab, button colors
- **Countdown** — enable, end datetime, label prefix, expired fallback text
- **Schedule** — active-from and active-to dates
- **Targeting** — stores, customer groups, page-targeting mode, target URLs / page types / countries / URL params
- **Device** — show on mobile, show on desktop, mobile-specific content
- **Dismissal** — dismissible toggle, cookie duration (days; `0` = session)
- **Animation** — `slide_down`, `fade_in`, or `none`, plus optional auto-close seconds
- **Sort Order** — priority for stacking / single-bar selection

---

Creating Notification Bars
--------------------------

[](#creating-notification-bars)

### 1. Add a Bar

[](#1-add-a-bar)

1. Go to **Panth Infotech → Notification Bar → Manage Bars**
2. Click **Add New Bar**
3. Enter an admin **Name** (internal reference) and toggle **Is Active**
4. Pick **Bar Type** (preset palette) and **Position**
5. Write the **Content** (HTML allowed) — add a **Mobile Content** override if desired
6. Style the bar — background type (color / gradient / image), text color, font size, height, padding, icon, optional custom CSS
7. (Optional) Enable **CTA Button** and set its label, URL, new-tab flag, and colors
8. (Optional) Enable **Countdown** and set the end datetime, prefix label, and expired-text fallback
9. (Optional) Set **Active From / Active To** dates for automatic scheduling
10. Set **Targeting** — store views, customer groups, page targeting mode (`all` / `specific` / `exclude`), target URLs, page types, countries, URL params
11. Set **Device** visibility — show on mobile, show on desktop
12. Set **Dismissal** — dismissible, cookie duration
13. Set **Animation**, optional **Auto Close Seconds**, and **Sort Order**
14. Click **Save Bar**

### 2. Preview

[](#2-preview)

- Flush cache: `bin/magento cache:flush`
- Load any storefront page — bars matching the current visitor's audience, schedule, device, URL, and country will render in `after.body.start` before the header paints.

---

Positions, Stacking &amp; Priority
----------------------------------

[](#positions-stacking--priority)

The four positions determine *where* a bar renders:

PositionBehaviorBest For**top\_fixed**Sticky bar pinned to the top of the viewportFlash sales, urgent announcements**top\_static**Top of the page, scrolls away with contentSeasonal greetings, generic info**bottom\_fixed**Sticky bar pinned to the bottom of the viewportFree shipping threshold, live offers**bottom\_floating**Floating pill at the bottom, rounded cornersSocial 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.

---

Countdown Timers
----------------

[](#countdown-timers)

Any bar can show a live countdown timer:

1. Enable **Countdown**
2. Set the **Countdown End Date** (datetime, store timezone)
3. Optionally set a **Countdown Label** (e.g. *"Flash sale ends in"*)
4. Optionally set **Countdown Expired Text** to display once the timer hits zero (e.g. *"Sale has ended."*)

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.

---

Targeting &amp; Scheduling
--------------------------

[](#targeting--scheduling)

### Schedule

[](#schedule)

- **Active From / Active To** — bars are server-filtered by date range, so they do not render at all outside the window (no layout shift, no JS flash).

### Audience

[](#audience)

FieldAccepted ValueExampleStore IDsComma-separated store IDs, `0` = all`1,2`Customer GroupsComma-separated customer group IDs`0,1,3` (guest + general + retailer)Target CountriesComma-separated ISO country codes`US,CA,GB`### Page Rules

[](#page-rules)

- **Page Targeting** — `all`, `specific`, or `exclude`
- **Target URL Patterns** — comma-separated paths, wildcards with `*` (e.g. `/sale/*`, `/brand/nike*`)
- **Target Page Types** — `cms`, `catalog_category`, `catalog_product`, `checkout_cart`, `checkout_onepage`, `customer_account`, etc.
- **Target URL Params** — `key=value` pairs (e.g. `utm_campaign=spring2026`)

### Device

[](#device)

- **Show on Mobile** — toggle
- **Show on Desktop** — toggle
- **Mobile Content** — optional separate content for small screens

---

Dismissal &amp; Cookie Memory
-----------------------------

[](#dismissal--cookie-memory-1)

When **Is Dismissible** is enabled, the bar shows a close (×) button. Once dismissed:

- Dismissal is written to a cookie
- **Cookie Duration** (days) controls how long the dismissal persists — `0` means session-only (cleared when the browser closes)
- Dismissed bars are not re-rendered on subsequent pages until the cookie expires or the bar's content changes

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.

---

CSS Theming
-----------

[](#css-theming)

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.

---

Troubleshooting
---------------

[](#troubleshooting)

IssueCauseResolutionBar not renderingModule disabled or global switch offVerify **Stores → Configuration → Panth Extensions → Notification Bar → Enabled = Yes**Bar not visible but in adminFailed audience / schedule / page filterRe-check store, customer group, country, page targeting, and from/to datesBar flashes then disappearsConflicting bar on same position without stackingEnable **Stack Multiple Bars** or lower **Sort Order** of the priority barCountdown stuckEnd date in the pastUpdate the end datetime and flush cacheDismissed bar never returnsCookie still activeLower **Cookie Duration** or clear cookiesWrong layer order with fixed headerTheme's fixed header has a higher z-indexIncrease **Z-Index** global setting (or per-bar custom CSS)Old template after theme switchCached layout/view filesRun `bin/magento cache:flush` and redeploy static contentBar appears on checkout when not wantedPage 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`.

---

FAQ
---

[](#faq)

### Can I run multiple bars at the same time?

[](#can-i-run-multiple-bars-at-the-same-time)

Yes. Create as many bars as you need. When **Stack Multiple Bars** is enabled, all qualifying bars render together in priority (sort order) ascending, up to the global **Max Visible Bars** cap. When stacking is disabled, only the highest-priority qualifying bar is shown.

### Does it work with Hyva Theme?

[](#does-it-work-with-hyva-theme)

Yes. Panth Notification Bar ships a native **Hyva** template using Alpine.js — no jQuery, no RequireJS shim. The module auto-detects Hyva and swaps the template automatically.

### Does it work with the default Luma theme?

[](#does-it-work-with-the-default-luma-theme)

Yes. A separate Luma template is included using plain vanilla JS. No jQuery plugins or external libraries are required.

### Can I show a bar only to visitors from a specific country?

[](#can-i-show-a-bar-only-to-visitors-from-a-specific-country)

Yes. Use **Target Countries** with a comma-separated list of ISO codes (e.g. `US,CA,GB`). Country detection relies on the store's standard geo-resolution (GeoIP / X-Forwarded-Country, depending on your infra).

### Can I target a bar to a specific UTM campaign?

[](#can-i-target-a-bar-to-a-specific-utm-campaign)

Yes. Add the UTM parameter to **Target URL Params** as `utm_campaign=spring2026`. The bar will render only when that query parameter is present.

### Can I schedule a flash sale bar that self-destructs?

[](#can-i-schedule-a-flash-sale-bar-that-self-destructs)

Yes. Set **Active From** and **Active To** so the bar enters and leaves server-side automatically, enable **Countdown** with the same end datetime as the sale, and optionally set **Auto Close Seconds** so the bar fades out on its own after N seconds.

### How do I stop a user from seeing the same bar forever?

[](#how-do-i-stop-a-user-from-seeing-the-same-bar-forever)

Make the bar **Dismissible** and set a **Cookie Duration** (days). Once they click the × button, it stays hidden for the configured window. Set `0` for session-only dismissal.

### Can I show different content on mobile vs. desktop?

[](#can-i-show-different-content-on-mobile-vs-desktop)

Yes. Either use **Show on Mobile / Show on Desktop** toggles to render different bars per device, or set **Mobile Content** on the same bar for a shorter copy on small screens.

### Can I translate the bar content?

[](#can-i-translate-the-bar-content)

Yes. Bar content supports HTML — combine with Magento's standard `__()` helper in your theme overrides, or simply create one bar per store view and scope each one via **Store IDs**.

### Is it SEO / Core Web Vitals friendly?

[](#is-it-seo--core-web-vitals-friendly)

Yes. The bar block is `ifconfig`-gated, so when the module is disabled it is not built at all. On render, the bar is painted in `after.body.start` which avoids layout shift during the header paint. No external JS libraries are loaded.

### Do I need Panth Core?

[](#do-i-need-panth-core)

Yes. `mage2kishan/module-core` is a required dependency and is installed automatically by Composer. It is **free forever** and provides the unified admin menu and shared utilities for all Panth extensions.

---

Support
-------

[](#support)

ChannelContactEmailWebsite[kishansavaliya.com](https://kishansavaliya.com)WhatsApp+91 84012 70422GitHub Issues[github.com/mage2sk/module-notification-bar/issues](https://github.com/mage2sk/module-notification-bar/issues)Upwork (Top Rated Plus)[Hire Kishan Savaliya](https://www.upwork.com/freelancers/~016dd1767321100e21)Upwork Agency[Panth Infotech](https://www.upwork.com/agencies/1881421506131960778/)Response time: 1-2 business days.

### 💼 Need Custom Magento Development?

[](#-need-custom-magento-development)

Looking for **custom Magento module development**, **Hyva theme customization**, **store migrations**, or **performance optimization**? Get a free quote in 24 hours:

 [ ![Get a Free Quote](https://camo.githubusercontent.com/0d9512dc4f89ef40179e9f650fd0786b6bc846d289ab2cb04a223a43f2833eeb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f254630253946253932254143253230476574253230612532304672656525323051756f74652d6b697368616e736176616c6979612e636f6d2532466765742d2d71756f74652d4443323632363f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com/get-quote)

 [ ![Hire on Upwork](https://camo.githubusercontent.com/fad56e8be7896e39593f090cd2ed32e6bf86b4b6e75974cf292aee99d45f5077/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f486972652532304b697368616e2d546f702532305261746564253230506c75732d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465) ](https://www.upwork.com/freelancers/~016dd1767321100e21) [ ![Visit Agency](https://camo.githubusercontent.com/fdf45a9d937d72b896f5e2557337d47efebc0e06b7ad4d4c162c0a64375a62fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56697369742d50616e7468253230496e666f746563682532304167656e63792d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465) ](https://www.upwork.com/agencies/1881421506131960778/) [ ![Visit Website](https://camo.githubusercontent.com/7455559317a374eb3eb536c5ea201ca2c2a29bc13d82cc127278975a680d552c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5669736974253230576562736974652d6b697368616e736176616c6979612e636f6d2d3044393438383f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com)

**Specializations:**

- 🛒 **Magento 2 Module Development** — custom extensions following MEQP standards
- 🎨 **Hyva Theme Development** — Alpine.js + Tailwind CSS, lightning-fast storefronts
- 🖌️ **Luma Theme Customization** — pixel-perfect designs, responsive layouts
- ⚡ **Performance Optimization** — Core Web Vitals, page speed, caching strategies
- 🔍 **Magento SEO** — structured data, hreflang, sitemaps, meta optimization
- 🛍️ **Checkout Optimization** — one-page checkout, conversion rate optimization
- 🚀 **M1 to M2 Migrations** — data migration, custom feature porting
- ☁️ **Adobe Commerce Cloud** — deployment, CI/CD, performance tuning
- 🔌 **Third-party Integrations** — payment gateways, ERP, CRM, marketing tools

**Industries served:** Fashion &amp; Apparel, Electronics, Health &amp; Beauty, Food &amp; Beverage, Home &amp; Garden, B2B Wholesale, Multi-vendor Marketplaces.

---

License
-------

[](#license)

Panth 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.

---

About Panth Infotech
--------------------

[](#about-panth-infotech)

Built and maintained by **Kishan Savaliya** — [kishansavaliya.com](https://kishansavaliya.com) — a **Top Rated Plus** Magento developer on Upwork with 10+ years of eCommerce experience.

**Panth Infotech** is a Magento 2 development agency specializing in high-quality, security-focused extensions and themes for both Hyva and Luma storefronts. Our extension suite covers SEO, performance, checkout, product presentation, customer engagement, and store management — over 34 modules built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.

Browse the full extension catalog on the [Adobe Commerce Marketplace](https://commercemarketplace.adobe.com) or [Packagist](https://packagist.org/packages/mage2kishan/).

### Quick Links

[](#quick-links)

- 🌐 **Website:** [kishansavaliya.com](https://kishansavaliya.com)
- 💬 **Get a Quote:** [kishansavaliya.com/get-quote](https://kishansavaliya.com/get-quote)
- 👨‍💻 **Upwork Profile (Top Rated Plus):** [upwork.com/freelancers/~016dd1767321100e21](https://www.upwork.com/freelancers/~016dd1767321100e21)
- 🏢 **Upwork Agency:** [upwork.com/agencies/1881421506131960778](https://www.upwork.com/agencies/1881421506131960778/)
- 📦 **Packagist:** [packagist.org/packages/mage2kishan/module-notification-bar](https://packagist.org/packages/mage2kishan/module-notification-bar)
- 🐙 **GitHub:** [github.com/mage2sk/module-notification-bar](https://github.com/mage2sk/module-notification-bar)
- 🛒 **Adobe Marketplace:** [commercemarketplace.adobe.com](https://commercemarketplace.adobe.com)
- 📧 **Email:**
- 📱 **WhatsApp:** +91 84012 70422

---

 **Ready to upgrade your Magento 2 store?**
 [ ![Get Started](https://camo.githubusercontent.com/66dee04430af977df988ac18454416f2f08a5169868a0d0689061b7e8db6f8ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f254630253946253941253830253230476574253230537461727465642532302545322538362539322d4672656525323051756f7465253230696e2532303234682d4443323632363f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com/get-quote)

---

**SEO Keywords:** magento 2 notification bar, magento 2 announcement bar, magento 2 promo bar, magento 2 top bar, magento 2 bottom bar, magento 2 sticky bar, magento 2 countdown bar, magento 2 flash sale bar, magento 2 free shipping bar, magento 2 cookie notice bar, magento 2 urgent alert bar, magento 2 holiday banner, hyva notification bar, hyva announcement bar, luma notification bar, luma announcement bar, alpine js bar magento, magento 2.4.8 bar, magento 2.4.7 bar, panth notification bar, panth infotech, magento 2 top strip, magento 2 bottom floating bar, magento 2 geo targeted bar, magento 2 customer group bar, magento 2 utm targeted bar, magento 2 device targeted bar, magento 2 mobile bar, magento 2 cta bar, magento 2 bar scheduling, magento 2 bar dismissible cookie, magento 2 stacked bars, magento 2 promo strip, magento 2 marketing bar, mage2kishan, mage2sk, hire magento developer, top rated plus magento freelancer, kishan savaliya magento, magento 2 hyva development, magento 2 luma customization, magento 2 performance optimization, magento 2 SEO services, M1 to M2 migration, adobe commerce cloud expert

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance98

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

5

Last Release

25d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/343e344aa298f189db888b32d62f9202d31ced1a5ea23411850a63dc4a30299c?d=identicon)[kishansavaliya](/maintainers/kishansavaliya)

---

Top Contributors

[![KishanSavaliya](https://avatars.githubusercontent.com/u/16853223?v=4)](https://github.com/KishanSavaliya "KishanSavaliya (6 commits)")

---

Tags

magento2magento2 module announcementCountdown Timerpanthnotification-barpromo-barsticky-bar

### Embed Badge

![Health badge](/badges/mage2kishan-module-notification-bar/health.svg)

```
[![Health](https://phpackages.com/badges/mage2kishan-module-notification-bar/health.svg)](https://phpackages.com/packages/mage2kishan-module-notification-bar)
```

###  Alternatives

[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[mollie/magento2

Mollie Payment Module for Magento 2

1131.8M12](/packages/mollie-magento2)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)[loki/magento2-admin-components

Admin Panel grids and forms created via Loki Components

173.7k7](/packages/loki-magento2-admin-components)[mage-os/module-admin-activity-log

The Admin Activity extension makes it easy to track all admin activity with comprehensive audit logging.

293.3k](/packages/mage-os-module-admin-activity-log)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

1310.2k1](/packages/opengento-module-category-import-export)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
