razecode / banner
Razecode Banner Slider for Magento 2
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.4.0
- razecode/base: ^1.0
README
How to install & upgrade Razecode_Banner
1. Install via composer (recommend)
We recommend you to install Razecode_Banner module via composer. It is easy to install, update and maintaince.
NOTE: Please use composer 2 to avoid any error while installing.
Run the following command in Magento 2 root folder.
1.1 Install
composer require razecode/banner
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
1.2 Upgrade
composer update razecode/banner
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Run compile if your store in Production mode:
php bin/magento setup:di:compile
2. Copy and paste
If you don't want to install via composer, you can use this way.
- Download the latest version here
- Extract
master.zip
file toapp/code/Razecode/Banner
; You should create a folder pathapp/code/Razecode/Banner
if not exist. - Go to Magento root folder and run upgrade command line to install
Razecode_Banner
:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Screenshot
Use below code to add Banner on CMS page and Static Block
1. Add banner manually
{{block class="Razecode\Banner\Block\BannerSlider" template="Razecode_Banner::bannerslider.phtml" name="razecode.banner"}}
2. Add banner from admin configuration
Go to:
Store > Configuration > Razecode > Banner Slider > General Configuration > Display Slider from layout xml file (default)
NOTE:
This extension requires base module.
Download Base Module latest version here