Skip to content

Magento 2 free open source extension displaying notice at the top of the page, useful for COVID-19 affected merchants

License

Notifications You must be signed in to change notification settings

magenable/module-top-bar-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magenable_TopBarNotification

Top Bar Notification is a Magento 2 extension to display a banner/notice at the top of Magento store pages, before all other content.

The extension was developed as a quick way to display COVID-19 notice, but can be used for other notices as well

PWA Studio

The extension for Magento PWA Studio can be found here: https://www.npmjs.com/package/@magenable/top-bar-notification

Hyvä themes

The module for compatibility with the Hyvä theme can be found here: https://gitlab.hyva.io/hyva-themes/hyva-compat/magento2-magenable-top-bar-notification

Breeze themes

This module is compatible with Swissup/breeze themes

Final result

magenable_top_bar_notification_result

Installation

Composer

Run the following command in Magento 2 root folder

composer require magenable/module-top-bar-notification
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

User Guide

Configuration

Go to Stores > Settings > Configuration > Magenable Extensions > Top Bar Notification.

General Settings

magenable_top_bar_notification_general Set Enabled to 'YES'.

Design Settings

For HTML content magenable_top_bar_html_content

  1. You have to set Content Type to 'HTML'
  2. Insert the html-content to display to users

For text content magenable_top_bar_text_content

  1. You have to set Content Type to 'text'
  2. Insert the text to display to users
  3. Insert font size
  4. Insert an exadecimal value to set the color of Background color
  5. Insert an exadecimal value to set the color of Text color

Pages to show/hide (optionally) magenable_top_bar_text_content Insert page(s) to show/hide this notification

Compatibility

Tested with Magento Open Source 2.3.2-2.3.4, but will probably work with older Magento 2.X versions and Magento Commerce

About developer

The extension is developed by Magenable (https://magenable.com.au), eCommerce consultancy specializing in Magento based in Melbourne, Australia

About

Magento 2 free open source extension displaying notice at the top of the page, useful for COVID-19 affected merchants

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published