Sale! Tested Updated Documented

Custom Checkout Fields for WooCommerce

From: $19.99 / year

Custom Checkout Fields for WooCommerce Pro plugin lets you add custom fields to WooCommerce checkout page.

$29.99 $19.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$79.99 $49.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
$149.99 $79.99Unlimited sitesLifetime updates and support30-day money-back guaranteeBuy
Clear

Description

With Custom Checkout Fields for WooCommerce Pro plugin you can add custom fields to WooCommerce checkout page.

You can choose numerous different types for fields:

  • Text
  • Textarea
  • Number
  • Checkbox
  • Color
  • Datepicker
  • Weekpicker
  • Timepicker
  • Select
  • Radio
  • Password
  • Country
  • State
  • Email
  • Phone
  • Search
  • URL
  • Range

Each type comes with specific options you can set for each field.

General Options:

  • Label
  • Placeholder
  • Default value
  • Description
  • Required
  • Customer meta fields

Position Options:

  • Section (billing/shipping/account/order)
  • Priority (i.e. order)

Input Options:

  • Max length
  • Min value
  • Max value
  • Step
  • Autofocus
  • Autocomplete

Style Options:

  • Class
  • Label class
  • Input class

Visibility Options:

  • Product categories
  • Product tags
  • Products
  • User roles
  • Min cart amount
  • Max cart amount
  • Product shipping classes
  • Virtual products
  • Downloadable products
  • Countries

Fee Options:

  • Fee value
  • Fee type (fixed; percent)
  • Fee title
  • Is fee taxable

General Options

Plugin settings are located in “WooCommerce > Settings > Custom Checkout Fields”.

Custom Checkout Fields for WooCommerce - General Options

Custom fields number
Sets number of custom checkout fields you want to add. Click “Save changes” after you set this number – new settings subsections will be added for each field.
Default: 1
Add all fields to admin emails
Adds all custom checkout fields to admin emails.
Default: yes
Add all fields to customers emails
Add all custom checkout fields to customers emails.
Default: yes
Emails: Before the fields
Added before the fields in emails.
Default: None
Emails: Each field
Placeholders: %label%, %value%.
Default:
<p><strong>%label%:</strong> %value%</p>
Emails: After the fields
Added after the fields in emails.
Default: None
Add all fields to "Order Received" (i.e. "Thank You") and "View Order" pages
Default: yes
Pages: Before the fields
Added before the fields on “Order Received” (i.e. “Thank You”) and “View Order” pages.
Default: None
Pages: Each field
Placeholders: %label%, %value%.
Default:
<p><strong>%label%:</strong> %value%</p>
Pages: After the fields
Added after the fields on “Order Received” (i.e. “Thank You”) and “View Order” pages.
Default: None
Advanced: Force fields sort by priority
Enable this if you are having theme related issues with “Priority (i.e. order)” options.
Default: no

Field Options

Custom Checkout Fields for WooCommerce - Field Options - General

Enable/Disable
Enables/disables the current field.
Default: no
Type
Field type. Possible values: Text; Textarea; Number; Checkbox; Datepicker; Weekpicker; Timepicker; Select; Radio; Password; Country; State; Email; Phone; Color; Search; URL; Range.
Default: Text
Label
Field label.
Default: None
Placeholder
Field placeholder.
Default: None
Default value
Enter default field value here. Use 1 or 0 for the checkbox type.
Default: None
Description
Field description.
Default: None
Required
Is field required or optional.
Default: no
Customer meta fields
Adds the field to the customer meta fields.
Default: yes

Field Options: Position

Custom Checkout Fields for WooCommerce - Field Options - Position

Section
Possible values: Billing; Shipping; Account; Order notes.
Default: Billing
Priority (i.e. order)
If set to zero – field will be added to the end of the section.
Default: 0

Field Options: Input

Custom Checkout Fields for WooCommerce - Field Options - Input

Max length
Maximum number of character for an input field. E.g. for Text type.
Default: 0
Min value
Minimum value for an input field. E.g. for Number/Range type. Leave blank to disable.
Default: None
Max value
Maximum value for an input field. E.g. for Number/Range type. Leave blank to disable.
Default: None
Step
Legal number intervals for an input field. E.g. for Number/Range type. Leave blank to disable.
Default: None
Autofocus
Default: no
Autocomplete
Default: None

Field Options: Style

Custom Checkout Fields for WooCommerce - Field Options - Style

Class
Possible values: Wide; First; Last.
Default: Wide
Label class
Default: None
Input class
Default: None

Field Options: Visibility

Custom Checkout Fields for WooCommerce - Field Options - Visibility

Categories
Show this field only if there is a product of selected category in cart. Leave blank to show for all products.
Default: None
Tags
Show this field only if there is a product of selected tag in cart. Leave blank to show for all products.
Default: None
Products
Show this field only if there is a selected product in cart. Leave blank to show for all products.
Default: None
User roles
Show this field only if visitor has selected user role. Leave blank to show for all users.
Default: None
Min cart amount
Show this field only if cart total is at least this amount. Ignored if set to zero.
Default: 0
Max cart amount
Show this field only if cart total is not more than this amount. Ignored if set to zero.
Default: 0
Product shipping classes
Show this field only if there is a product with selected shipping classes in cart. Leave blank to show for all products.
Default: None
Virtual products
Possible values: Always show the field; Show the field only if there are at least one virtual product in the cart; Hide the field if there are at least one virtual product in the cart.
Default: Always show the field
Downloadable products
Possible values: Always show the field; Show the field only if there are at least one downloadable product in the cart; Hide the field if there are at least one downloadable product in the cart.
Default: Always show the field
Countries
Countries to show/hide the field for.
Default: None
Countries: Action
Possible values: Hide in selected countries; Show in selected countries only.
Default: Hide in selected countries

Field Options: Fee Options

In this optional section you can set fees that are added to the cart totals in case if custom field’s value is not empty.

Custom Checkout Fields for WooCommerce - Field Options - Fee

Fee value
Sets fee value. Can be positive or negative. Ignored if set to zero.
Default: 0
Fee type
Sets fee type. Possible values: Fixed; Percent.
Default: Fixed
Percent fee: Cart total
Used only if “Percent” is selected in “Fee type”. Possible values: Subtotal before discounts; Subtotal after discounts.
Default: Subtotal after discounts
Percent fee: Add shipping
Adds shipping cost to cart total. Used only if “Percent” is selected in “Fee type”.
Default: no
Fee title
Sets fee title. Can be empty.
Default: None
Is fee taxable
Sets if fee is taxable or not.
Default: yes

Field Options: Select/Radio Type Options

Fill this section only if select/radio type is selected.

Custom Checkout Fields for WooCommerce - Field Options - Select Radio Type Options

Options
One option per line
Default: None
Select: use "Select2"
Default: no
Select2: Min input
Select2: Number of characters necessary to start a search. Ignored if set to zero.
Default: 0
Select2: Max input
Select2: Maximum number of characters that can be entered for an input. Ignored if set to zero.
Default: 0

Field Options: Checkbox Type Options

Fill this section only if checkbox type is selected.

Custom Checkout Fields for WooCommerce - Field Options - Checkbox Type Options

Value for ON
Default: Yes
Value for OFF
Default: No

Field Options: Datepicker/Weekpicker Type Options

Fill this section only if datepicker/weekpicker type is selected.

Custom Checkout Fields for WooCommerce - Field Options - Datepicker Weekpicker Type Options

Date format
Leave blank to use your current WordPress format. Visit documentation on date and time formatting for valid date formats.
Default: None
Min date
In days.
Default: -365
Max date
In days.
Default: 365
Year selector
Default: no
Year selector: year range
The range of years displayed in the year drop-down: either relative to today’s year (“-nn:+nn”), relative to the currently selected year (“c-nn:c+nn”), absolute (“nnnn:nnnn”), or combinations of these formats (“nnnn:-nn”). Note that this option only affects what appears in the drop-down, to restrict which dates may be selected use the minDate and/or maxDate options.
Default: c-10:c+10
First week day
Possible values: Sunday; Monday; Tuesday; Wednesday; Thursday; Friday; Saturday.
Default: Sunday

Field Options: Timepicker Type Options

Fill this section only if timepicker type is selected.

Custom Checkout Fields for WooCommerce - Field Options - Timepicker Type Options

Time format
Visit timepicker options page for valid time formats.
Default: hh:mm p
Interval
In minutes.
Default: 15

Reviews

There are no reviews yet.

Be the first to review “Custom Checkout Fields for WooCommerce”

Your email address will not be published. Required fields are marked *

5 thoughts on "Custom Checkout Fields for WooCommerce"

  1. Can i set the datepicker such that certain days like weekends are disabled ?

    1. Hi,

      Wasn’t possible, but I have just added it to the plugin. Please update the plugin to the latest v1.4.2. Then you will find new “Exclude days” and “Exclude months” options in each field’s “Datepicker/Weekpicker Type Options” settings section.

      Please give it a try and let me know if something is not working as expected. And if you like the plugin, please consider leaving me a rating.

  2. Hi, before buying. Will I be able to translate “Please enter 3 or more characters” to my language?

    1. Hi Tadas,

      This is coming from the Select2 library, so you won’t be able to translate it with our plugin’s POT file, however, I think I already found a solution. Will get back to you shortly…

    2. If anyone else has a similar question – “Select2: Custom text” options was added to the plugin in v1.4.1, so it’s now possible to translate (or customize) the Select2 texts.

Leave a Reply

Your email address will not be published. Required fields are marked *

Changelog

1.4.8 - 05/11/2020

  • Dev - [alg_wc_ccf_translate] shortcode added (for WPML / Polylang).
  • Dev - Shortcodes are now processed in these options: Label, Placeholder, Default value, Description, Fee title, Value for ON, Value for OFF.

1.4.7 - 28/10/2020

  • Dev - Select/Radio Type Options - Select2 - "Text input by user" option added.
  • WC tested up to: 4.6.

1.4.6 - 07/10/2020

  • Dev - Using another algorithm for JS minification now.
  • WC tested up to: 4.5.

1.4.5 - 19/08/2020

  • Dev - Datepicker/Weekpicker Type Options - Datepicker: Timepicker addon - "Time format" option added.
  • Dev - JS files minified.
  • WC tested up to: 4.4.

1.4.4 - 17/08/2020

  • Fix - Datepicker/Weekpicker Type Options - Datepicker: Exclude months - Fixed for 2-digit months.
  • Dev - Datepicker/Weekpicker Type Options - "Datepicker: Exclude dates" option added.
  • Dev - Datepicker/Weekpicker Type Options - Datepicker: Timepicker addon - "Min time" and "Max time" options added.
  • Dev - Timepicker Type Options - "Min time" and "Max time" options added.

1.4.3 - 14/08/2020

  • Fix - Weekpicker - JS errors fixed.
  • Dev - Datepicker/Weekpicker Type Options - "Datepicker: Timepicker addon" option added.
  • Dev - Datepicker/Weekpicker Type Options - Settings titles updated for "Exclude days" and "Exclude months" options (titles start with "Datepicker: ..." now).

1.4.2 - 13/08/2020

  • Dev - Datepicker/Weekpicker Type Options - "Exclude days" option added.
  • Dev - Datepicker/Weekpicker Type Options - "Exclude months" option added.
  • Tested up to: 5.5.

1.4.1 - 07/08/2020

  • Fix - Advanced - Force fields sort by priority - Option fixed.
  • Dev - Select/Radio Type Options - Select2 - "Custom text" options added.
  • WC tested up to: 4.3.
  • Tested up to: 5.4.

1.4.0 - 02/03/2020

  • Dev - Visibility Options - "Countries" ("Hide" or "Show") options added.
  • Dev - Admin settings descriptions updated.
  • Dev - Code refactoring.
  • WC tested up to: 3.9.

1.3.0 - 13/11/2019

  • Dev - Admin settings restyled.
  • Dev - Code refactoring.
  • Langs - es_ES translation added.
  • Tested up to: 5.3.
  • WC tested up to: 3.8.

1.2.1 - 22/05/2019

  • Dev - Visibility Options - "Virtual products" option added.
  • Dev - Visibility Options - "Downloadable products" option added.
  • Dev - Fee Options - "Percent fee: Cart total" option added.
  • Dev - Fee Options - "Percent fee: Add shipping" option added.

1.2.0 - 20/05/2019

  • Dev - "Fee Options" added.

1.1.0 - 09/05/2019

  • Fix - Plugin URI fixed.
  • Dev - Visibility Options - "Product shipping classes" option added.
  • Dev - Code refactoring.
  • Tested up to: 5.2.
  • WC tested up to: 3.6.

1.0.0 - 04/05/2018

  • Initial Release.

Free version

This plugin is a premium version of free "Custom Checkout Fields for WooCommerce" plugin.

Developers

If you need to retrieve custom checkout fields' values from the order in PHP, you can use WordPress get_post_meta() function. Field's key consists of field's number, position (i.e. section) and _alg_wc_checkout_field_ text, e.g.:

$order_id = $order->get_id();
$field1_value = get_post_meta( $order_id, '_billing_alg_wc_checkout_field_1', true );  // "Billing" section
$field2_value = get_post_meta( $order_id, '_shipping_alg_wc_checkout_field_2', true ); // "Shipping" section
$field3_value = get_post_meta( $order_id, '_order_alg_wc_checkout_field_3', true );    // "Order notes" section
$field4_value = get_post_meta( $order_id, '_account_alg_wc_checkout_field_4', true );  // "Account" section

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to "Admin Dashboard > Plugins > Add New > Upload Plugin" and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.