PHPackages                             magepow/promotionbar - 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. magepow/promotionbar

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

magepow/promotionbar
====================

Promotionbar extension for Magento helps you create promotionbar for your website.

1.0.0(3y ago)082OSL-3.0PHP

Since Nov 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/magepow/magento-2-promotion-bar)[ Packagist](https://packagist.org/packages/magepow/promotionbar)[ RSS](/packages/magepow-promotionbar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![](https://github.com/magepow/themeforest/raw/master/shopify/shopify_affiliate.jpg)](https://shopify.pxf.io/VyL446)

Magento 2 Promotion Bar
-----------------------

[](#magento-2-promotion-bar)

Magento 2 Promotiobar is a module allows admin to show their promotion banner at some positions of the pages to attract customers about promotions.

### Benefits

[](#benefits)

- Create promotionbar according to image, text,...
- Show promotionbar on 3 positions: menutop, top content, bottom page
- Show promotionbar on cms pages, product pages, category pages
- Save time for the project
- Apply precedence rule to promotionbar
- Manage promotionbar rules in the backend
- Works well on mobile devices

Download Magento 2 Promotionbar Extension
-----------------------------------------

[](#download-magento-2-promotionbar-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/de2ae601e7dfbdf6d08e0bfbdec59aa395cc8c8461512e2d85086fa031b4cbfa/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706f772f70726f6d6f74696f6e6261722f762f737461626c65)](https://packagist.org/packages/magepow/promotionbar)[![Total Downloads](https://camo.githubusercontent.com/17d625ca3d6ccc88b73d0a523e7550a7c15c9c7c301f0bbc6bc255f5b67f24c4/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706f772f70726f6d6f74696f6e6261722f646f776e6c6f616473)](https://packagist.org/packages/magepow/promotionbar)[![Daily Downloads](https://camo.githubusercontent.com/28a0abda0421da760352b182a6ffe327d2a9d30aee3f0aa881ca0449c2d997d8/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706f772f70726f6d6f74696f6e6261722f642f6461696c79)](https://packagist.org/packages/magepow/promotionbar)

### Install via composer (recommend)

[](#install-via-composer-recommend)

Run the following commands in Magento 2 root folder:

```
composer require magepow/promotionbar
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

```

Step 2: How to use Magento 2 Promotionbar?
------------------------------------------

[](#step-2-how-to-use-magento-2-promotionbar)

### 1. General configuration

[](#1-general-configuration)

Login to magento admin, choose `stores->configuration->magepow->Promotion bar`

[![Image of magento admin config](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/config_general.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/config_general.png)

- Module enable: Select `yes` to enable module
- Show slider: Select `yes` to enable slider
- Show Slider Control: Select `yes` to enable previous/next control
- Auto speed slider (seconds): Transit time for slider.

### 2. Details Configuration

[](#2-details-configuration)

#### 2.1 Add, Edit Prmotionbar

[](#21-add-edit-prmotionbar)

Choose `Magepow->Promotionbar Management->Add New Promotionbar Rule`.

##### 2.1.1 General Information

[](#211-general-information)

[![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_general_1.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_general_1.png)[![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_general_2.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_general_2.png)[![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_general_3.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_general_3.png)

- Name: Name of your promotionbar management rule
- Store View : Define which store view you wish to show
- Customer Group : Define which customer group you wish to show
- Sort order : This part is used for the priority. If there is any rule have the same information. then the one which lower number will have the higher priority.
- Status: Select Enable/Disable for turning on/off the size chart rule.
- Start at: Show promotionbar at time
- End at : Turn off promotionbar at time.

##### 2.1.2 Rule Information

[](#212-rule-information)

[![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_rule_1.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_rule_1.png)[![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_rule_2.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_rule_2.png)[![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_rule_3.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_rule_3.png)

- Position: Select postion for the promotionbar
- Select Page: Select home page, checkout page, cart page
- Category Page(s): Select category page to show promotionbar
- Show on product page: Select yes/no to turn on/ turn off the product page and add rule for product if you turn on show on product page mode.

    ##### 2.1.3 Design Information

    [](#213-design-information)

    [![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_design.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_design.png).

#### 2.2 Delete Promotionbar

[](#22-delete-promotionbar)

[![Image of magento backend](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/promotionbar_delete.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/promotionbar_delete.png)

Run the following command

```
php bin/magento cache:clean

```

Or go to `admin -> tools -> cache management` and click on flush magento cache to get the result

#### 2.3. Result

[](#23-result)

[![Image of magento store front](https://github.com/magepow/magento-2-promotion-bar/raw/master/media/result.png)](https://github.com/magepow/magento-2-promotion-bar/blob/master/media/result.png)

Donation
--------

[](#donation)

If this project help you reduce time to develop, you can give me a cup of coffee :)

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/paypalme/alopay)

**[Our Magento 2 Extensions](https://magepow.com/magento-2-extensions.html)**

- [Magento 2 Recent Sales Notification](https://magepow.com/magento-2-recent-order-notification.html)
- [Magento 2 Categories Extension](https://magepow.com/magento-categories-extension.html)
- [Magento 2 Sticky Cart](https://magepow.com/magento-sticky-cart.html)
- [Magento 2 Ajax Contact](https://magepow.com/magento-ajax-contact-form.html)
- [Magento 2 Lazy Load](https://magepow.com/magento-lazy-load.html)
- [Magento 2 Mutil Translate](https://magepow.com/magento-multi-translate.html)
- [Magento 2 Instagram Integration](https://magepow.com/magento-2-instagram.html)
- [Magento 2 Lookbook Pin Products](https://magepow.com/lookbook-pin-products.html)
- [Magento 2 Product Slider](https://magepow.com/magento-product-slider.html)
- [Magento 2 Product Banner](https://magepow.com/magento-2-banner-slider.html)

**[Our Magento 2 services](https://magepow.com/magento-services.html)**

- [PSD to Magento 2 Theme Conversion](https://alothemes.com/psd-to-magento-theme-conversion.html)
- [Magento 2 Speed Optimization Service](https://magepow.com/magento-speed-optimization-service.html)
- [Magento 2 Security Patch Installation](https://magepow.com/magento-security-patch-installation.html)
- [Magento 2 Website Maintenance Service](https://magepow.com/website-maintenance-service.html)
- [Magento 2 Professional Installation Service](https://magepow.com/professional-installation-service.html)
- [Magento 2 Upgrade Service](https://magepow.com/magento-upgrade-service.html)
- [Magento 2 Customization Service](https://magepow.com/customization-service.html)
- [Hire Magento 2 Developer](https://magepow.com/hire-magento-developer.html)

**[Our Magento 2 Themes](https://alothemes.com/)**

- [Expert Multipurpose Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/expert-premium-responsive-magento-2-and-1-support-rtl-magento-2-/21667789)
- [Gecko Premium Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/gecko-responsive-magento-2-theme-rtl-supported/24677410)
- [Milano Fashion Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/milano-fashion-responsive-magento-1-2-theme/12141971)
- [Electro 2 Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/electro2-premium-responsive-magento-2-rtl-supported/26875864)
- [Electro Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/electro-responsive-magento-1-2-theme/17042067)
- [Pizzaro Food responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/pizzaro-food-responsive-magento-1-2-theme/19438157)
- [Biolife organic responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/biolife-organic-food-magento-2-theme-rtl-supported/25712510)
- [Market responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/market-responsive-magento-2-theme/22997928)
- [Kuteshop responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/kuteshop-multipurpose-responsive-magento-1-2-theme/12985435)
- [Bencher - Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/bencher-responsive-magento-1-2-theme/15787772)
- [Supermarket Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/supermarket-responsive-magento-1-2-theme/18447995)

**[Our Shopify Themes](https://themeforest.net/user/alotheme)**

- [Dukamarket - Multipurpose Shopify Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/dukamarket-multipurpose-shopify-theme/36158349)
- [Ohey - Multipurpose Shopify Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/ohey-multipurpose-shopify-theme/34624195)
- [Flexon - Multipurpose Shopify Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/flexon-multipurpose-shopify-theme/33461048)

**[Our Shopify App](https://apps.shopify.com/partners/maggicart)**

- [Magepow Infinite Scroll](https://apps.shopify.com/magepow-infinite-scroll)
- [Magepow Promotionbar](https://apps.shopify.com/magepow-promotionbar)
- [Magepow Size Chart](https://apps.shopify.com/magepow-size-chart)

**[Our WordPress Theme](https://themeforest.net/user/alotheme/portfolio)**

- [SadesMarket - Multipurpose WordPress Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/sadesmarket-multipurpose-wordpress-theme/35369933)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

Unknown

Total

1

Last Release

1286d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49830061?v=4)[https://magepow.com](/maintainers/magepow)[@magepow](https://github.com/magepow)

---

Top Contributors

[![thuythunguyen](https://avatars.githubusercontent.com/u/34784293?v=4)](https://github.com/thuythunguyen "thuythunguyen (12 commits)")[![magiccart](https://avatars.githubusercontent.com/u/10281371?v=4)](https://github.com/magiccart "magiccart (5 commits)")[![davidduong90](https://avatars.githubusercontent.com/u/39608917?v=4)](https://github.com/davidduong90 "davidduong90 (1 commits)")

### Embed Badge

![Health badge](/badges/magepow-promotionbar/health.svg)

```
[![Health](https://phpackages.com/badges/magepow-promotionbar/health.svg)](https://phpackages.com/packages/magepow-promotionbar)
```

###  Alternatives

[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

45212.0k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

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