Checkout v2: render checkout fields that have no woocommerce-form-field element (plugin and newly enabled fields are silently missing)

Hi guys! A request around the native (v2) checkout, which we now use on every store.

Environment: Bricks 2.4.4, WooCommerce 11.2.1, checkout built from the Bricks preset.

What happens

The v2 checkout renders fields one by one, with a woocommerce-form-field element per fieldKey. Any field that’s added after the preset was inserted has no element, so it never appears. Examples from real stores:

  • Company name, enabled later in the Customizer
  • a VAT number added by an invoicing plugin (Számlázz.hu, HuCommerce)
  • a required “Private person / Company” radio field added by the same invoicing plugin

There’s no notice. If the hidden field is required, the customer can’t place the order: WooCommerce rejects it with “required field missing” for a field they never saw.

Today we compare WC()->checkout()->get_checkout_fields() with the fieldKeys in the checkout tree after every plugin change, and add the missing elements by hand.

What would help (any one of these):

  1. An option on the billing/shipping address sections (or a dedicated element), something like “Render remaining fields”, that outputs every registered checkout field in that group which has no woocommerce-form-field element on the page, in WooCommerce’s priority order.
  2. A builder notice on the checkout template listing registered fields that aren’t placed (at least the required ones).
  3. Have bricks/get-woo-setup-status report unplaced checkout fields, so agents and admins can catch it after installing a plugin.

Option 1 would make the checkout robust to plugin changes without anyone having to remember.

Please check if this is what you want.

Thanks Jenn, that’s very helpful. I hadn’t found the “Sync checkout fields” group. “Check checkout fields” + “Generate missing fields” covers the repair side in the builder, and I’ll add it to our handover notes for clients.

Two gaps remain from our side, if you’d consider them:

  1. It only runs when someone remembers to press it. The typical failure is a client installing an invoicing plugin months after launch: a new required field appears, nobody opens the builder, and orders fail with “required field missing” for a field the customer can’t see. A passive signal would catch that, for example an admin notice, or a line in Site Health / the WooCommerce status when the checkout template has unplaced required fields.

  2. It isn’t reachable through the abilities. We build and maintain checkouts through MCP, and on 2.4.4 bricks/get-woo-setup-status doesn’t mention an unplaced field. I tested with a temporary required billing_* field. Exposing the same audit as an ability, or adding the audit’s missing/invalid/duplicate result to get-woo-setup-status, plus a “generate missing” action, would let an agent run the same sync after every plugin change.