Conditional WooCommerce Checkout Field Plugin
Display a custom field at checkout in your WooCommerce store if a certain product is in the customer's cart.
If you sell a product through your WooCommerce store that requires you to collect some additional information from your customers before they complete their purchase, this plugin is exactly what you need.
Pro Version Now Available
Update to Pro to get even more features.
- Display an unlimited number of custom conditional fields at checkout (free version only allows one).
- Display each conditional field on an unlimited number of products, product variations, or categories of products (free version only allows the field to display for one product).
- Increased variety of available input fields including: Text box, multi-line text area, drop-down/select menu, country list, state list, check boxes, password, radio buttons, and date picker.
- Bonus: Easily edit any of the default WooCommerce checkout fields without having to edit any code.
Get the pro version by clicking here.
This plugin lets you configure an additional field to be displayed at checkout for your customer to fill out provided a certain product is in the customer’s cart.
The plugin allows you to customize this additional field’s
- Title
- Input type (text box, text area, or select/drop down menu)
- Label
- Placeholder text
- CSS Class
- Whether or not the field is required (and the error message to display if it is required but not filled out)
- Whether or not to add the customer’s input to the order email or invoice
This plugin requires your site to have WooCommerce installed in order to work. It is not compatible with other e-commerce plugins.
Installation
- Download archive and unzip in wp-content/plugins or install via Plugins > Add New.
- Activate the plugin through the Plugins menu in WordPress.
- In your WordPress dashboard, click on WooCommerce > Conditional Field.
- Enter the information for your custom field, and click Save Changes.
Screenshots
Easily create a custom field at checkout for your customers to fill out.
Your custom checkout field will show up right after the other checkout fields for billing, shipping, and order notes.
Custom checkout field with Title, Field Label, and Text Box options. Field is set to be required as indicated by the asterisk.
Custom checkout field with Title, Field Label, and Text Area options. Field is set to be required as indicated by the asterisk.
Custom checkout field with Title, Field Label, and Select Menu options. Field is set to be required as indicated by the asterisk.
Custom error message displayed after the customer attempts to checkout without completing your required field.
FAQ
Where do I get the Product ID? Product IDs are found in your WordPress admin dashboard, by clicking Products > Products in the left menu. Hover your mouse over a product, and the ID number will be displayed directly below the product name next to the Edit links.
Changelog
1.2.3
- Updated tested up to versions of WP and WooCommerce.
1.2.2
- Updated tested up to versions.
- Added contributors.
1.2.1
- Updated tested up to versions.
1.2.0
- Update: Enabled the use of the placeholder setting to be used as the placeholder on select menu fields. This enables the possibility of a “select an option” label shown on the select menu.
1.1.0
- Update: New functions for retrieving conditional field data.
1.0.17
- Updated WooCommerce compatibility.
1.0.16
- Fix: Incorrectly referenced Order ID number in save/display field data.
- Added: Upgrade notifications in order and product screens.
1.0.15
- Fix: Error on activation with upgrade notices in some cases.
1.0.14
- Fix: Minor error on checkout page caused notice to display due to incorrect retrieval method of the product ID.
1.0.13
- Improved: File structure improved for easier debugging and future updates.
- New: Included wpml-config.xml
- Added: Dismissible update and rating notices.
1.0.11
1.0.10
1.0.9
- Bug fix: Some fields were incorrectly set to be required, when the required setting was set to “No”
1.0.8
1.0.7
1.0.6
- Bug fix: Some orders were being processed when the conditional field was set to be required, but the customer did not complete the field.
1.0.5
- Bug fix: When the conditional field was set to be required, it was requiring it on all orders regardless of whether or not the conditional product was in the cart. This update correctly checks to see if the conditional product is in the cart, and if the conditional field is required. If both of those conditions are met it will check to see if the conditional field has a value before processing the order, otherwise it will display an error message.
1.0.4
- Bug fix: Custom field not appending to order emails.
1.0.3
1.0.2
- Bug fix to allow the field to not be required.
1.0.1
- Included POT file for translations.
1.0