All modulesMagento 2 moduleVersion 1.1.1 · 15 Oct 2026

Coupon display on product and category

The coupon is visible already on the product page, with the code and a copy button. The discount influences the decision, not just the cart.

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

www.degriz.eu
The customer copies the coupon code on the product page and applies it in the cart
About the module

What it does.

"We have a coupon, but customers do not notice it until they are in the cart." A discount seen only at the end does not influence whether the shopper adds the product to the cart in the first place.

What it looks like in practice

A shopper opens a product that a coupon rule applies to. On the product page there is a label with your message, the coupon code, the discount amount and a 'copy' button. A rule you flagged for automatic application applies itself when the product is added to the cart. If the shopper types a code by hand, that code always takes priority.

What changes

  • Coupon visible before the cart. The label is on the product page; showing it in product listings needs a change to the theme template, which we make.
  • Code with a copy button. The label contains the coupon code with a copy button.
  • Automatic coupon application. Rules flagged for automatic application apply themselves when a product is added to the cart; a manually entered code always takes priority.
  • By customer group. The label applies to the website and customer group as set in the rule.

Who it is for

For stores that run promotions with coupon codes and want every visitor to a product to notice the discount.

How you set it up

The module has no settings section of its own. When editing a rule in Marketing › Cart Price Rules there is a 'Coupon display' section: display on the product page and in listings, a message with placeholders for the code and the discount, and automatic application. The display is refreshed together with cached pages.

Good to know

  • Only cart price rules with a specific coupon (Specific Coupon) are shown. A discount made as a catalog price rule is already in the price and the module does not show it.
  • On the Hyvä theme the label sits at the end of the buy box; the module has no listing display for Hyvä.

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.

Screens

Take a look at every step.

www.degriz.eu
Price with the coupon applied and the code next to the Add to cart button
Price with the coupon applied and the code next to the Add to cart button
www.degriz.eu
Where the coupon shows and whether the cart applies it by itself
Where the coupon shows and whether the cart applies it by itself
Installation

How to install it.

We deliver the module from our own repository, installed with Composer. We send you the user name and access key for the repository after purchase. If you prefer, we install and set it up 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_couponlabelphp bin/magento module:enable Magelan_CouponLabelphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

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_couponlabel
Platform
Magento 2
Licence
One-off
Change log

Version 1.1.0 · 6 Oct 2026

  • Product pages stay in the full page cache again, so they load faster.
  • The label still matches the customer group and the date: a rule that starts or ends is shown or hidden on time also on a cached page.
  • Saving or deleting a cart rule with a label refreshes the cached product and category pages.
  • The label now also appears on Hyvä themes.
  • Stylesheet and script have new file names so a CDN does not serve the old ones.

Version 1.0.1 · 2 Oct 2026

  • Module code aligned with the version used in shops.

Version 1.0.0 · 31 Jul 2026

  • First release: a label showing the active coupon or cart rule discount on the product and category pages.
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

Coupon display on product and category

€290 + 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

Coupon display on product and category€290 + 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