FieldCraft for WooCommerce

Description

FieldCraft for WooCommerce lets you customize the WooCommerce checkout page. Add new custom fields, edit default fields, remove unnecessary ones, and rearrange them with a drag-and-drop interface β€” no coding required.

The plugin also includes conditional logic, dynamic pricing, custom sections, file uploads, and field templates.

Key Features

  • Drag-and-drop field reordering for Billing, Shipping, and Additional fields
  • 20+ field types: Text, Textarea, Select, Radio, Checkbox, Multi-checkbox, Date, Time, DateTime, Date Range, Color Picker, File Upload, Number, Email, URL, Password, Paragraph, and more
  • Conditional logic: Show or hide fields based on payment method, shipping method, country, cart contents, and other field values
  • Dynamic pricing: Add fees for any field (fixed or percentage)
  • Custom sections: Create new checkout sections at any position on the page
  • File upload with secure storage and admin management
  • Field templates: Pre-built sets you can apply in one click
  • Import/Export: Migrate checkout configurations between sites via JSON
  • Full Block Checkout (Checkout Block) compatibility
  • Translation ready

✏️ Field Types

The plugin supports a variety of field types to collect the data you need.

Input Fields
* Text, Textarea, Number, Email, URL, Password β€” standard inputs with full validation
* Select, Radio Button, Checkbox, Multi-checkbox β€” single and multiple choice options with customizable choices
* Paragraph β€” display-only elements for adding instructions or visual separators

Advanced Pickers
* Date Picker, Time Picker, DateTime Picker β€” with a built-in datepicker UI
* Date Range Picker β€” let customers select check-in/check-out dates, rental periods, etc.
* Color Picker β€” visual color selection with a native color input

File Upload
* Drag-and-drop upload zone with live image preview
* Per-field configuration: allowed file types, maximum file size
* Secure storage in protected directory with .htaccess blocking direct access
* Deferred upload β€” files are uploaded only when the customer places the order, preventing unnecessary server load

🧠 Conditional Logic

Show or hide fields dynamically based on the customer’s selections and checkout context. Checkout forms update in real time as customers make selections.

Supported Conditions
* Payment Method β€” Show fields only for specific gateways (e.g., show “Bank Reference” only for Bank Transfer)
* Shipping Method β€” Display fields based on chosen shipping (e.g., show “Delivery Instructions” only for Local Delivery)
* Billing/Shipping Country β€” Target fields to specific countries or regions
* Other Checkout Fields β€” Chain fields together (e.g., show “Company VAT” only when “Customer Type” is “Business”)

Logic Controls
* AND / OR relation β€” combine multiple conditions with “All must match” or “Any can match”
* Show When / Hide When β€” choose the action when conditions are met
* Equal / Not Equal comparison β€” flexible matching with wildcard support

πŸ’° Dynamic Pricing & Fees

Automatically add fees to the order based on customer selections. Useful for gift wrapping, rush processing, insurance, and other value-added services.

Pricing Types
* Fixed Amount β€” Add a flat fee (e.g., $5 for gift wrapping)
* Percentage β€” Calculate fee as a percentage of cart subtotal

All fees are automatically displayed in the WooCommerce order review, emails, and admin order detail β€” with full tax support.

πŸ“‚ Custom Checkout Sections

Go beyond the standard Billing/Shipping/Additional layout. Create new checkout sections and position them at the locations listed below.

Available Positions
* Before/After Customer Details
* Before/After Billing Form
* Before/After Shipping Form
* Before/After Registration Form
* Before/After Order Notes
* Before/After Terms & Conditions
* Before/After Submit Button

Each section gets its own field editor tab, drag-and-drop ordering, and conditional logic β€” just like the built-in sections.

πŸ“ Admin File Manager

Track every file uploaded through checkout in a dedicated admin dashboard.

  • Overview Stats β€” Total files, total storage used, orphan count at a glance
  • Search & Filter β€” Find files by name, order ID, or status (active vs. orphan)
  • Thumbnail Preview β€” Image files display inline thumbnails via secure proxy
  • Secure View/Download β€” Serve files through PHP proxy, bypassing .htaccess protection
  • One-click Delete β€” Remove files from both database and disk
  • Orphan Detection β€” Files from abandoned checkouts are flagged and can be cleaned up

πŸ“‹ Field Templates

Get started quickly with pre-built field sets covering common checkout scenarios.

  • Gift & Personalization β€” Gift wrapping checkbox, gift message, recipient name
  • Business / B2B β€” Company name, VAT number, purchase order number
  • Delivery Preferences β€” Preferred date, time slot, delivery instructions
  • Additional Info β€” “How did you hear about us?”, special requests, order notes

Apply any template with one click. Templates merge with your existing fields β€” they never overwrite.

πŸ“¦ Import / Export

Easily migrate checkout configurations between staging and production environments.

  • Export all field configurations as a JSON file
  • Import configurations from another site
  • Useful for development workflows and multi-site management

πŸ”’ Security

Built with WordPress security best practices:

  • Nonce verification on all AJAX endpoints
  • Capability checks (manage_woocommerce) on all admin operations
  • Rate limiting on guest file uploads (10 per IP per hour)
  • Sanitized Content-Disposition headers to prevent injection
  • File type whitelist enforcement on uploads
  • Protected upload directory with .htaccess blocking

πŸ’‘ Common Use Cases

Below are real-world scenarios store owners commonly solve with this plugin.

Personalization & Gifting

1. Gift wrapping with fee
Add a “Gift Wrap” checkbox field with a $5 fixed fee. When checked, show a “Gift Message” textarea β€” the fee is automatically added to the order total.

2. Personalized products
Add fields for “Name to Print”, “Font Style” (select), and “Color” (color picker) β€” all shown conditionally when “Add Personalization” checkbox is checked.

B2B & Business

3. Business checkout fields
Show “Company Name”, “VAT Number”, and “Purchase Order Number” only when “Customer Type” radio is set to “Business”. Hide them for personal orders.

4. Tax exemption upload
Add a file upload field for tax exemption certificates, shown only when billing country equals your domestic market and customer type is “Business”.

Delivery & Logistics

5. Delivery date and time slot
Add a date picker for preferred delivery date and a select dropdown for time slots (Morning, Afternoon, Evening). Show only for “Local Delivery” shipping method.

6. Delivery instructions for specific methods
Show a “Delivery Instructions” textarea only when the customer selects “Local Delivery” or “Same Day” shipping. Hide it for standard and express shipping.

7. Signature requirement for high-value orders
Add a “Require Signature” checkbox with a $3 fee, shown conditionally when cart total exceeds $200.

Marketing & Feedback

8. Referral tracking
Add a “How did you hear about us?” select field with options like Google, Facebook, Friend Referral, etc. Data is saved to order meta for analytics.

9. Special requests
Add a textarea for special requests, positioned in a custom section before the submit button with a heading “Anything else we should know?”.

Country-Specific Fields

10. CPF for Brazil
Show a “CPF” text field only when billing country is Brazil. Mark it as required.

11. GSTIN for India
Show “GSTIN Number” only when billing country is India and customer type is “Business”.

Combining Conditional Logic

Multiple conditions can be combined for more specific use cases:

  • “Show gift options only for physical products shipped domestically” β€” Combine: Shipping Method = Flat Rate AND Shipping Country = US
  • “Business fields for EU customers only” β€” Combine: Customer Type = Business AND Billing Country = any EU country
  • “Rush processing fee only for express shipping” β€” Combine: Shipping Method = Express AND add a $15 fixed fee checkbox

Screenshots

Installation

  1. Download the plugin from WordPress.org.
  2. Go to Plugins > Add New > Upload Plugin and choose the downloaded file.
  3. Click “Install Now” and then “Activate”.
  4. Navigate to Checkout Fields to start customizing your checkout fields.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“FieldCraft for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.2

  • Updated: Changed plugin description in readme.txt

1.0.1

  • Updated: Changed plugin name to “FieldCraft for WooCommerce”

1.0.0

  • Initial release