Problem: I have added all the WooCommerce billing fields to Types control, and I would like to use CRED to capture that information when a new User is created. I am unable to use a select type field for country and state.
Solution: It's not currently possible to modify the field type when you move a field into Types control. You would be required to use the correct two-letter abbreviations for Country and State as defined by WooCommerce. If you want to create custom select fields, you can use the cred_save_data hook to capture the selected values and store them in the billing fields.
Relevant Documentation: http://creatingawebstore.com/woocommerce-country-codes-and-state-codes-list.html
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 6 replies, has 2 voices.
Last updated by andreaD-4 6 years, 6 months ago.
Assisted by: Christian Cox.