Announcement Bar
Composer package kowal/announcement-bar · repository version 1.0.51
Product page
Description
The module displays announcements in the store header. The block loads global announcements and records for the current store view, ordered by ID. It includes records with an active or null status.
For whom
For store managers publishing a short header message across all storefronts or in a single language view.
Features
- Publish announcements in the header.
- Assign a message to the intended store view.
- Set the bar’s background and text colours.
Installation
Composer also installs the kowal/base dependency. From the Magento root run
composer require kowal/announcement-bar
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
Select the store scope in Announcement Bar Settings. Under General Settings enable the bar and set its background and text colours.
Set the announcement text and store view in the admin panel.
Requirements / notes
Global announcements appear alongside messages for the active store view. Check both assignments when reviewing the complete header.
FAQ
Why does the same announcement appear in several languages?
Check whether the record is global. To display different text per language, create a message for each language and assign it to its store view.
Verify the installation
bin/magento module:status Kowal_AnnouncementBar
Open the storefront in that view and then switch to another. A message assigned to one store view should only appear there.