Back

VibeFox Checkout Fields Editor — Help

Requirements

WordPress: 5.8 or later.

WooCommerce: 5.0 or later, installed and active. The plugin refuses to activate without it.

PHP: 8.0 or later.

Checkout page: all features work on the classic checkout (a page with the [woocommerce_checkout] shortcode). On the Checkout block only basic custom fields are shown (see Checkout block).

VibeFox license key: bought on vibefox.net. One key works on one domain.

Installation

1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vfw_checkout_fields_editor folder to /wp-content/plugins/ by FTP.

2. Click Activate. WordPress opens VF Checkout Fields Editor > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).

3. The menu VF Checkout Fields Editor appears in the WordPress admin with the pages Field Builder and Settings.

4. Open VF Checkout Fields Editor > Field Builder. Turn fields on or off, add your own fields and click Save Changes.

5. General options are in VF Checkout Fields Editor > Settings.

After installation the checkout does not change: as long as you change nothing in the builder, the default fields are shown as WooCommerce shows them.

Configuration

All general settings are on one page: VF Checkout Fields Editor > Settings. The sections are listed on the left. Click Save Changes to save.

General > Checkout

Enable Plugin: master switch. When off, the checkout is left untouched: no field changes, no validation, no fees. Values already saved in orders are still displayed. Default: on.

Hide "Additional information" section: removes the order notes block together with every field of the Additional section (classic checkout). Default: off.

Hide "Ship to a different address": orders are always shipped to the billing address and the Shipping section is not shown (classic checkout). Default: off.

Show "Return to shop" link: a link to the shop page above the checkout form (classic checkout). Default: off.

General > File Upload

Allowed File Types: comma-separated extensions. A field can set its own list in the builder. Scripts, HTML and SVG are always refused. Default: jpg,jpeg,png,gif,pdf,doc,docx.

Max File Size (MB): the limit per file, from 1 to 100. The field shows the largest size your server accepts. Default: 5.

Max Files Per Field: how many files a customer can upload to one field. Default: 3.

Files are stored in wp-content/uploads/vfw-cfe-uploads/ under random names. The folder denies direct access on Apache. On nginx add a "deny all" rule for this folder.

Display > Order & Emails

Global switches for the values of custom fields. Each field also has its own Show In options in the builder (Display tab).

Show in Admin Order Details: shows the values on the order page in the admin. Default: on.

Show in Customer Emails: adds the values to the WooCommerce emails to the customer. Default: on.

Show in Admin Emails: adds the values to the WooCommerce emails to the store. Default: on.

Position in Emails: where the values appear in the emails.

Before Order Table: above the order items.
After Order Table: below the order items (default).

Show on the Thank You Page: shows the values on the order received page. Default: on.

Show in My Account → Orders: shows the values on the order page in My Account. Default: on.

Compatibility > Checkout

WooCommerce Checkout Block Support: adds the supported custom fields to the Checkout block (see Checkout block). Default: on.

Checkout status: shows what your checkout page uses: Classic checkout (shortcode), Checkout block, or Classic + Checkout block when the page holds both (for example one per language), with an Edit page link.

Logging

Enable Logging: writes to logs/debug.log.php inside the plugin folder. The file is protected and rotated at 5 MB. No customer data is logged. Default: off.

Log Level: the minimum level that is written.

Info: all events.
Warning: warnings and errors.
Error: errors only (default).

Log: the latest entries of the log.

Uninstall & Clear

Delete All Data on Uninstall: when the plugin is deleted, removes the settings, field configuration, uploaded files and the custom field values stored in orders and customer profiles. Deactivating never deletes anything. Default: off.

Data Cleanup: buttons with the current counts:

Reset Fields and Sections: deletes custom fields and sections and restores the default WooCommerce configuration. Settings and saved order data are kept.
Clear Configuration Cache: clears the field and section caches. They are rebuilt automatically when needed.
Clear Log: permanently deletes all entries in the current and rotated log files.

Import / Export

Export Configuration: downloads fields, sections and settings as a JSON file. Use it to restore the configuration or to copy it to another site.

Import Configuration: upload a JSON file exported by this plugin (drag and drop or click to browse) and click Import. Everything is validated like a save in the builder. By default the import replaces the current fields and sections. Tick Merge with the current fields and sections (instead of replacing them) to add new fields and sections and update matching ones.

Status

System: the current and minimum versions of PHP, WordPress and WooCommerce with OK or Below Minimum.

Checkout Configuration: the number of fields, custom fields and custom sections.

Multilingual support: the detected multilingual plugin (WPML, Polylang or qTranslate-XT) and the site languages. If more than one multilingual plugin is active, a warning asks you to keep only one.

Field Builder

The page VF Checkout Fields Editor > Field Builder has three panels. On the left, Field Types grouped as Basic Fields, Choice Fields, Date & Time, Media Fields, Formatting and Special Fields, with a search. In the middle, the sections with their fields. On the right, Field Settings of the selected field. Drag a type into a section or click it to add it. Drag fields to change their order, also between sections. Expand All and Collapse All open and close the sections. Click Save Changes to apply. Unsaved changes are marked, and the page asks before you leave it.

Each field row has a switch to enable or disable the field and the actions Edit, Duplicate and Delete. WooCommerce default fields cannot be deleted, only disabled.

The sections are Billing Details, Shipping Details and Additional Information, plus your own sections.

Field types

Basic Fields: Text, Textarea, Password, Hidden, Number, Email, Phone, URL.
Choice Fields: Select, Multi-Select, Radio, Checkbox, Checkbox Group, Toggle Switch, Button Select.
Date & Time: Date Picker, Time Picker, DateTime Picker, Month Picker, Week Picker. They use the native date and time fields of the browser.
Media Fields: File Upload, Color Picker.
Formatting: Heading, Paragraph, Label, HTML, Divider. They show text only and save no value.
Special Fields: Country, State/Region.

Basic tab

Label, Placeholder and Description (help text shown below the field). Name / Key: auto-generated from the label, change only if needed. Field Type, Default Value, Required and Enabled. For a WooCommerce field the type and key cannot change. Leave the label and placeholder as they are to keep the WooCommerce texts, which can depend on the customer's country.

Options tab

For select, radio, checkbox group and button select fields. Each option has a Label, a Value and a Price (see Pricing). Add Option adds one row. Bulk Add takes one option per line, as value|Label or just Label (the value is generated), and Apply adds them.

Validation tab

Validation Type: None, Email, Phone, Postcode, URL, Number, Letters Only, Alphanumeric or Custom Pattern (regex).

Custom Regex Pattern: without delimiters, for example ^[A-Z]{2}\d{4}$. Checked in the browser and on the server.

Error Message: your own error message. Min Length, Max Length, Min Value and Max Value limit the input.

For file upload fields: Allowed File Types (leave empty for the global setting) and Max File Size (MB).

Display tab

Field Width: 25%, 33%, 50%, 66%, 75% or 100%. On phones fields are always full width. CSS Class: your own class for the field. Show In: Thank You Page, Admin Order, Customer Email and Admin Email for this field.

Conditions tab

Enable Conditional Logic and choose the Action: Show this field if or Hide this field if. Rules inside a group must all match (AND). Add OR Group adds another group; one matching group is enough (OR). A field hidden by a condition is not required and its value is not saved.

Field Value: the value of another field.
User Role: the role of the customer, or Guest (not logged in).
Shipping Method: the chosen shipping method.
Payment Method: the chosen payment method.
Cart Contains Product: a product ID in the cart.
Cart Contains Category: a product category in the cart.
Cart Total: the cart total.
Cart Quantity: the number of items in the cart.
Billing Country: the billing country.

Operators: is, is not, contains, does not contain, is empty, is not empty, greater than, less than.

Pricing tab

Enable Pricing adds a fee to the cart when the field is filled in.

Fee Type:

Fixed Amount: a fixed sum.
Percentage of Subtotal: a percentage of the cart subtotal.
Percentage of Total: a percentage of the subtotal minus discounts plus shipping.

Fee Amount, Fee Label (the name of the fee line; empty means the field label) and Taxable. Choice fields can also have a price for each option.

Sections

Click Add Section to create your own section: Section Title, Section ID (auto-generated from the title), Position on the checkout and Show this section. Custom sections are shown on the classic checkout. Hidden sections keep their fields. Section settings and Delete section are in the section header. Positions:

Default (native WC position), Before Customer Details, After Customer Details, Before Billing Form, After Billing Form, Before Shipping Form, After Shipping Form, Before Order Notes, After Order Notes, Before Order Review, After Order Review, Before Payment, After Payment, Before Submit Button, After Submit Button, Before Order Review Table.

How it works

Checkout: the customer sees the fields in the chosen sections, widths and order. Required fields are checked in the browser and on the server, with messages such as This field is required. or Please enter a valid email address. Conditions show and hide fields as the customer fills in the form or changes the shipping or payment method. Required shipping fields are checked only when Ship to a different address is ticked.

Fees: a fee appears as a separate line in the order review and is added to the order total.

File uploads: the customer clicks or drops files into the field and sees the progress, the allowed types, the size limit and the number of files. A file can be removed with Remove file before the order is placed. Uploads need products in the cart. The real file type is checked. Uploads that never reached an order are deleted after 2 days. When an order is deleted permanently, its files are deleted too.

Downloads: the store manager opens the files from the order. The customer opens them from the order page or the email link. Other visitors get You are not allowed to download this file.

Order: the values are saved in the order (HPOS and the classic order storage) and shown in the Additional Checkout Fields block under the billing address on the order page, on the Thank you page, in My Account and in the WooCommerce emails, as set in Display and in the field's Show In options.

Customer profile: custom fields of the Billing and Shipping sections are saved in the customer profile. They are filled in at the next order and can be edited in My Account > Addresses with the same validation.

Multilingual: with qTranslate-XT, WPML or Polylang the builder shows a translation field for each language next to the label, placeholder, description and error message. The qTranslate-XT format [:en]...[:de]...[:] is understood too. With WPML and Polylang the texts are also registered in String Translation under VibeFox Checkout Fields.

Fields cannot be excluded on dates or days of the week, and there is no phone input mask.

Checkout block

With WooCommerce Checkout Block Support on, supported custom fields are added to the Checkout block through the WooCommerce Additional Checkout Fields API. They appear in the additional order information area, with the required state, validation and conditions by shipping method, payment method, country, product and cart quantity. Text fields stay text fields, select, radio and button select fields become a list, checkbox and toggle fields become a checkbox. WooCommerce itself shows these values in the order, the emails and on the Thank you page.

Only on the classic checkout: changes to the default WooCommerce fields, custom sections and their positions, fees, file uploads, multi-select, checkbox group and color fields, and conditions by field value, role, category and cart total. The builder lists the fields that are not added to the block and the reason, for example fields with a fee work only in the classic checkout.

License key

VibeFox license key: bought on vibefox.net. One key works on one domain.

The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.

Open VF Checkout Fields Editor > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Checkout Fields Editor then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.

Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Checkout Fields Editor) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.

An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.

Troubleshooting

The plugin menu shows only Settings: the license key is not active. Open VF Checkout Fields Editor > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.

The checkout did not change after installation: this is expected. Until you change something in the builder, the default fields are shown as WooCommerce shows them.

Custom fields do not appear at checkout: check that Enable Plugin is on, the field is enabled, and its conditions match. If the checkout page uses the Checkout block, see Compatibility > Checkout status: only basic fields are shown there, and none if WooCommerce Checkout Block Support is off. Use the classic checkout ([woocommerce_checkout] shortcode) for all features.

The Company field is disabled, although I did not disable it: the builder shows the current WooCommerce state. The field is hidden in Appearance > Customize > WooCommerce > Checkout. Enable it in the builder or there.

WooCommerce default fields cannot be deleted — disable them instead.: default fields can only be switched off.

A file is not accepted: the messages say why: Invalid file type. Allowed types: …, File is too large. Maximum size: … MB. or Too many files. Check Allowed File Types, Max File Size (MB) and Max Files Per Field in Settings and in the field.

Uploaded files can be opened directly on nginx: the protection of the upload folder uses .htaccess, which nginx ignores. Add a deny rule for uploads/vfw-cfe-uploads.

This export file is not from VibeFox Checkout Fields Editor.: import only JSON files exported by this plugin.

Something went wrong after a change: turn on Enable Logging, repeat the action and read the Log. Clear Configuration Cache rebuilds the field cache.

For developers: values are stored in the order meta _vfw_cfe_{field key}, the field map in _vfw_cfe_fields_map. Filters include vfw_cfe_field_types, vfw_cfe_checkout_fields, vfw_cfe_validate_field, vfw_cfe_condition_types, vfw_cfe_section_positions, vfw_cfe_fee_amount, vfw_cfe_allowed_file_types and vfw_cfe_order_rows. Actions include vfw_cfe_after_save_fields, vfw_cfe_field_saved_to_order and vfw_cfe_file_uploaded.

Uninstall

Deactivating the plugin keeps all data. To remove it, deactivate and delete it on the Plugins page. The settings, field configuration, uploaded files and the custom field values in orders and customer profiles are removed only if Delete All Data on Uninstall was on. Otherwise they stay for a later re-install. The license key and license status of this plugin are always removed. The domain slot is freed only in your vibefox.net account.

Bug Report

Thank you for helping us improve. We carefully review every report, but we do not reply to them individually. If your report leads to a change, it will be listed in the product changelog together with the report number. To discuss something in detail, please open a support ticket.

Slide to fit the puzzle