You can display additional product fields during checkoutWooCommerce conditional product fields at checkoutinsert! Fields can be dynamically displayed according to logical rules...all with the help of a great visual editor!
(Store administrator account)
How does it work?
The plugin supports generating additional product fields that will be displayed on the checkout page using a visual editor.Each field can have its own set of conditional criteria that the plugin uses to determine whether it should be displayed.Condition rules can take into account other condition field values or WooCommerce native checkout field values, such as:
- billing field
- Shipping field
- payment method
Last but not least, each field can only be displayed once per order, per product or per product cart quantity.
For example, you can:
- Make a field that only appears when the billing country is Italy and the state/province is Rome.
- Make a field that only appears when the payment method is PayPal.
- After creating a text field named "field1", you can add a second field that will only appear if "field1" contains words like "hello world".
- You can build a second field after building the date field "field1", which will only appear if the specified date of "field1" is greater than December 25, 2018.
Dynamic Field Display and Conditional Logic
Each field can have many "and/or" conditional rules that only make fields dynamically visible when certain conditions are met.Values from additional fields or native billing/shipping checkout fields can be used to create conditional rules.
Note that in the case of other custom field values, logic rules can only be established for fields with the same display policy and location selection.
Store admins will be able to use plugins to create the following field types:
- state and country
Each field has its own set of settings, such as CSS classes assigned to input fields, placeholder text, email, order detail page, row size, and more.
NOTE: The HTML field will only be shown on the checkout page. It may be used to visually arrange a variety of different fields (for example creating headings).
Visibility by product/category
Fields can only be displayed for selected items or categories. If there is no selection, the plugin will display a field for each product in the basket.When you select a category, the plugin will display a field for each product that belongs to that category.
By default, the plugin will display a field for each matching product. However, you can choose from the following options:
- For matching items, the field will only show each product once.
- For matching items, this field will appear N times, where N is the cart quantity.
- It will only be executed once if at least one of the specified products/categories matches the current product/category in the basket.
You can choose to display this field after the billing or shipping form.
Note: If the Ship to a different address option was selected at checkout, the field will only be shown in the shipping form selection. Otherwise, WooCommerce will not display the shipping form, and the field will be hidden.
Notes on Country and State
In WooCommerce -> Settings -> General menu, only states/provinces can be specified for allowed selling countries.
If WPML is recognized, the plugin will display multilingual input fields for tags, placeholders, and other elements. This way you can insert various texts for each language.
Additional fields are smoothly incorporated (in the case of the "one-off" field type) or after (in the case of "per product" or "per cart quantity") if the corresponding conditional conditions (if any) are met ” field type)) billing/shipping form.Note that this field will only appear in the shipping form if the option to ship to a different address is selected at checkout.Otherwise, WooCommerce will not show the shipping form and the field will be hidden.
After placing an order, the plugin will display certain verification messages if required fields, emails are not formatted correctly, or values are not within the preselected range.
Integrate with backend
Depending on the field type, more fields will be incorporated smoothly into the order details page.The Product/Cart Quantity field type is reported under each product it references, while the one-time field is reported under Customer Billing/Shipping Information (based on field location).
Notes on the Modified Checkout Form
If you have changed the checkout form in any way, such as adding/removing/customizing fields using a 3rd party plugin, this may cause the plugin to stop working properly.
Changelog: WooCommerce Conditional Product Fields at Checkout
= v5.5 - 18.10.21 = * Bugfix = 5.4 - 11.10.21 = * Bugfix = 5.3 - 27.07.21 = * Code Redesign = 5.2 - 02.03.21 = * Bugfix = 5.1 - 29.12.20 = * Fixed an issue due to when using date fields, when excluding just one day, the fields were not properly rendered = 5.0 - 08.09.20 = * Minor improvement = 4.9 - 20.08.20 = * Fixed an issue related to the delete process = 4.8 - 19.08.20 = * Minor bugfix = 4.7 - 18.08.20 = * Fixed an issue related to the logic condition configurator = 4.6 - 06.05.20 = * Fixed an issue related to WPML = 4.5 - 04.05.20 = * Minor bugfix = 4.4 - 02.04.20 = * Fixed an issue with date display format = 4.3 - 09.03.20 = * Added option to disable specific day of the week for date selector = 4.2 - 19.02.20 = * Bugfix related to the date and time fields = 4.1 - 08.02.20 = * Fixed an issue due to field headers were shown after the shipping form even if they should not = 4.0 - 04.01.20 = * Fixed an issue related to the relative max date option = 3.9 - 12.11.19 = * Fixed an issue related with WordPress 5.3 that may prevent field to be properly shown on checkout and in the configuration page = 3.8 - 07.11.19 = * Fixed an issue related to the min/max date selection option for Date field = 3.7 - 04.11.19 = * Fixed an issue related to WPML field label translation on the Order details page = 3.6 - 01.11.19 = * Removed "billing" and "shipping" prefixes for "one time" field type = 3.5 - 21.08.19 = * Fixed an issue related to the checkout validation process for required fields = 3.4 - 10.08.19 = * Fixed an issue due to the "one time" field type mandatory option was ignored = 3.3 - 31.07.19 = * Unique id is now showed in the field configuration panel = 3.2 - 28.07.19 = * Minor bugfix = 3.1 - 16.07.19 = * Fixed an issue related to mandatory fields and blank character = 3.0 - 11.07.19 = * Product selector now shows only published products = 2.9 - 09.07.19 = * Improved datepicker: is now possible to choose the number of years to show in the year selector = 2.8 - 08.07.19 = * Datepicker widget css improvement = 2.7 - 27.06.19 = * Fixed an issue with the logic operator option and the Country/state selector = 2.6 - 11.06.19 = * Is now possible to multiple select products and categories. Selection box won't close at first selection = 2.5 - 23.04.19 = * HTML field type added = 2.4 - 23.04.19 = * Minor bugfix = 2.3 - 19.04.19 = * Minor bugfix = 2.2 - 10.01.19 = * Minor bugfix = 2.1 - 08.12.18 = * Fields displayed according product quantity are now visually grouped = 2.0 - 26.11.18 = * Fixed an issue due to fields were not displayed on checkout forms = 1.9 - 21.11.18 = * Fixed an issue due to using virtual product the plugin crashed at checkout page (thanks to 17seconds) = 1.8 - 21.11.18 = * Fixed an issue due to for Select field, placeholder value was not properly showed on configuration menu = 1.7 - 12.11.18 = * Fixed an issue due to required fields were highlighted even if a value was still not inserted = 1.6 - 08.11.18 = * Fixed an incompability with Admin columns pro = 1.5 - 08.11.18 = * Fixed an issue that may raise 500 server error = 1.4 - 08.11.18 = * Fixed an issue due to admin Order preview was not working = 1.3 - 18.10.18 = * Added "Payment methods" to logic options = 1.2 - 05.10.18 = * Added new activation system: now the plugin can be only activated in two domains and they cannot be unregistered = 1.1 - 07.09.18 = * Fixed an issue with select fields and logic rules = 1.0 - 05.09.18 = * First release
- How does it work?
- Dynamic Field Display and Conditional Logic
- Field Type
- Visibility by product/category
- Display Policy
- Notes on Country and State
- WPML Compatibility
- Front-end integration
- Integrate with backend
- Notes on the Modified Checkout Form
- Changelog: WooCommerce Conditional Product Fields at Checkout