Skip to content
Gaurav TiwariDocs

Apply a Coupon from a Link

Updated November 27, 2026

You’ve sent a discount code to your newsletter. Some readers copy it, some forget it, and a few never spot the coupon field at checkout. A coupon link does that step for them. Add ?coupon=CODE to any link to your store, and the code is already in the cart when they reach checkout.

Coupon links are part of Extra Enhancements in Stackless for FluentCart. FluentCart on its own doesn’t read a coupon from the page address.

Switch It On

  1. Go to FluentCart → Stackless and switch on Extra Enhancements on the Dashboard. The switch saves at once.
  2. Open Settings on the Extra Enhancements card. Under Coupon links, keep Apply a coupon from a link switched on and click Save changes. It’s on by default.

The code in the link is an ordinary FluentCart coupon. Create it in FluentCart → Coupons and set its dates, usage limits and product conditions there. The link follows all of them.

Add coupon= and the code to any address on your store. Start with ? when the address has no other parameters, and with & when it already has one:

https://your-store.com/checkout/?coupon=WELCOME10
https://your-store.com/product/your-product/?coupon=WELCOME10
https://your-store.com/pricing/?coupon=WELCOME10
https://your-store.com/?fluent-cart=instant_checkout&item_id=12&quantity=1&coupon=WELCOME10

The last one is FluentCart’s own Buy Now link, where item_id is the variation ID. It puts that product in the cart and opens checkout with the code applied, so it’s the shortest route from an email to a discounted order.

  • Type the code exactly as it’s saved, capitals included. FluentCart matches codes by case, so ?coupon=welcome10 doesn’t apply WELCOME10.
  • One code per link. A code can use letters, numbers, hyphens, underscores and dots, up to 50 characters. A space, a comma or any other character makes the link ignore the code.
  • Other parameters can sit in the same link, in any order: campaign tags, ?paymethod= and ?paycurrency=, or a Buy Now link’s own values.
https://your-store.com/checkout/?coupon=WELCOME10&paymethod=gtfc_paypal&utm_source=newsletter

Where It Works

The link can point at any page of your store, not only checkout. What changes is when the code lands in the cart:

  • Checkout and cart pages. If the visitor already has a cart, the code is applied as the page loads and the discount shows in the order summary.
  • Product, pricing, shop and blog pages. The code is remembered for a day. It’s applied on the first page the visitor loads once something is in their cart, which is usually checkout.
  • Buy Now and instant checkout links. The code survives FluentCart’s redirect to checkout, so checkout opens with the discount already applied.
  • On-page Checkout. The form reads ?coupon= from the address of the page it sits on. url_coupon="no" on the shortcode turns that off.
  • Modal Checkout. It reads the page address too, unless you untick Apply a ?coupon= code from the page address. A coupon in the button’s own link comes first.
  • Buy links. They carry their own coupons, signed with the link, so use the buy link builder’s Coupons field for those.

An Add to Cart button that doesn’t reload the page leaves the cart drawer at full price for a moment. The code is applied on the next page load, and checkout always shows it.

How It Works With Other Discounts

The link hands the code to FluentCart, and FluentCart’s coupon rules decide what happens next:

  • Coupons already in the cart stay. The link’s code is added next to them, never in place of them.
  • The first coupon in the cart wins. If it isn’t stackable, the link’s code is refused. Two coupons combine only when both are set as stackable in FluentCart, and stacked coupons apply in their priority order.
  • Sale Campaigns decide for themselves. With Coupons skip sale items, the code discounts only the products that aren’t on sale.
  • Scheduled coupons work from their start time. A link opened before then is treated like any coupon that isn’t active yet.
  • Coupon Affiliates builds its share links with this same parameter. Commission follows the coupon on the final order.
  • Free subscription coupons behave the same from a link as when typed, so checkout skips the payment method.

When a Code Doesn’t Apply

A code FluentCart refuses is dropped quietly. The page shows no error, the coupon field stays empty and checkout shows the full price. The usual reasons:

  • The coupon has expired, hasn’t started, is used up or is switched off.
  • The cart doesn’t meet its conditions, such as a minimum amount or a list of products.
  • The cart already has a coupon that can’t be stacked.
  • The code in the link has different capitals or a character a code can’t have.

The link tries the code once. If a cart below the coupon’s minimum refuses it, adding more products later doesn’t bring it back. The buyer can still type the code at checkout, and you can check the coupon’s rules by pasting the code there yourself.

Trying once also means a buyer who removes the code at checkout won’t see it come back on the next page.

Limits

  • One browser, one day. The code is kept in a cookie named gtfc_coupon. A visitor who opens the link on their phone and buys on their laptop gets no code.
  • The latest link wins. A second coupon link replaces a code that hasn’t been applied yet.
  • Anyone with the link can use the code. The link doesn’t restrict who buys. Use the coupon’s usage limits in FluentCart when that matters.
  • The page has to reach WordPress. A page cache that serves a stored copy of an address with ?coupon= never sets the code. Test a new link in a private window: open it, add a product and go to checkout.

To send buyers to checkout with set products and quantities as well as a coupon, share a buy link instead. Every other parameter a link can carry is in the URL Parameters Reference.

Share

Was this helpful?

Still stuck? Open a support ticket