In this guide

Explore the steps and reference sections below.

Start reading
On this page

Use Checkout Field Editor to edit classic checkout fields and collect additional order details. Free includes basic custom fields and validation; Pro adds advanced types, conditional rules and protected uploads. Checkout Blocks support a smaller set of custom order fields.


Overview

Checkout compatibility: WooCommerce Checkout Blocks supports custom order text, select, and checkbox fields. Changes to core checkout fields, address-only fields, conditional fields, content fields, and file uploads require classic checkout. Check which checkout your store uses before creating fields.

What is the Checkout Field Editor?

On classic checkout, Checkout Field Editor provides these controls:

  • Add new fields to collect additional information (delivery instructions, gift messages, custom data)
  • Edit existing fields – change labels, placeholders, and validation rules
  • Reorder fields using intuitive drag-and-drop
  • Hide or disable fields you don’t need
  • Organize fields into sections – Billing, Shipping, Additional Information, and Order Notes

Getting Started

  1. Navigate to Swift Commerce → Checkout Fields in your WordPress admin
  2. Toggle Enable Field Editor to activate the feature
  3. Use the Editor tab to manage fields visually
  4. Use the Settings tab to configure global options
  5. Click Save Changes when done

Editor Tab

The Editor tab is your visual workspace for managing all checkout fields. It displays fields organized by section with full drag-and-drop support.

Quick Add Fields

Add new fields instantly using the Quick Add toolbar at the top of the editor.

Field TypeDescriptionAvailability
TextSingle-line text inputFree
NumberNumeric input with validationFree
EmailEmail address with format validationFree
PhoneTelephone number inputFree
PasswordPassword input (masked)Free
HiddenHidden field (not visible to customers)Free
URLWebsite URL inputFree
TextareaMulti-line text areaFree

Pro Field Types (requires Swift Commerce Pro):

Field TypeDescription
SelectDropdown menu with options
Multi SelectSelect multiple options
RadioRadio button group
CheckboxSingle checkbox toggle
Checkbox GroupMultiple checkboxes
File UploadAllow customers to upload files
DateDate input field
TimeTime input field
Date & TimeCombined date and time picker
MonthMonth selection
WeekWeek selection
Date PickerAdvanced calendar picker
Time PickerAdvanced time picker
HeadingSection heading (display only)
LabelStatic label text
ParagraphDescriptive paragraph text

Checkout Sections

Fields are organized into four sections:

SectionDescriptionDefault Fields
BillingCustomer billing address and contact infoFirst Name, Last Name, Company, Country, Address, City, State, Postcode, Phone, Email
ShippingShipping destination addressFirst Name, Last Name, Company, Country, Address, City, State, Postcode
Additional InformationCustom fields for extra data collectionEmpty by default
Order NotesCustomer notes about their orderOrder Comments

Section Controls

Each section card provides:

  • Expand/Collapse – Toggle section visibility in the editor
  • Enable/Disable – Hide entire sections from checkout
  • Field Count – Shows total and enabled field counts
  • Add Field – Button to add new fields to the section

Managing Individual Fields

Field Card Display

Each field shows:

  • Icon – Visual indicator of field type
  • Label – The field’s display name
  • Required Badge – Red badge if field is required
  • Core Badge – Gray badge for WooCommerce default fields
  • Field Type – Text, Email, Select, etc.
  • Field Key – The unique identifier (e.g., billing_email)
  • Width – 100%, 50%, or 33%

Field Actions

Hover over any field to reveal action buttons:

ActionIconDescription
Enable/DisableEye/EyeOffToggle field visibility on checkout
EditPencilOpen detailed field editor dialog
DuplicateCopyCreate a copy of the field
DeleteTrashRemove the field (custom fields only)

Note: Core WooCommerce fields cannot be deleted, but supported fields can be disabled in Free on classic checkout. This does not hide the core address fields in Checkout Blocks.

Drag and Drop Reordering

Reorder fields within a section by dragging the grip handle on the left side of each field card. Fields will automatically update their priority order when dropped.

Field Editor Dialog

Clicking the Edit button opens a comprehensive dialog with four tabs:

General Tab

SettingDescription
LabelThe text displayed above or beside the field
Field KeyUnique identifier used in code and database
PlaceholderGhost text shown inside empty fields
DescriptionHelp text displayed below the field
Default ValuePre-filled value when checkout loads
WidthFull (100%), Half (50%), or Third (33%)
CSS ClassCustom class names for styling
Field EnabledToggle to show/hide this field

Validation Tab

SettingDescription
Required FieldMake this field mandatory
Min LengthMinimum character count (text fields)
Max LengthMaximum character count (text fields)
Min ValueMinimum number (number fields)
Max ValueMaximum number (number fields)
Validation PatternPredefined or custom regex pattern
Error MessageCustom message when validation fails

Available Validation Patterns:

PatternDescription
NoneNo pattern validation
Letters onlyAlphabetic characters only
Numbers onlyNumeric characters only
AlphanumericLetters and numbers
Canadian postal codeFormat: A1A 1A1
US ZIP codeFormat: 12345 or 12345-6789
UK postcodeStandard UK format
Custom patternDefine your own regex

Options Tab (For Select, Radio, Checkbox Group)

Manage the choices available in selection fields:

  • Add Option – Create a new choice
  • Label – Display text shown to customers
  • Value – Internal value stored in the database
  • Set as Default – Pre-select this option
  • Reorder – Drag to change option order
  • Delete – Remove an option

Advanced Tab

SettingDescription
AutocompleteBrowser autocomplete attribute (e.g., given-name, email)
RowsNumber of rows for textarea fields
Allowed File TypesComma-separated extensions for file uploads
Max File SizeMaximum upload size in MB
Min/Max DateDate range limits for date fields
PrefixText displayed before the input
SuffixText displayed after the input
Input MaskFormat mask (e.g., (999) 999-9999 for phone)

Input Mask Syntax:

  • 9 = Any digit (0-9)
  • a = Any letter (a-z, A-Z)
  • * = Any character

Settings Tab

The Settings tab contains global configuration options that affect all checkout fields.

General Settings

SettingDescriptionDefault
Enable Field EditorWhen disabled, WooCommerce default checkout fields are usedEnabled
Enable Conditional LogicAllow fields to show/hide based on other field valuesEnabled (Pro)
Enable Custom ValidationApply supported custom validation patterns and limits (Free)Enabled

Display Settings

Configure how fields appear on the checkout page.

SettingDescriptionDefault
Show Field LabelsDisplay labels above form fieldsEnabled
Show PlaceholdersDisplay placeholder text inside fieldsEnabled
Show Field DescriptionsDisplay help text below fieldsEnabled
Required Field IndicatorCharacter to mark required fields*
Indicator PositionShow indicator before or after the labelAfter

Validation Settings

Control how field validation behaves during checkout.

SettingDescriptionDefault
Validate on BlurValidate fields when user leaves themEnabled
Validate on SubmitValidate all fields when form is submittedEnabled
Show Errors InlineDisplay error messages next to fieldsEnabled
Scroll to First ErrorAutomatically scroll to the first errorEnabled
Highlight Error FieldsAdd visual highlight to fields with errorsEnabled
Error PositionDisplay errors above or below the fieldBelow

Address Override Settings

Configure how address fields interact with saved customer data.

SettingDescriptionDefault
Override Address FieldsAllow checkout fields to override saved address dataDisabled
Allow Billing OverrideUsers can override their saved billing addressEnabled
Allow Shipping OverrideUsers can override their saved shipping addressEnabled
Sync Billing & ShippingKeep billing and shipping addresses synchronizedDisabled

File Upload Settings (Pro)

Configure file upload behavior for file fields.

SettingDescriptionDefault
Protected upload storageManaged private checkout files; not ordinary public Media Library linksswift-commerce-private
Max Total Upload SizeMaximum total file size per checkout (MB)10 MB

Supported file types are configured per-field in the Pro settings:

  • Default allowed: jpg, jpeg, png, pdf, doc, docx

Import, Export & Reset

ActionDescription
Export SettingsDownload all field configurations as JSON
Import SettingsUpload a previously exported JSON file
Reset to DefaultsRestore all fields to WooCommerce defaults

Warning: Reset cannot be undone. Export your settings first if you want to preserve them.


Conditional Logic (Pro)

Conditional logic allows you to show or hide fields based on the values of other fields.

How It Works

  1. Edit a field and go to the Conditional Logic section
  2. Enable conditional logic for the field
  3. Choose the action: Show or Hide
  4. Set the logic mode: All rules (AND) or Any rule (OR)
  5. Add rules based on other field values

Available Operators

OperatorDescription
EqualsField value matches exactly
Does not equalField value doesn’t match
ContainsField value includes the text
Does not containField value excludes the text
Is emptyField has no value
Is not emptyField has a value
Greater thanNumeric comparison
Less thanNumeric comparison

Before changing a live checkout

  • Identify whether the checkout page uses the classic shortcode or WooCommerce Checkout Block. A field that saves in the editor is not necessarily available in both.
  • For Checkout Blocks, test a custom order text, select, or checkbox field through order submission and inspect the order data.
  • For classic checkout, test core-field changes, conditional rules, address behavior, content fields and Pro uploads with both valid and invalid submissions.
  • Export your field configuration before bulk changes or imports. Importing settings can replace the current configuration; review the result before accepting orders.

Which fields work with Checkout Blocks?

Free registers compatible custom order text fields in Blocks. Text, number, email, phone and URL configurations use the Blocks text input; Pro also allows select and checkbox inputs. Textarea, hidden, date, upload and conditional fields are not registered in Blocks.

  1. Open Swift Commerce → Checkout Fields → Editor. Add a custom field to Additional Information or Order Notes, not a billing-only or shipping-only section.
  2. Keep the field and its section enabled. Use a supported type and leave the field’s conditional logic disabled.
  3. Save the configuration. Open the actual Checkout Block page, complete a test order and inspect the saved answer in WooCommerce.
  4. If the field is missing, check the section, type, enabled state and checkout type before changing the theme.

Follow the Checkout Blocks custom order field tutorial. For classic checkout, use the separate conditional fields and protected upload tutorials.

Where are custom answers and uploads saved?

Supported custom answers are stored with the WooCommerce order. Classic values can be displayed in the admin order, customer order details and order emails; Blocks use WooCommerce’s additional-field handling. Verify the result in each context you rely on, rather than treating a successful field save as a successful order test.

On classic checkout, Pro uploads are attached to their order. Download authorization checks store-management access, the order’s signed-in customer or a matching order key. Treat order links and keys as private. Test an allowed file, a rejected file type and an oversized file before accepting customer uploads.

For the capability and edition overview, see Checkout Field Editor for WooCommerce.