All modulesMagento 2 moduleVersion 1.0.6 · 15 Oct 2026

Advent and promo calendar

A calendar with doors that open day by day: a discount code, a product offer, content or a link behind each one.

€390 + VAT · one-off licence, no subscription

Advent and promo calendar
About the module

What it does.

"Every December we build the advent calendar by hand and it costs us a whole week." Publishing codes and offers by hand every day is tiring, it gets forgotten, and discounts quickly leak onward.

What it looks like in practice

You pick the Advent preset and a year. The module creates 24 doors with their texts. For each door you decide what is behind it: a discount code, a product, content or a link. A visitor comes to the calendar page, enters an email address and opens a new door each day. If a code is waiting behind it, they copy it or press "Apply to cart". The clock is the server's, so changing the time on the computer opens nothing.

What changes

  • Four door types. A discount code (your cart price rule, shown as the rule's own code or as a unique code per participant), a product (up to four SKUs with price, stock and add to cart), content (editor or a CMS block) and a link.
  • Seven presets. Advent (1-24 December), St Nicholas, twelve days, Black Week (computed for each year), Easter week, anniversary and custom. The texts come in English, Slovenian, German and Croatian.
  • Unique codes that really expire. Magento does not enforce coupon expiry by itself; the module does, in the cart and when the order is placed. The deadline counts from the moment the visitor opened the door.
  • One person, one opening. E-mail normalisation (dots and +tags in Gmail), a cap on participants per door, a limit per IP address, a trap for bots and an optional newsletter sign-up.
  • Statistics per door and preview. Impressions, opens, claims, applied codes, orders and revenue attributed to the door whose code paid for the order. You can preview the calendar at any date and time through a signed link, without creating codes.

Who it is for

For shops that want a promotion with a reason to visit every day for Advent, Black Week, Easter or an anniversary. A calendar is also easy to copy into the next year.

How you set it up

You create calendars under Marketing › Advent and Promo Calendar › Calendars, where you also find the participants. General settings (main switch, participant cookie, abuse protection, preview) are under Stores › Configuration › Magelan › Advent and Promo Calendar. It works on the Luma and Hyvä themes.

Good to know

  • The module is switched off by default; an imported or duplicated calendar is always created switched off until you enable it.
  • For codes you need cart price rules; for unique codes the rule must use "Specific Coupon" with automatic code generation on.
  • This is not a prize game: there is no draw and no chance, and every participant gets the same benefit. So do not call the codes a prize or a win. Publish the calendar rules on a CMS page; the documentation includes a template.
  • When you announce price reductions you are legally required to state the lowest price of the last 30 days; the module advises against showing percentages on public surfaces without it.
  • The module sends no email itself; the code is shown on screen.
  • Cron must run to attribute orders and clean up data. Participants are anonymised after the calendar ends (by default after 90 days).

Want it in your store?

Buy the module and we install it for you: free of charge for existing Degriz customers, by time spent for others. Building a new store? Add it to your project in the Konfigurator.

Installation

How to install it.

We install the module from our repository with Composer. We send you the user name and access key for the repository after purchase. If you prefer, we install it for you.

In the root of the Magento 2 store run the commands (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_adventcalendarphp bin/magento module:enable Magelan_AdventCalendarphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

Setup

In the admin open Stores › Configuration › Magelan › Advent and Promo Calendar.

  1. Switch the module on (it is off by default) and make sure cron is running.
  2. Under Marketing › Advent and Promo Calendar › Calendars add a calendar, pick a preset and a year: the doors and texts are created for you.
  3. Create cart price rules for the doors with codes (for unique codes "Specific Coupon" with automatic generation) and pick them at the doors.
  4. Publish the calendar rules on a CMS page and enter its address and your privacy policy link in the calendar.
  5. Preview the calendar at a chosen date, set it to Test or Enabled and check the calendar page.

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

After the purchase we send you the access key by e-mail. Keep it 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? Write to us and we will issue a new one; the old one stops working. [email protected]

Technical details

Compatibility.

Just the facts.

Code
degriz_advent
Platform
Magento 2
Licence
One-off
Change log

Version 1.0.5 · 11 Oct 2026

  • The Settings menu item comes last and the settings section is placed among marketing.

Version 1.0.4 · 9 Oct 2026

  • Fix: uninstalling the module removes its eight tables and settings again.

Version 1.0.3 · 9 Oct 2026

  • The admin menu is under Marketing, Advent and Promo Calendar. It used to hang off another module's menu and failed in a shop without it.
  • The Calendars menu entry is translated.

Version 1.0.2 · 9 Oct 2026

  • A preview link shows the calendar at the chosen date again.
  • On a phone the doors stay two across in themes with wide page padding, such as Hyvä.

Version 1.0.1 · 5 Oct 2026

  • Editing a calendar can be saved.
  • Guests keep their door and code on shops with Swissup GDPR.
  • The full calendar placed as a widget in a CMS page or block renders with its icons.
  • Saving a calendar or door clears the page cache, so the change shows at once.
  • The floating button follows the Show on Pages setting, and the text colour, number font and animation take effect on the storefront.
  • Orders are attributed to the door that handed out their code.
  • A double click on a door returns the code instead of an error.
  • The calendar form opens on Magento 2.4.9 too.

Version 1.0.0 · 1 Oct 2026

  • First release: an advent and promo calendar with four door types: coupon (shared or single-use code), product (up to four SKUs), content and link.
  • Opening times follow the calendar's timezone, including daylight saving. Missed doors can be closed, still openable or visible without a code.
  • Coupon expiry is enforced by the module, in the cart and when the order is placed, also for checkouts over REST.
  • Orders are attributed to the door whose code paid for them.
  • E-mail entry with a separate unticked newsletter checkbox, an optional age checkbox, a consent record and Magento's newsletter subscription.
  • Anti-abuse: one claim per door and participant, IP limits and bot protection.
  • Four themes, colours per calendar, uniform and mosaic layouts for Luma and Hyvä.
  • Seven presets with texts in English, Slovenian, German and Croatian. Black Week and Easter dates are computed for the chosen year.
  • Import, export and duplicate, preview at any date through a signed link, and statistics per door with participant export.
  • Translations in English, Slovenian, German and Croatian.
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

For existing Degriz customers we install the module free of charge. For other buyers we charge the installation by time spent.

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 updates for the Magento versions on the supported list.

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

Advent and promo calendar

€390 + VAT

One-off licence for one production installation of Magento, no subscription.

Write to us

For existing Degriz customers we install the module free of charge, for others by time spent. 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] · 040 807 231

Advent and promo calendar€390 + 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