Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce Promo Bar

Security covered Under active development 63 sites

Part of the Commerce ecosystem · 506 projects

Commerce Promo Bar displays customizable promotional messages and notifications on your Drupal site. It allows you to highlight sales, offers, or announcements with features like stacked bars, countdown timers, and flexible styling options, with restrictions based on store, customer role, and path.

Commerce Promo Bar allows stores to display notifications and promotional information via the bar on top pages or any positions.

Highlight your product promotions, sales, other offers, general notification, and potential delays. Add a countdown timer to any promo bar.

Need help using or extending this module?

  • Hire the project maintainers: Vallic offers Drupal Commerce support and development, and runs Vallic Cloud, Drupal hosting.
  • Community support: Use the issue queue.

Customization:

  1. Multiple promo bars can be stacked
  2. One block to display all promo bars
  3. Configurable background and text color from UI
  4. Configurable countdown from UI
  5. WYSIWYG editor to style promo bar message
  6. Simple Twig template for advanced modifications
  7. Option to use tokens from related Commerce Promotion
  8. Fieldable entity, so you can with tokens insert any added field value to the output of promo bar

Available restrictions are per::

  1. Commerce store
  2. Customer role
  3. Start and end date
  4. Path restrictions

Versions

Branch Drupal Commerce Status 2.x 11 3 Supported, new features 1.0.x 10.3, 11 2, 3 Bug fixes only

Caching

The block varies by store, customer role, country and page, and expires when the next scheduled promo bar starts or ends. Cron clears the cache tag for page caches and reverse proxies that ignore max-age.

Decoupled / headless

The same rules the block uses are available as services (loadVisible(), visibility, body processor). The Commerce Promo Bar JSON:API submodule serves them at GET /jsonapi/promo-bars.

Drupal 11 · not 10

Ask your assistant about Commerce Promo Bar

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
11
Tracked since
May 2023
Latest release
2 weeks ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0 Stable 11 Nov 13, 2026
2.0.x-dev Dev 11 Nov 13, 2026
2.x-dev Dev 11 Nov 13, 2026
1.0.6 Stable 10–11 Feb 26, 2025
1.0.5 Stable 10–11 Feb 21, 2025
1.0.4 Stable 9–11 Oct 21, 2024
1.0.3 Stable 9–11 Oct 17, 2024
1.0.2 Stable 9–10 Jun 20, 2024
1.0.1 Stable 9–10 May 4, 2023
1.0.0 Stable 9–10 May 1, 2023