🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 11, 2026

Gravity Forms Coupons Per Product: Conditional, BOGO and Single-Use Codes

GravityExtra
Gravity Forms Coupons Per Product: Conditional, BOGO and Single-Use Codes

You run an event, a workshop or a small online shop on Gravity Forms. Marketing wants a student discount, a free T-shirt with every registration, 15% off one product for a newsletter campaign and a batch of one-time codes for VIP guests. Then you open the coupon settings and find one option: an amount or a percentage off the whole form.

This guide explains what Gravity Forms coupons can and cannot do, and how the Gravity Forms Advanced Coupons & Discounts Premium Add-on adds coupons per product, conditional coupons, buy X get Y offers, automatic discounts and single-use codes to any product form.

Why Basic Coupons Fall Short on Product Forms

Gravity Forms is a great way to sell tickets, registrations, services and merchandise without a full shop. But real promotions are rarely a flat discount on everything.

Common coupon requests a basic coupon cannot handle
Per product. “10% off the workshop seat, but not on the printed book.”
Per answer. “This code is only for attendees who choose Student as the registration type.”
Free items and bundles. “Buy one T-shirt, get the second one free.”
One-time codes. “Send 500 unique codes to our mailing list, each usable once.”
Free orders. “A 100% comp code for speakers, without asking for a card.”

These questions come up again and again in the Gravity Forms community, usually with a code snippet as the only answer.

Your Options for Product and Conditional Coupons in Gravity Forms

1. The official Coupons Add-On

The official Gravity Forms Coupons Add-On applies a fixed amount or a percentage off the total, with start and expiry dates, a usage limit and a choice about stacking. It is included with a Gravity Forms Elite or Nonprofit license. The coupon field can be shown or hidden with conditional logic, and developers can add custom rules with the gform_coupons_can_apply_coupon filter. It is a good fit when one code should take something off the whole order.

2. Custom code

Per-product rules, free items or one-time codes can be built with custom PHP and JavaScript. That works if you have a developer, but every new promotion becomes a code change, and the live total, the amount sent to the gateway and the stored entry all have to stay in sync.

3. The Advanced Coupons & Discounts add-on

One add-on with a coupon manager in your dashboard. It works on its own with any Gravity Forms license (version 2.7 or later) and does not need the official Coupons Add-On.

What the Advanced Coupons & Discounts Add-on Does

  • Five discount types: percentage off, fixed amount off, fixed price per item, free product, and buy X get Y (free or a percentage off).
  • Coupons per product: discount the whole order, selected products, or a single choice such as “Hoodie: Large”.
  • Conditional coupons: field rules such as “Registration type is Student”, plus minimum and maximum subtotal, start and end dates and the forms a coupon works on.
  • Automatic discounts that apply without a code when the conditions match.
  • Usage limits in total and per email address, counted only after a successful submission or completed payment.
  • Single-use codes: generate up to 5,000 codes per click with your own prefix and export them as CSV.
  • “Can’t be combined” to stop coupon stacking.
  • A live total that updates when a code is applied, recalculated on the server when the form is submitted.
  • Clean records: each discount is its own line in the order summary, notifications and entry, and payment add-ons receive it as a discount.

How to Set Up a Coupon Per Product

Requirements: WordPress 6.5+, PHP 7.4+, Gravity Forms 2.7+ and the add-on activated with your GravityExtra license under Forms → Settings → Coupons.

Step 1: Create the coupon

Go to Forms → Coupons and click Add coupon. Give it a name customers will see on the order summary, a code (or tick Apply automatically) and mark it Active. The list shows every coupon with its discount, what it applies to and how often it has been used.

Coupons list in Forms, Coupons with name, code, discount, applies to, used and limit, status and edit and delete buttons
Whole-order, per-product, automatic and single-use coupons in one list.

Step 2: Pick the discount and the products

Choose a Discount type and an Amount. Under Applies to, choose Selected products or choices and tick the products, or individual choices, that the coupon should discount. Here, 15% comes off the T-shirt only.

Coupon edit screen with Discount type Percentage off, Amount 15 and Applies to Selected products or choices with the T-shirt product ticked
A 15% coupon that applies only to the T-shirt product.

Step 3: Add conditions and limits

Under Conditions, add field rules such as “Registration type is Student”, a minimum subtotal or a date range. Under Usage limits, set total uses or uses per email address. For campaigns, save the coupon and generate single-use codes with a prefix such as VIP-, then export the CSV for your email tool.

Step 4: Add the Coupon Code field

In the form editor, add Coupon Code from the Pricing Fields group. Customers type a code, click Apply and see the discount line and the new total straight away. You can also pre-fill a code from a link with dynamic population, for example ?coupon=EARLYBIRD.

Product form with a Coupon code field, the SAVE10 code applied as a minus 4 dollar discount line with a Remove link and the updated total of 41 dollars
The SAVE10 code applied: 10% off two T-shirts, shipping not discounted, total $41.

Every setting, message and limit is covered in the Advanced Coupons & Discounts setup guide.

Real-World Use Cases

  • Event and conference registration. A conditional coupon for students, an early-bird date range, and a 100% comp code for speakers. When discounts bring the total to zero, no payment is attempted, card fields are hidden and the entry is marked Paid with a $0 amount.
  • Workshops and classes. Buy 3 seats, get the 4th free, or a fixed price per seat for members.
  • Merch and add-on products. A tote bag that is free when it is added to the order, or 20% off one product line without touching the rest of the order.
  • Email campaigns. Thousands of single-use codes, one per subscriber, each working once.
  • Payment forms. Pair it with the Payment Fraud Shield to stop card-testing bots, the Multi-Account Payment Router to send payments to different accounts, or Abandoned Form Recovery to win back unfinished orders.
Test your gateway before a 100% code goes live

Free orders skip the payment step in Gravity Forms, and the add-on handles the card fields and the entry status. Payment screens differ between gateways, so place a fully discounted test order with your gateway in test or sandbox mode first. Do the same for gateways that send customers to another page to pay, and check that the coupon usage is recorded once the payment completes.

Comparison: Official Coupons vs Custom Code vs This Add-on

Feature Advanced Coupons add-on Official Coupons Add-On Custom code
Discount types % off, fixed off, fixed price, free product, buy X get Y Fixed amount or % off the total Whatever you build
Coupon per product or choice Yes Off the total Possible, per project
Conditions on form answers Field rules, subtotal, dates, forms Show or hide the field; custom rules by PHP filter Possible, per project
Start, end and usage limits Yes, plus per email address Start and expiry dates, usage limit You build it
Automatic discounts Yes Not described on the product page You build it
Single-use code batches and CSV Yes, up to 5,000 per click Not described on the product page You build it
Gravity Forms license needed Any license (GF 2.7+) Elite or Nonprofit Any
Cost From $39/year (1 site) Included with Elite or Nonprofit Developer time

If the official Coupons Add-On is already active, the add-on shows a notice in Forms → Coupons. For clear totals, use one coupon field per form, and test any form that uses both on a staging site first.

Frequently Asked Questions

Can Gravity Forms apply a coupon to one product only?

With Advanced Coupons & Discounts, yes. Choose Selected products or choices and tick the products or individual choices. The official Coupons Add-On takes its discount off the total.

Can a coupon depend on another field?

Yes. Add field rules with is, is not, greater than, less than, contains, starts with or ends with, and choose whether all or any rules must match. A coupon for “Registration type is Student” is rejected with a clear message when another type is chosen.

Is a code used up if the payment fails?

No. Usage is counted only after a successful submission, or after the payment is Paid, Active or Authorized. For gateways that confirm payment later, it is counted when Gravity Forms marks the payment as completed.

Can customers change the total in their browser?

No. The discount is recalculated on the server when the form is submitted, and a changed total in the browser is ignored.

What is not included in version 1.0?

Tiered or quantity-break pricing tables, gift cards, discounts aimed only at shipping or subscription renewals, products inside Repeater fields, user role conditions and coupon import.

Run the Promotions Your Forms Deserve

Coupons per product, conditional and automatic discounts, buy X get Y and single-use codes for Gravity Forms. Plans start at $39/year for one site, $69 for five sites and $149 for ten.

Get Advanced Coupons →

or read the Advanced Coupons & Discounts setup guide

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr