Newsletter Popup
Composer kowal/magento-2-newsletter-popup · Version 1.0.10
Product page
Description
Displays a Magento newsletter signup form in a popup after a configurable delay.
For whom
For stores that invite visitors to subscribe after they have spent a few seconds browsing.
Features
- Delay configured in seconds.
- Editable invitation title and message.
- Browser cookie that remembers when the popup has appeared.
Installation
From the Magento root, with Composer access to the Kowal package, run
composer require kowal/magento-2-newsletter-popup
bin/magento module:enable Kowal_Newsletterpopup
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
- Under Newsletter Popup → Configuration, enable Newsletter Popup.
- Set Delay Before Popup in seconds. Fill in Popup Title and Popup Text. The field descriptions specify a 45-character limit.
- Save and refresh the configuration cache.
Requirements / notes
The package requires kowal/base. The popup uses Magento UI and browser cookies. It is disabled by default.
FAQ
Why does reloading the page not show the popup again?
Opening the popup sets the newsletter cookie to yes. Use a new private browsing session to repeat the test as a first-time visitor.
Verify the installation
bin/magento module:status Kowal_Newsletterpopup
Open the store in a fresh session, wait for the configured delay and compare the heading with the saved value. Submit your own test address and check the subscription status in Magento Admin.