Promotion Bar
Extension Installation
For Magento Marketplace Customers
-
Find the Composer name and version of the extension in the extension's composer.json file.
-
Login to your SSH and run:
- composer require mavenbird/module-special-promotions
- Wait for Composer to finish updating your project dependencies and make sure there aren't any errors.
-
To verify that the extension installed properly, run the command:
- php bin/magento module:status Mavenbird_Promotions
- By default, the extension is probably disabled.
- Enable the extension and clear static view files:
- php bin/magento module:enable Mavenbird_Promotions --clear-static-content
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy --f
- php bin/magento cache:flush
For Mavenbird Customers
- Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
- Login to your SSH and run below commands step by step:
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy --force
- php bin/magento cache:flush
Short Description
Promotion Bar Extension For Magento 2 allows you to build unlimited notification bars for your customers to update their promotions, as well as relevant details for customers and visitors to get attention.
General Configuration
Go to Stores ⇒ Configuration ⇒ MageMoto ⇒ Promotion Bar.
Enable- Select Yes to enable or No to disable the extension.
Display “Close” Button- Select yes in the top right position of the promotional banner to show the "Close" button. With this button, customers can close the bar manually.
Display Multiple Promotion Bars- If you choose Yes, slider banners are shown with the same position on the page. To obtain the best results, use the same resolution images.
Enable Slide Control- To show the "Previous" and "Next" on the slider, select Yes.
Enable Slider Pagination- To allow slider pagination, choose Yes.
Autoplay Speed of Slider- Choose the time to automatically transit for the slider. Count in seconds.
Auto Close Slider After- Set the time to automatically close the slider. Count in seconds. Enter 0 to deactivate the automatic closure function.
Manage Promotion Bar
Go to Marketing ⇒ MageMoto ⇒ Promotion Bar ⇒ Manage Promotion Bar.
Manage Promotion Bar grid- The Manage Promotion Bar grid as a standard in the default Magento 2 grid is built. A new banner can be created, all promotion bars developed and managed here.
You will be guided to the New Promotion Bar Page after clicking on the Create New Promotion Bar button. There are 3 main areas: General, Display Rule, Content, and Design.
GENERAL
Enable- Select either "Yes," to enable or "No" to disable the new promotion bar.
Name- Enter the latest promotion bar's name.
Store Views- Select one or more store views to display your new promotion banner.
Customer Groups - Choose which customer groups the new promotion bar will represent.
Start Date - To conveniently choose the start date to show the new promotional bar, use the calendar display. In yyy-mm-dd hh:mm:ss, or yyyy-mm-dd format. For example:
End Date - To delete the new promotion bar, select the expiry date. In yyyy-mm-dd hh:mm:ss or yyyy-mm-dd format
Priority - Enter a priority number for the new promotion bar. Don't leave it blank
This field's value specifies which promotion bar is a priority should only one banner with the highest priority among the numerous promo banners created at the same location shown when you select NO in "Display multiple promotion Bars," in the Configuration part.
DISPLAY RULE
Display on Page- Choose which new promotion bar page to view.
Exclude Categories- Enter the ID for categories the Display Rule to be omitted. For example, 3,4,5. On each listed category page the promotional banner is hidden.
Exclude Products- Enter a Display Rule ID of the products to be omitted. For example 3,4,5. On any product page, you specify the promotion banner is concealed.
Position- To set the position of the new promotion tab, select one of the 5 following options.
Auto Close Promotion Bar After- Choose the time to automatically close a new promotion bar. Count in seconds, Enter 0 to disable the automatic closure function.
CONTENT AND DESIGN
Content- To enter text, download images, and edit content for the new promotion bar, use the WYSIWYG editor. You can pick only one image per bar.
Background Color- To choose the background color, use the color picker. For instance:
Height- Set the height of the new promotion bar in a number (pixel count).
To save all settings, click the Save Promotion Bar button.