WooCommerce User Fields
Hey! Try out our new documentation pages, hope you like it!
When making a booking via WooCommerce, user billing information such as their address is supplied directly to WooCommerce rather than Events Manager.
This means that our custom booking form user fields functionality available in Events Manager Pro is not used during the booking process. User fields are hidden from booking forms since account-related information needs to be collected once at the checkout.
Should you still wish to make use of our user fields, either in profile pages or during manual bookings, we have various options on how to sync WooCommerce order data with booking user-related data. You’ll find this as the Custom user fields setting in your Dashboard > Events > Settings > WooCommerce settings section. Here’s a description of how each option works:
Important Note: Switching between the last two options may affect how previously made bookings are displayed. This is likely to happen if you have used custom field IDs for your billing fields, e.g. my_custom_address instead of the standard address field and then disable custom user fields.
“Keep custom user fields and WooCommerce user/billing fields separate.”
This will allow you to keep your custom user fields, and they will not be related at all to WooCommerce billing fields. In this case, you will see additional fields that you can choose when exporting booking data prefixed with WC, such as ‘WC Address’. Additionally, WooCommerce billing details will be shown below custom user fields when viewing a booking made via WooCommerce.
Use this option if you would like to have dedicated user fields whilst making manual bookings via Events Manager compared to
“Disable custom user fields and use WooCommerce billing details.”
This option turns off our custom fields functionality entirely and in place uses the billing fields available via WooCommerce. These will look like regular custom user fields, except they map directly to WooCommerce billing details for the order that booking belongs to.
This may be the option you’d choose if you exclusively handle bookings via WooCommerce and have no use for our custom user fields functionality.
“Map user billing fields to WooCommerce billing details.”
We generally recommend using this option if you plan on using custom fields at all. Use this if you plan on also using Events Manager for handling bookings directly via manual bookings but would like one set of field references to display both WC and EM billing details.
In your Dashboard > Events > Form Editor you will see a section called ‘Common User Fields for Gateways’. This section maps commonly used billing fields to your custom user fields, enabling you to name them whatever you’d like yet still provide a consistent set of billing information to gateways via Events Manager.
This mapping of billing details to custom user fields will be used when you choose this setting. When displaying a booking in the admin area, or exporting booking info containing these mapped user fields, the corresponding billing information will be used instead if the booking was made via WooCommerce.