Settings
All settings are located at Stores -> Configuration -> Mirasvit Extensions -> Promo Banner. They apply to the whole installation: the page has no website or store view scope.
tip
To apply the settings, clear the Magento cache after making changes.
General
- Developer Mode: set to
Yesto make the?debug=bannerURL parameter work on the storefront. It shows debug information, including inactive placeholders. Keep itNoon a live store.
Slider
Slider placeholders are built on the Swiper library, which ships with the extension. Nothing has to be installed separately.
- Swiper library source: where the storefront loads Swiper from.
- Bundled with the extension (default): Swiper is served from your store's own domain, like the rest of the extension's static files. No third-party host has to be allowed in the store's Content Security Policy.
- jsDelivr CDN: the same Swiper version is loaded from
cdn.jsdelivr.netwith an integrity check. The option name shows the exact version it loads. While this option is selected, the extension allows that host in the store's Content Security Policy. - Do not load: the extension does not load Swiper at all. Choose it only when your theme already includes Swiper and exposes it as
window.Swiper. Otherwise slider placeholders stay static.
Analytics
- Enable collecting banner stats: enable this option to allow the extension to collect banner impressions and clicks.
Statistics for each banner are available on the Banners list page.
tip
Analytics are tracked in real time — no need to configure a cron job. When a unique visitor sees your banner, it counts as +1 Impression. If they click the banner and follow the link, it counts as +1 Click.