Skip to content

WooCommerce

Create a WooCommerce order from each form submission — useful for custom order forms, quote-to-order flows, and product requests that don't fit the standard cart.

Requires WooCommerce

This integration needs the WooCommerce plugin to be active. If WooCommerce isn't running, the submission still succeeds but no order is created.

Enable it

  1. Open your form → Settings → Integrations.
  2. Enable WooCommerce.
  3. Choose how products are selected — a fixed list or from a form field (see below).
  4. Choose the order status for created orders (defaults to Pending payment).
  5. Optionally map customer and address fields.
  6. Save the form.

Choosing products

Static — define a fixed list of products, each with an optional variation and quantity. Every order created from this form contains those products at their catalog price.

From a field — the products come from the submission:

SettingPurpose
Product fieldSupplies the product ID(s) — a single value, a comma-separated list, or a multi-value field.
Quantity fieldSupplies the quantity (defaults to 1).
Variation fieldSupplies a variation ID for variable products.
Price fieldOverrides the line-item price (otherwise the catalog price is used).

Customer & addresses

SettingPurpose
Create customerWhen on, a WooCommerce customer account is created from the email if one doesn't already exist. On by default.
Customer fieldsMap email, first name, last name, phone, and company to form fields.
Billing addressMap address line 1/2, city, state, postcode, and country.
Shipping addressEither mirror the billing address (Use billing, on by default) or map its own set of fields.
Order metadataAdd rows mapping a meta key to a form field, stored on the order.

How it works

  • Runs synchronously on submission. The order is created via WooCommerce's own API, totals are calculated, and an order note records that it came from the form.
  • If the customer email matches an existing account the order is attached to it; otherwise a new customer is created (when enabled) or the order is left as a guest order.
  • Fires formatrica_woocommerce_order_created after the order is saved.

Test it

  • Submit the form and confirm a new order appears under WooCommerce → Orders with the expected products, customer, and addresses.