All modulesMagento 2 module

Discount popup and spin wheel

The visitor enters an e-mail address and gets a single-use discount code that is already in the cart, at once or after confirming the newsletter. The pop-up shows on exit intent or after a time, waits for the cookie banner, and the statistics show sign-ups and the revenue of orders with codes. A spin to win wheel is in the same module.

Available on Adobe Commerce Marketplace

€240 + VAT · one-off licence, installation optional

www.degriz.eu
The visitor enters an email address, spins the wheel and gets a discount code
About the module

What it does.

"Plenty of people visit, but almost nobody signs up for the newsletter." Most visitors leave without buying and without leaving an e-mail address, and you have no way to write to them later.

What it looks like in practice

A visitor browses the store for a few minutes, then moves the mouse towards the tabs to close the page. That is when the "10% off your first order" pop-up opens. She types her e-mail address and clicks I want the discount. The pop-up shows her a single-use code marked Already in your cart, and she sees the discount in the cart and at checkout. If she does not buy right away, a reminder with the code and its remaining validity waits at the top of the store. If the store asks subscribers to confirm, the code arrives only after the confirmation link is clicked, so only real addresses get codes.

What changes

  • A discount for the newsletter sign-up. A percentage or an amount, free shipping, an existing cart price rule with generated codes, or a sign-up with no discount. A minimum cart value if you want one.
  • One single-use code per address, already in the cart. The code is valid 7, 14 or 30 days and goes into the cart at once, or with the first product if the cart is empty. If the cart already has another code, the shopper chooses which one to keep. Expired codes are removed from the cart.
  • Code after double opt-in or right away. Where Magento asks new subscribers to confirm, the code is issued and sent after the confirmation. Without a confirmation, the shopper gets it at once.
  • New subscribers only. An address that already gets the newsletter receives no new code, and the form's answer does not reveal who is subscribed.
  • Consent the way you need it. Fine print under the button (signing up is the consent) or a required checkbox, for example for Germany and Austria. The exact wording the visitor saw is stored with every sign-up.
  • It shows at the right moment. On computers on exit intent (the mouse moves towards the tabs), after a time or a number of pages viewed. On phones after idle time, on a quick scroll back up or on a return to the tab. The Back button is never changed.
  • It does not jump over the cookie banner. The pop-up waits while an unanswered cookie banner is open (Magento, Hyvä, Swissup GDPR, Cookiebot, CookieYes, Complianz, OneTrust) and shows on the next trigger.
  • A reminder with the code. After the sign-up a bar at the top of the page shows the code, a copy button and how long it is still valid. Whoever closes the pop-up can open it again from a small tab at the edge.
  • Four looks. Light, dark, Christmas or in your store colours, a card with a picture or without. A centred pop-up on computers, a bottom sheet on phones with the button above the keyboard.
  • Spin to win wheel in the same module. Instead of the pop-up you can choose the wheel: the visitor enters an e-mail address, spins and gets a code. The server draws the prize by weight, and the odds are published.
  • Statistics and the sign-ups list. Impressions, sign-ups, confirmed sign-ups, codes used and the revenue of orders with codes, by day, trigger and device. A sign-ups list with CSV export, anonymisation and a Send the code button.
  • Moving from Newsletter Popup. If you use our Newsletter Popup module, you move its settings with one click; the new pop-ups start in test mode, so nothing changes for shoppers until you switch them on.

Who it is for

Stores that want more newsletter subscribers and more first orders, without an outside tool or a monthly subscription. Sign-ups, codes and statistics stay in your own Magento.

How you set it up

On first use, Marketing › Discount Popups › Campaigns asks what you want: the classic discount pop-up or the spin to win wheel. You then pick a look and the offer, try the pop-up with the preview link and switch it on. Texts for each language, timing, frequency, consents and duration are set in the campaign. If you prefer, we set it up for you.

Good to know

  • Two layouts are available now: a card with a picture and a card without one. A corner card, a bar at the top of the page and A/B testing of offers come later.
  • The privacy wording is yours: you link your privacy policy page in the campaign and describe the purpose (code and newsletter) and the retention period in the policy. The module is not legal advice.
  • Codes and confirmations are sent by e-mail, so the store must send e-mail reliably (working SMTP) and cron must run.
  • A phone cannot detect an intent to leave; there the pop-up opens on similar behaviour (idle time, a quick scroll back up, a return to the tab).
  • The code after the confirmation works when Magento asks new subscribers to confirm. For guests to sign up, guest subscriptions must be allowed in the newsletter settings.
  • Supports Magento 2.4.6 to 2.4.9 and PHP 8.1 to 8.4, the Luma and Hyvä themes. We tested it on 2.4.9 with both.

Want it in your store?

Install it yourself or choose installation and configuration when you order. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
The classic discount pop-up with the offer, an email field and fine print about signing up
www.degriz.eu
After signing up the shopper sees the code, can copy it and also gets it by email
www.degriz.eu
The spin wheel: prizes, odds and rules are shown openly
www.degriz.eu
The wheel stops on a prize; the code is valid for a set time and is added to the cart by itself
www.degriz.eu
Campaigns in the admin: type, status, shown, sign-ups, codes used and revenue
www.degriz.eu
Editing the wheel: prizes, weight and odds of each segment, with a live preview
Installation

How to install it.

You get the module from our private Composer repository; we send you the user name and access key after purchase. We can install it for you, or whoever looks after your store can run these commands in the root of the Magento 2 store (replace UPORABNIK and DOSTOPNI_KLJUC with the user name and access key you received):

composer config repositories.degriz composer https://www.degriz.net/konfigurator/composer/packages/composer config --auth http-basic.www.degriz.net UPORABNIK DOSTOPNI_KLJUCcomposer require degriznet/m2_spinwheelphp bin/magento module:enable Magelan_Base Magelan_SpinWheelphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

On a Hyvä theme run php bin/magento hyva:config:generate once after installing and rebuild the theme CSS. The module needs cron (code e-mails, order attribution) and working outgoing e-mail.

After installing, open Marketing › Discount Popups › Campaigns: since there are no campaigns yet, the first-run page "What do you want?" opens, where you choose the classic discount pop-up or the spin to win wheel.

Where do I get the user name and the access key?

After the payment we e-mail you a link to create the access key. Keep the key safe: for security it is shown only once and we do not keep it in readable form. The user name (your project code) and all the commands, ready to copy, are in your account under My account > Module licences.

Lost the key? Create a new one in your account under Module licences; the old one stops working.

Technical details

Compatibility.

Just the facts.

Code
degriz_exitintent
Platform
Magento 2
Licence
One-off
Testing
Fully tested on our staging stores with demo content, not yet running in a live shop. When we install it, we check it together with you and adjust it to your shop.
Change log

Version 3.1.9 · 27 Nov 2026

  • The close button no longer shows the red keyboard focus ring when the popup opens: the heading takes the opening focus, so the ring appears only when the keyboard is used.

Version 3.1.8 · 26 Nov 2026

  • On phones the spin wheel also opens for a visitor who tapped the cookie banner before the wheel loaded (before, only at the next touch).

Version 3.1.7 · 26 Nov 2026

  • After an upgrade from version 1 the migrated campaigns are named in the shop's language instead of English.

Version 3.1.6 · 26 Nov 2026

  • On Hyvä the spin wheel waits for the visitor's cookie decision and no longer opens over the cookie banner.

Version 3.1.5 · 25 Nov 2026

  • Attributing orders to pop-up sign-ups works again (the job had failed on every run since 3.0).

Version 3.1.4 · 25 Nov 2026

  • The spin wheel opens automatically only after the visitor has touched, moved the mouse or scrolled. Robots and speed tests no longer see it; visitors see it as before.

Version 3.1.3 · 24 Nov 2026

  • Spin wheel on phones: the round tab is 44 px like the other round corner buttons and joins their row (centred on the same line, 12 px after the last one) instead of stacking above them.

Version 3.1.2 · 24 Nov 2026

  • Spin wheel: while another Magelan pop-up is open (push invitation, video feed, loyalty panel) the teaser tab steps aside and comes back when it closes, instead of being a button that does nothing.

Version 3.1.1 · 23 Nov 2026

  • Spin wheel: the teaser tab moves up above small fixed buttons already in its bottom corner (cookie settings, loyalty points, chat) instead of covering them. Checked when it appears, after a click and on resize.

Version 3.1.0 · 14 Nov 2026

  • Targeting by category, product, cart contents and traffic source (for example google, facebook, newsletter).
  • Every sign-up raises an event with the source, the prize and the code, for your e-mail tool.
  • A Requirements box in the settings tells why the popup does not open yet.
  • The CSV export of the sign-ups has source and campaign columns.
  • Uninstalling the module now removes its tables, settings and coupon rules.

Version 3.0.0 · 15 Oct 2026

  • The discount popup and the spin wheel are now one module: you choose a campaign as a popup with a discount code or as a spin to win wheel.
  • One campaigns list for both types (under Marketing, Popup and Wheel) with switch on, duplicate and delete, one settings page and one list of user rights.
  • Upgrading from Magelan SpinWheel carries over the wheels, prizes, players, issued codes, statistics, settings and user rights. The old module data stays untouched.
  • The wheel looks and works the same as before, on Luma and Hyvä, on desktop and on phones.
  • If the old SpinWheel module is still enabled, the admin tells you and the old module keeps running the wheel. A popup and a wheel never open together.
  • Create a new newsletter sign-up popup with the New campaign button; the classic popups of SpinWheel 1.x keep working, and the import from Newsletter Popup 1.0 is gone because the module upgrades 1.x by itself.
  • Requires PHP 8.2 or newer.

Version 2.0.0 · 15 Oct 2026

  • The module is now what its name promises: a welcome offer pop-up that issues its own discount code.
  • Several campaigns per store view, a wizard with ready presets and a live preview. Luma and Hyvä from one core.
  • An offer with a managed price rule and a single-use code for each address. The code shows on screen and applies in the cart, and is also e-mailed or sent after double opt-in confirmation. The expiry is enforced in the cart too.
  • Triggers: time, exit intent, chosen pages, scroll and phone equivalents. It waits for the cookie banner and does not overlap other pop-ups.
  • An optional SMS step through the Magelan Signal module.
  • A/B test of the offer or texts, with one click to apply the winner.
  • A report down to orders and revenue, and a sign-ups list with masked e-mails, unmask, export and delete.
  • Privacy: a record of the consent text, data retention and anonymisation.
  • Upgrading from 1.x keeps settings and data. The module no longer needs other Magelan modules and PHP 8.1 is no longer supported.

Version 1.0.1 · 11 Oct 2026

  • Settings are grouped in the Magelan tab and menus sit in natural places.
  • Slovenian translations of setting labels and comments.

Version 1.0.0 · 17 Jul 2026

  • First release: a newsletter sign-up pop-up.
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

Installation and configuration are optional: choose them when you order and the price is added to the order (+ VAT). If more time is needed, we bill the rest separately.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes 12 months of free updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

Discount popup and spin wheel

€240 + VAT

One-off licence for one store, no subscription. Installation and configuration are optional.

After payment you get the licence and access to our private repository: immediately with a card or PayPal, with a bank transfer (UPN) as soon as we receive the payment. 12 months of free updates are included.

Write to us

Install it yourself by following the guide, or choose installation and configuration above. If more time is needed, we bill the rest separately. We agree on a date after reviewing the request.

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · +386 40 807 231

Discount popup and spin wheel€240 + VATAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.