---
title: 'Promotional Popup'
url: 'https://info.srv.kowal.co/docs/magento/modules/promocode'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/promocode.md'
lang: en
date: '2026-11-30'
description: 'Choose a cart price rule and set how long visitors stay on a page before the offer appears. Customize the popup and test applying the coupon to an eligible cart.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - promotions
    - coupons
---

# Promotional Popup

**Composer** `kowal/module-promocode` · **Version** 1.1.6

## Product page

[Promotional Popup — kowal.co](https://kowal.co/promotional-popup-module-for-magento-2)

## 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

```sh
composer require kowal/module-promocode
bin/magento module:enable Kowal_PromoCode
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Create an active coupon rule under **Marketing → Promotions → Cart Price Rules** for the intended website, customer group and products.
2. Under **Stores → Configuration → Sales → Promo Code Configuration**, select the **Cart Price Rule**. Set **Time Spent (seconds)** and the popup text.
3. 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

```sh
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.

## Components included in Promotional Popup

 [ **Promotional Popup Hyvä** Display the promotional offer popup in Hyvä and let shoppers retrieve a coupon, dismiss the offer or reopen it from the launcher. ](https://info.srv.kowal.co/docs/magento/modules/promocode/promocode-hyva)

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Category Gallery Hover](https://info.srv.kowal.co/docs/magento/modules/module-product-gallery-hover.md)
- Next: [Product Attribute Copy](https://info.srv.kowal.co/docs/magento/modules/product-attr-copy.md)
- Children:
  - [Promotional Popup Hyvä](https://info.srv.kowal.co/docs/magento/modules/promocode/promocode-hyva.md)
