Skip to content

How to install Announcement Bar extension

There are two ways you can install this AnnouncementBar extension in your Magento 2 eCommerce store. Please find these both ways below -

Composer Installation

Run the following commands in Magento 2 root directory to either install or update the Navigate_AnnouncementBar module via composer.

composer require navigate/magento-2-announcementbar
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
composer update navigate/magento-2-announcementbar
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Run the below command if your store is in the production mode:

php bin/magento setup:di:compile

Manual Installation

If you prefer to install this module manually, kindly follow the steps described below –

  • Download the latest version.
  • Once you download the module, go to app/code/ and follow the steps explained below –
    • Create a Navigate folder.
    • Then, go inside the Navigate folder and create another folder AnnouncementBar
  • Once you create AnnouncementBar folder, extract the zip file of the module into it.
  • Then, navigate back to Magento root directory and execute the below commands in sequence.
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Last update: 2024-02-19