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

How to Build a WooCommerce Product Configurator with Gravity Forms

GravityExtra
How to Build a WooCommerce Product Configurator with Gravity Forms

Selling a product that every customer wants a little differently is one of the oldest problems in WooCommerce. A lamp with a choice of shade and an engraving, a canvas print with or without a frame, a shirt with a monogram: the product is one, the choices are many, and some of them change the price. The Gravity Forms Woo Product Configurator Premium Add-on solves it with the form builder you already know. Build the choices as a Gravity Form, attach the form to the product, and the form becomes the add-to-cart form, with a live price, the choices on the cart and the order, and an entry linked to the order. This guide walks through a real set-up step by step. The full reference is in the Product Configurator documentation.

A WooCommerce product page where a Gravity Form is the add-to-cart form: shade, gift wrap and engraving choices, and a price box with product price, options and total
The form replaces the add-to-cart button; the price box follows every choice.

Why use Gravity Forms to configure WooCommerce products

WooCommerce variations are perfect for a few fixed attributes such as size and colour. They become hard work as soon as a product needs free text (an engraving, a name, a note), a file (a logo, a photo), choices that only make sense together, or prices that add up from several options. Gravity Forms already does all of that: every field type, required fields, validation, conditional logic, pricing fields and calculations. What was missing is the bridge to the cart. The configurator adds that bridge and keeps the two worlds in step: the price the customer sees while choosing, the price of the cart line, the text on the order and the entry in Gravity Forms always agree.

What the customer sees

On the product page the form takes the place of the WooCommerce add-to-cart button. Above the form’s button a small price box shows three lines: the product price, the options (the total of the form’s pricing fields) and the total, multiplied by the quantity. The total changes while the customer picks a shade, ticks gift wrap or changes the quantity. The quantity box sits next to the button, and the button keeps the WooCommerce text “Add to cart” unless you choose your own.

When the customer adds the product, Gravity Forms checks the form as it always does. The add-on then checks the product itself: is a variation chosen, is the quantity a whole number of one or more, is there enough stock? If something is wrong, the form comes back with a clear message and nothing is saved, so you never collect half orders. If everything is right, the entry is saved and the product lands in the cart, where every choice is listed under the product name.

Step 1: build the form

Create a new form and add the choices you sell. For priced choices use the Gravity Forms pricing fields. A simple and tidy pattern is a Product field of the type Hidden with a price of zero, followed by Option fields that belong to it: a radio button “Shade” with Linen at no extra cost and Brass at twelve dollars, a check box “Gift wrap” at five dollars. Add plain fields for everything that has no price, such as a single line text field “Engraving” limited to thirty characters. You do not need a Total field: the price box on the product page shows the total for you.

Step 2: attach the form to products

There are two ways, and you can mix them. For one product, open it in WooCommerce, go to the Product data box and use the new Product configurator tab to choose the form. For many products, open the form’s settings, choose Product Configurator and attach the form to products, product categories or product tags. A form attached to the category Prints is used by every print, including the ones you add next month. The product tab always tells you which form is used and why, and you can choose “No form on this product” to keep one product out of a category rule.

Step 3: choose how the price is built

By default the cart price is the product price plus the form total. A lamp at forty dollars with the brass shade and gift wrap costs fifty-seven dollars, and two of them cost one hundred and fourteen. If the form gives the whole price, for example when the price depends only on a size and a material chosen in the form, switch the form to “Form total only” and give the WooCommerce product a price of zero. Either way the price is computed on the server from the saved entry and the current product price every time the cart is totalled. The price box in the browser is only a preview, so nobody can change the price by editing the page.

WooCommerce coupons apply to the configured price: a ten percent coupon takes ten percent off the product price and the options together.

Step 4: take the quantity, weight and size from the form

Some products are sold by a number the customer types in the form, such as the number of prints. Choose that field as “Quantity from a field” and the cart quantity follows it; the separate quantity box disappears. In the same way the weight, length, width and height of the cart line can come from form fields, which matters when shipping rates depend on them, for example a framed print that weighs more than a rolled one.

Step 5: decide what the cart and the order show

By default every filled field becomes a line under the product name, with its label and value, as Gravity Forms shows it. Priced choices show their price, so the customer can check what they pay for. You can leave fields out, or write your own text with merge tags, one “Label: value” per line, for example “Monogram: {Monogram:3}”. The same lines are stored on the order line, so they appear on the order screen, on the order confirmation page and in the WooCommerce order e-mails. Your workshop reads exactly what the customer chose.

The WooCommerce cart with configured lamps, prints and shirts: each line lists the chosen options and has an Edit link
Each configured cart line lists the choices and has an Edit link.

Variable products and conditional logic

The configurator works with variable products. The WooCommerce attribute drop-downs stay on the page, the price box uses the price of the chosen variation, and the add-on refuses the line until a variation is chosen. Better still, the form can react to the variation and to the quantity. Add a Hidden field, allow it to be populated dynamically and give it the parameter name gepc_variation; the product page keeps it filled with the chosen variation, for example Large. Now a Gravity Forms rule such as “show Monogram if Chosen size contains Large” works while the customer chooses. The parameter gepc_quantity does the same for the quantity: show a “Team name” field only for orders of five shirts or more. The values are set again on the server when the form is sent, so the saved entry always holds the real variation and quantity.

A variable shirt with the Large size chosen: the Monogram field appears by conditional logic and the price box shows the variation price plus the express option
Conditional logic by variation: the Monogram field shows for the Large size.

Editing from the cart

Customers change their minds. Each configured line in the cart has an Edit link that opens the product page with the form filled in: the chosen shade, the gift wrap, the engraving and the quantity. The button now says Update cart. After the update the cart holds one line with the new choices and the new price. Behind the scenes the old entry is moved to the trash with a note that names the new entry, so your entry list stays clean.

Orders and entries stay linked

At checkout the entry is linked to the order and to its line. The order screen shows a “Form entry” link under each configured line, and the entry page shows a WooCommerce box with the product, the order number, the status, the quantity, the line total and the customer. When the order status changes, the entry follows: Pending while the order waits for a bank transfer, Paid when it is Processing or Completed, then Refunded, Cancelled or Failed when that happens, with the amount, the payment method, the payment date and a short note each time.

A Gravity Forms entry with the WooCommerce box: product, order number, status, quantity, line total and customer
The entry follows the order: product, order, status, quantity and line total.

Notifications with order details

Gravity Forms notifications can now be sent on shop events: when a product is added to the cart, when the order is paid, completed, put on hold, cancelled, refunded or when it fails. Order merge tags fill them with real data: {woo_order_number}, {woo_order_status}, {woo_order_total}, {woo_billing_name}, {woo_billing_email}, {woo_shipping_address}, {woo_product_name}, {woo_quantity}, {woo_line_total} and more. A workshop e-mail can now say “Order 1042 for Ana Lopez: Engraved Desk Lamp x 2, 81 dollars” the moment the order is paid.

Only act on paid orders

Many shops connect their forms to other tools: a CRM, an e-mail list, a spreadsheet, a production board. Without care, every abandoned cart ends up there. The configurator has a simple switch per form: send the “Form is submitted” notifications and run the other add-ons only when the order is paid. Until then they wait. When the order becomes Processing or Completed, they run once, with the order already known, so even the order merge tags have values. A cart that is never paid never reaches your tools.

Updating from version 1.0

Version 2.0 is a full rebuild that installs over version 1.0 as a normal update, in the same plugin folder. On the first page load the form chosen on each product and the cart line settings of each form are carried over, and the old values are kept untouched. Products keep selling right after the update; the licence key unlocks the settings screens and future updates.

New in version 2.1: bulk setup, Order again, block checkout and headless shops

Version 2.1 makes a configurator easier to run on a bigger catalogue. Choose a form on a product category or tag screen and every product in it uses that form, or mark a category as “no form”. The Products list shows the form of each product in its own column, filters by form and sets the form of many products at once with a bulk action. A form chosen on the product itself still wins.

The WooCommerce Products list with the Form column, the filter by form and the bulk actions to set a form
Version 2.1: Form column, filter by form and bulk actions in the Products list.

Returning customers can click Order again in My Account: a configured product opens with the choices and quantity of the last order already filled in, so a repeat order of an engraved lamp or a tailored shirt takes one click to check and one to add. Today’s prices and stock apply.

The WooCommerce cart after Order again: the plain mug is back in the cart and each configured product has a link that opens its form with the previous choices
Version 2.1: Order again opens each configured product with the previous choices.

The choices now show in the cart block, the checkout block and the mini cart, and the WooCommerce Store API can list the form of a product and add it with its choices, with the same checks and prices as the product page. That is what a headless shop or a custom React front end needs.

The WooCommerce cart block showing a configured desk lamp with its shade and engraving choices under the product name
Version 2.1: the choices show in the cart block, the checkout block and the mini cart.

For products sold by length or weight, the stock can go down by a form field, for example 2 pieces of 2.5 metres take 5 metres. A line of three items can give three entries, one per item. If you sell subscriptions with WooCommerce Subscriptions (a separate plugin, required for this option), each renewal order can get its own entry; we tested it with renewal orders built the way that plugin builds them, so try one renewal on a staging copy before you rely on it. And you can give search engines a fixed price or a price range for a configured product instead of its base price.

Frequently asked questions

Which versions are supported?

WordPress 6.2 or newer, PHP 7.4 or newer, WooCommerce 8.0 or newer and Gravity Forms 2.5 or newer. The add-on was tested with WooCommerce 10.9 and with Gravity Forms 2.9 and 3.1, on PHP 7.4 and PHP 8.3, with the WooCommerce order storage switched on.

Can a product be sold without its form?

No. On shop pages the button of a configured product says “Choose options” and opens the product page, and an add-to-cart link without the form is refused with a message. Products without a form are not touched at all.

What about entries from carts that are never ordered?

They stay in Gravity Forms without an order, and the WooCommerce box on the entry page says so. With the “only when the order is paid” switch, they never trigger notifications or other add-ons.

Does any customer data leave my site?

No. The configurator runs inside your WordPress site. It only contacts the GravityExtra server to check the licence key and to look for updates.

Start configuring your products

If your products deserve more than a size drop-down, give them a real configurator built with the form builder you already use. Read the step-by-step documentation, then get the Gravity Forms Woo Product Configurator Premium Add-on and turn your first form into an add-to-cart form today.

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