Promotional Popup
Composer kowal/module-promocode · Version 1.1.6
Product page
Description
Show a promotional offer after a configured time on the page and let the shopper apply a coupon to the current cart.
For whom
For teams running Magento cart price rule campaigns who need to verify both the offer presentation and the discount actually applied.
Features
- Select an active cart price rule.
- Set the delay, title, description and link text.
- Configure colours, artwork and mobile layout.
Installation
From the Magento root, with Composer access to the Kowal package, run
composer require kowal/module-promocode
bin/magento module:enable Kowal_PromoCode
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
- Create an active coupon rule under Marketing → Promotions → Cart Price Rules for the intended website, customer group and products.
- Under Stores → Configuration → Sales → Promo Code Configuration, select the Cart Price Rule. Set Time Spent (seconds) and the popup text.
- Check the artwork and layout in the target store view. On Hyvä, enable Hyvä → Enable Hyvä mode and refresh configuration, layout and page caches.
Requirements / notes
The package requires Kowal Base and includes a Hyvä adapter. Luma views use the base module. The cart price rule determines discount eligibility.
FAQ
Why did clicking the offer leave the cart total unchanged?
Check the coupon in the cart and review the rule dates, website, customer group and product conditions. Saving the coupon code alone does not confirm a discount.
Verify the installation
bin/magento module:status Kowal_PromoCode
In a fresh test session, add an eligible item, wait for the offer and follow its link. Open the cart, check the coupon and compare the discount with the configured rule. Repeat on a phone.