Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Coupon URL: Apply Discount Codes by Link Automatically

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: AUTOCOUPONURL1

  • apply the code by URL parameter or short path
  • cookie remembers the code with an empty cart
  • banner in the cart, removal possible at any time
  • QR code download and reporting per link and source
Auf Lager
€79.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 features

Magento 2 coupon URL: apply a discount without the customer typing

With Magento 2 coupon URL from Mironsoft you attach a code parameter or a short campaign path to any shop URL. The visitor clicks the link in the newsletter, in the ad or on the printed QR code, the module remembers the coupon in a cookie and applies it as soon as a cart exists. In the cart the code is visible, the customer has nothing to type. Magento 2 coupon URL runs on Alpine.js in the Hyvä theme and needs no extra library.

Code in the link

A parameter such as ?coupon=SUMMER or a short path such as /deal/summer applies the coupon.

Cookie memory

The code stays stored until the cart is filled and is then applied automatically.

Visible in the cart

The coupon appears like a typed code, with a hint and a remove button.

Rule validation

Period, customer group and usage limit of the cart rule are fully respected.

Short paths and QR

Campaign paths and a QR code as a download for flyers and packaging.

Hit counter

Per link you see visits and redeemed coupons, split by source.

Why a coupon link

Why a Magento 2 coupon URL brings more redemptions

Anyone who names a discount code in the newsletter asks the reader for several steps: copy the code, open the shop, paste it into the cart field. Every step costs redemptions. Customers also forget the code or mistype it, and support gets the question why the coupon “does not work”.

Magento 2 coupon URL shortens the path to one click. The campaign becomes measurable because each link has its own source, and the customer sees at once that the benefit arrived. The validity of the underlying cart rule stays unchanged and is not bypassed.

01Link

Create a Magento 2 coupon URL: parameter and short path

In the admin you pick an existing cart rule or code and assign a short path such as /deal/summer. In addition the parameter ?coupon=CODE works on any shop URL. As the target after the visit you choose the home page, a category, a product page or the cart. Per link you enter a source, for example “Newsletter May” or “Trade fair flyer”.

  • Parameter on any URL or fixed short path
  • Target selectable: home, category, product, cart
  • Source per link for reporting
Marketing › Auto Coupon URL › Link
Short path/deal/summer (example)
RuleSummer discount
TargetCategory
Stores › Configuration › Mironsoft › Auto Coupon URL
Cookie lifetime7 days (example value)
Parametercoupon
Replaceno
02Cookie

Cookie and cart: discount even with an empty cart

Often the cart is still empty at the click. The module remembers the code in a functional cookie and applies it as soon as the first product is in the cart. You set the lifetime of the cookie in days. An already redeemed or invalid code is discarded. If the cart does not meet the conditions of the rule, the code stays remembered and the customer gets a hint about what is missing.

  • Cookie with configurable lifetime in days
  • Applied as soon as the rule conditions are met
  • Hint if, for example, the minimum value is missing
03Display

Visible in the cart: hint, saving and remove

After applying, Magento 2 coupon URL shows a banner in the cart such as “Coupon SUMMER was applied”. The code stands in the coupon field, the saving shows in the total. The customer can remove the coupon or enter another one. If the code has expired or is used up, a message explains the reason instead of leaving the customer puzzled. The interface uses Alpine.js and Tailwind.

  • Banner with code name and saving
  • Remove and replace with another code
  • Understandable message for an expired code
Cart › Coupon
BannerCoupon SUMMER applied
Savingexample value
ActionRemove
Marketing › Auto Coupon URL › Reporting
Visitsexample value
Appliedexample value
Redeemedexample value
04QR and reporting

QR code and reporting per campaign

For flyers, packaging or trade-fair stands the module creates a QR code image for every link. The report in the admin shows visits, applied and redeemed coupons per link and source. That shows which channel really brings orders, and you can switch off weak links.

  • QR code as a download for print and packaging
  • Visits, applications and redemptions per link
  • Activate, pause and copy links
Use cases

Where a Magento 2 coupon URL works in marketing

Four channels in which Magento 2 coupon URL replaces the code.

Newsletter and email

Instead of naming the code, the button carries the link. The discount is already active when the visitor lands on the page.

Ads and social media

Every ad points to its own short path. Later you see which campaign was redeemed.

Print and packaging

A QR code on the parcel or flyer brings the customer back to the shop with the coupon applied.

Partners and cooperations

Partners get their own link, the settlement relies on the report per source.

Comparison

Magento 2 coupon URL: with and without the module compared

The difference to manual code entry.

TopicWithout moduleWith Mironsoft Auto Coupon URL
RedemptionCopy the code and paste it in the cartOne click on the link
Empty cartCode has to be entered again laterCookie remembers the code and applies it
ReportingOnly a total per ruleVisits and redemptions per link and source
PrintType the codeQR code as a download
SupportRequests about typosUnderstandable messages in the cart
Setup

How we set up Magento 2 coupon URL for you

The process after you place the order.

1

Briefing

You name the campaigns and the cart rules that are to be applied by link.

2

Installation

We install the module, set up Magento 2 coupon URL for your store views and create the first short paths. Afterwards we check parameter, cookie and cart with your rules.

3

Cookie notice

We align the description of the functional cookie with your cookie overview.

4

Testing

We test an empty cart, expired codes, minimum value and removing the coupon.

5

Handover

Your team learns to create and evaluate new links and QR codes itself.

Delimitation

Delimitation from coupon combinations and cart links

The Coupon Stacking Rules module regulates which coupons can be combined. A coupon code link leads to the cart and applies a code there. Magento 2 coupon URL goes further: the parameter works on any URL, a cookie remembers the code, and short paths, QR codes and sources make the campaign measurable.

The code itself is still created as a normal cart rule. The module changes neither discount amount nor validity. Notes about the cookie belong in your privacy policy; the legal review is the shop operator’s responsibility.

05How the purchase works

No download — personal setup instead

Auto Coupon via URL is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on short paths, cookie and reporting together with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about link, cookie, cart and how the purchase works.

How can I apply a coupon by link in Magento 2?
With Magento 2 coupon URL you append ?coupon=CODE to a shop URL or use a short path. The code is applied and shown in the cart.
What happens with Magento 2 coupon URL when the cart is empty at the click?
The module stores the code in a cookie and applies it as soon as the first product is in the cart.
How can I create a QR code for a coupon in Magento 2?
For every link the module creates a QR code image that you download for flyers, packaging or trade fairs.
Is the validity of the cart rule bypassed?
No. Period, customer group, minimum value and usage limit of the rule apply unchanged. If the cart does not meet the conditions, the customer gets a hint.
Can the customer remove a coupon applied by Magento 2 coupon URL?
Yes, the code stands in the coupon field and the customer removes or replaces it as usual.
How long does the code stay stored in the cookie?
You set the lifetime in days. A redeemed or invalid code is discarded.
Can I see which campaign brings orders with Magento 2 coupon URL?
Yes, the report shows visits, applications and redemptions per link and source.
Does Magento 2 coupon URL work with Hyvä?
Yes, banner and messages use Alpine.js and Tailwind of the Hyvä theme, without jQuery and Knockout.
Do I need cookie consent for this?
The cookie only serves to apply the coupon. Whether your shop classes it as functional you clarify with your legal adviser and list it in your cookie overview.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 Coupon URL – Mironsoft Auto Coupon via URL
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 Coupon URL – Mironsoft Auto Coupon via URL

Magento 2 Coupon URL – Mironsoft Auto Coupon via URL

€79.00