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

How to Add Tax, Discounts and Subtotals to Gravity Forms Order Forms

GravityExtra
How to Add Tax, Discounts and Subtotals to Gravity Forms Order Forms

Gravity Forms has everything you need for a simple order form: Product, Option, Quantity, Shipping and Total fields, and payment add-ons for most gateways. What it does not have is a line for sales tax, a discount line, a subtotal, or a way to charge a different price when a customer picks a membership level or orders ten units instead of one.

This guide walks through why that matters, the usual workarounds, and how the Gravity Forms Pricing Fields Pack Premium Add-on adds Subtotal, Tax and Discount fields, conditional prices with quantity tiers, and minimum and maximum amounts for user defined prices, all written into the real Gravity Forms order.

Where Gravity Forms Order Forms Fall Short

A print shop needs to add 8.25% sales tax to every order. A training company gives members a lower course price. A wholesaler charges $12 per unit, $10 from 50 units and $8 from 200. A charity wants donations between $10 and $500. None of these can be done with the standard pricing fields alone.

The common workaround is a Calculated product called “Tax” whose formula multiplies the total by 0.0825. It looks right on screen, but Gravity Forms treats it as another product. The tax line has a quantity, it can be taxed itself, and payment gateways receive it as something the customer bought rather than as tax. Accountants notice; customers notice when the receipt looks odd.

What order forms usually need
A real tax line. Percentage or fixed, applied to all products or only some, optionally on shipping.
A real discount line. Shown as a discount in the order summary and sent to the payment gateway as one.
A subtotal. Products before discounts, tax and shipping, so customers can follow the maths.
Prices that react. Member prices, option-based prices and lower unit prices for larger orders.

Your Options Today

1. Calculated product fields

Free and quick for a single tax rate, but the result is a product line, not tax. Discounts below zero are awkward and quantity tiers need a chain of formulas.

2. Custom code

The gform_product_info filter lets developers add lines to the order. It is powerful, but the browser total must also be updated with JavaScript or Gravity Forms will reject the submission because the totals do not match.

3. Other add-ons

Other Gravity Forms add-ons cover these needs with three separate products: one for subtotal, tax and discount fields, one for price levels and one for minimum and maximum prices. They are well established, but each one is bought, set up and updated on its own.

Comparison: Ways to Add Tax, Discounts and Price Rules

Pricing Fields Pack add-on Calculated products Custom code Other add-ons (3 separate)
Tax and discount lines Yes, real order lines Shown as products If you build it Yes
Subtotal field Yes Formula workaround If you build it Yes
Prices by option or quantity tier Yes, per product and choice Long formulas If you build it Yes
Min and max user defined price Yes, with range hint No If you build it Yes
Server-side recalculation Yes, every price Yes Up to you Yes
Cost From $39/year (1 site) $0 Developer time Varies per add-on

Prices for other add-ons and plugins vary by vendor and may change.

What Pricing Fields Pack Does

The Pricing Fields Pack has three features, each with its own switch. A feature that is off adds nothing to your forms and loads no scripts.

  • Subtotal, Tax and Discount fields. Three new fields in the Pricing Fields group. Tax and Discount can be a percentage or a fixed amount, apply to all products or selected ones, and tax can include shipping.
  • Lines in the real order. Discount and tax lines go into the Gravity Forms order, so the Total field, the entry order summary, {all_fields} and payment add-ons all show the same amounts.
  • Price rules. Change a product’s unit price when another field is, is not, greater than or less than a value, per product and per product choice.
  • Quantity tiers. Lower unit prices for larger orders, with a “Your price: $80.00 each” note under the product.
  • Price ranges. Minimum and maximum amounts for user defined price products, with an optional line such as “Enter an amount between $10.00 and $500.00”.
  • Server-side checks. Every price is calculated again on the server at submission, so a price changed in the browser is never charged.

Discounts are applied first and never exceed the products they apply to. Tax is calculated on the discounted amount, plus shipping when you tick that option, and every amount is rounded to your Gravity Forms currency.

How to Set It Up, Step by Step

You need WordPress 6.5 or higher, PHP 7.4 or higher, Gravity Forms 2.9.4 or higher, at least one Product field on the form (a Total field is recommended) and an active GravityExtra license.

Step 1: Install the add-on and switch on the features

Upload and activate the add-on, then go to Forms → Settings → Pricing Fields and activate your license key. In the Features section, switch on Subtotal, Tax and Discount fields, Conditional pricing and quantity tiers and Price range for user defined prices as needed, then save. All three are off after installation.

Step 2: Add Subtotal, Tax and Discount fields

In the form editor open the Pricing Fields group and drag in the new fields. On a Tax or Discount field choose Percentage or Fixed amount, enter the rate or amount, and choose All products or Selected products. Each order line is named after the field label, so use labels such as “Sales tax (8%)” or “Launch discount”.

The order lines appear as products, discounts, tax, shipping and total. After the entry is saved, the tax or discount amount is also stored as the field value, so merge tags such as {Sales tax:8} work in notifications.

Entry order summary listing products, Launch discount -$79.00, Sales tax $56.88, Delivery $15.00 and Total $782.88
The entry order summary with the discount, sales tax and delivery lines and the matching total.

Step 3: Add price rules and quantity tiers

Open the form’s Settings → Pricing Fields and turn on Enable conditional pricing on this form. Each Single Product, Drop Down, Radio Buttons or Hidden product gets a card. Click Add price rule, choose the field to check (or Quantity), an operator, a value and the price. Rules are checked from top to bottom and the first match sets the unit price.

Click Add quantity tier to enter a minimum quantity and a unit price. When no rule matches, the tier with the highest minimum the customer reaches is used. For Drop Down and Radio Buttons products, each rule and tier can apply to any choice or to one choice.

Pricing Fields form settings with a Membership is Gold price rule, quantity tiers and a Business choice rule
A Gold membership price rule, quantity tiers and a rule for one product choice.

Step 4: Check the live totals

Preview the form. The Subtotal, Discount, Tax and Total update as the customer changes options and quantities, and a “Your price” note appears when a rule or tier changes a price. For donation or pay-what-you-want products, set a Minimum and Maximum price on the User Defined Price product and tick Show the allowed range under the field.

Order form with a Your price: $80.00 each note, Subtotal, Launch discount, Sales tax and Total updating live
A member price, subtotal, discount, sales tax and total updating live on the front end.

Pro Tips for Production Forms

  • Put rules in order of priority. The first matching rule wins, so place the most specific rule, such as Gold members ordering Business cards, above general ones.
  • Tax only what is taxable. Use Selected products to leave out exempt items such as gift cards or donations.
  • Label lines for receipts. Field labels become order line names in emails and gateway receipts. “VAT 20%” is clearer than “Tax”.
  • Use coupons separately. Coupon codes are not part of this add-on. Pair it with the GravityExtra Advanced Coupons add-on when you need codes.
  • Test with your gateway in test mode. Payment add-ons receive tax as a line item and discounts as discount lines; confirm the receipt looks right before going live.
Our recommendation

Start by replacing any “Tax” calculated product with a real Tax field, then add a Subtotal so customers can follow the total. Add price rules and quantity tiers once the basic order looks right in the entry summary and in your payment gateway.

Give Your Order Forms Real Pricing

Subtotal, Tax and Discount fields, price rules, quantity tiers and price ranges that flow into the Gravity Forms order and your payment add-on. Plans start at $39/year for one site, $69 for five sites and $149 for ten.

or read the Pricing Fields Pack setup guide

Frequently Asked Questions

Do payment add-ons receive the tax and discount?

Yes. Tax is sent as a line item and discounts as discount lines, and the payment amount equals the form total.

Can tax depend on the customer’s country?

Not in version 1.0. Tax is a percentage or fixed amount per field. You can use conditional logic to show different Tax fields for different answers.

Does it support coupon codes?

No. Use the GravityExtra Advanced Coupons add-on for coupon codes; it works alongside the Pricing Fields Pack.

What if a customer edits prices in the browser?

Every price is calculated again on the server when the form is submitted. The server total is the one that is charged.

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