• Resolved LeonN1960

    (@leonn1960)


    Hi,
    I installed WP-members with only one objective: add two fields to member registration in Woocommerce. But the additional fields do not show up while regitring a new customer? For sure I did something wrong, but what?

    I installed the plugin and added the fields there. In my admin account I filled in the new fields, and the data is still retrievable. But when I log out and act as a new customer I have to fill in the registration, but I do not see the new fields…..

    Any help appreciated

    https://www.ads-software.com/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    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).

    Thread Starter LeonN1960

    (@leonn1960)

    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

    Plugin Author Chad Butler

    (@cbutlerjr)

    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.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘additional fields for Woocommerce’ is closed to new replies.