• Hi,

    I tried creating fields with the same meta name as the woocommerce ones (e.g. billing_phone, billing_postcode) on the new registration form. That part works good. I submit the form, approve the user but the problem arises once that user logs in gets to his /account/ page as the woo fields (the ones created in the form) are showing twice now.

    For example:
    Billing phone shows on the billing tab by default but now there is an additional field called “Billing Phone” with the same value and ID on that same billing tab. This goes the same for all the other fields i marked with the same meta_name as the woocommerce one. I guess plugin loads, both, the fields from the registration form and woo even thought the meta_name is the same.

    Now I found a solution that I’m not sure if it will work correctly so I wanted to ask you by presenting it here.

    For each field named after the same woocommerce meta name I set the privacy to be Specific user role -> Administrator. That way any customer that logs in and goes to his account page won’t be able to see that um-field but will still see regular billing fields from woocommerce. Can you tell me if there is a better solution for my problem or should I stick with this one?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I have the same problem. Could you please explain how you For each field named after the same woocommerce meta name set the privacy to be Specific user role -> Administrator

    Thanks and best regards

    Thread Starter borish1

    (@borish1)

    Hey @kleroy,

    When you go to the UM form builder and create a new field or edit the existing one you have Privacy on the right side (preview here: https://prnt.sc/n8xqbn). You just set the option to “Specific role” and then change it to be admin only. That helped me remove the duplicate fields.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Account page fetching duplicate field IDs’ is closed to new replies.