Introduction
The Magento 2 Free Banner Image Slider Extension by FMEextensions enables store owners to showcase promotional banners across various pages of their website. With customizable slider settings, targeted display options, and scheduling capabilities, this extension enhances the visual appeal of your store and drives customer engagement.
Key Features
- Display banners on Home, Product, Category, and Cart pages
- Show images in an attractive slider format
- Customize slider settings including animation effects and transition speed
- Set banner dimensions and position
- Define sorting order of banner images
- Specify display duration with start and end dates
- Restrict banner visibility by store views and customer groups
- One-click enable/disable option
Compatibility
This extension is compatible with the following Magento versions.
- 2.1.x
- 2.2.x
- 2.3.x
- 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Installation Guide
Download Banners from your account dashboard. Now you have the following 2 methods to install the extension.
Method 1
- Unzip fme_banner-slider-x.x.x.zip to a local folder.
- Make folder FME into your_magento_directory/app/code/ (if you don't find code folder within app folder, please create it first).
- Create the following folders (as mentioned in step 2):
- app/code/FME
- app/code/FME/Banners
- Copy all the contents from fme_banner-slider-x.x.x to newly created Banners folder.
- Now open console or shell.
- Go to your Magento directory and run the following commands:
- php bin/magento module:enable FME_Banners
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy -f (-f may not work in Magento versions less than 2.2.x.)
- chmod command for var/ pub/static and generated/ folders
- Reload the Magento admin and you will see FME Extensions on the left side menu of your admin panel.
Method 2
- Unzip fme_banner-slider-x.x.x.zip to a local folder.
- Make folder FME into your_magento_directory/app/code/ (if you don't find code folder within app folder, please create it first).
- Create the following folders (as mentioned in step 2):
- app/code/FME
- app/code/FME/Banners
- Copy all the contents from fme_banner-slider-x.x.x to newly created Banners folder.
- Go to your_magento_directory/app/etc/
- Open config.php file in etc folder
- Add the following line in $modules array at the end ‘FME_Banners’=>1,
- Now open console or shell.
- Go to your Magento directory and run the below commands
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy -f (-f may not work in Magento versions less than 2.2.x.)
- chmod command for var/ pub/static and generated/ folders
- Reload the Magento admin and you will see FME Extensions on the left side menu of your admin panel.
GraphQL APIs
1. Get All Banners
query FmeBanners {
fmeBanners {
bannerimage
bannerimage_url
banners_id
from_date
link
sort_order
target
title
to_date
}
}
2. Get Banners by Store ID
query FmeBanners {
fmeBanners(store_id: 1) {
bannerimage
bannerimage_url
banners_id
from_date
link
sort_order
target
title
to_date
}
}
3. Get Banners by Customer Group ID
query FmeBanners {
fmeBanners(customer_group_id: 1) {
bannerimage
bannerimage_url
banners_id
from_date
link
sort_order
target
title
to_date
}
}