WooCommerce has its own registration form and its own filters for adding to the form. So if you’re looking at WC’s registration form, that’s why you don’t see the fields you added in WP-Members.
You can create fields in WP-Members that match WC’s meta keys and use WP-Members’ form for registration, but if you want to do things the other way around, you need to be working with WooCommerce’s framework (in this case, the woocommerce_checkout_fields filter).
Hi Chad,
Sorry for the late respons.
I think for me the best way is to use the Woocommerce form. Then I need to add two fields with WP-Members, respecting the Woocommerce Meta-keys. Is this correct?
Could you please indicate which, customer related, meta keys I should use, and where I can add them in WP-members?
Thanx in advance
I think for me the best way is to use the Woocommerce form. Then I need to add two fields with WP-Members, respecting the Woocommerce Meta-keys. Is this correct?
If you want to match up information in WP-Members that corresponds to data collected by WC’s registration, then yes.
Could you please indicate which, customer related, meta keys I should use, and where I can add them in WP-members?
I wouldn’t know the meta keys of the WC fields you want to add without knowing the fields. But you can look them up in WC – either look at their documentation or look in the wp_usermeta table for a user that has data.
If you’re adding these to WP-Members, you can add fields in the plugin’s Fields tab. The meta key should be the field’s “option name.”