• Resolved El Pablo

    (@el-pablo)


    I’m setting up a customized WooCommerce registration form and I found a couple of useful articles on the web to get along. Unfortunately, I’m stuck with a couple of issues.

    My filled in form looks like this: http://prntscr.com/o7xfvz
    My code looks like this: https://codeshare.io/judesign

    On the user profile in the backend, I have several issues:
    1) The ‘city name’ is registered as ‘first name’ (http://prntscr.com/o7xgeo + http://prntscr.com/o7xgu2)
    2) The ‘country name’ is registered as the ‘city name’ + the ‘country field’ stays empty (http://prntscr.com/o7xh6m)
    3) The ‘text area value’ is registered as ‘phone number’ and the phone number itself is not registered (http://prntscr.com/o7xhog)

    – What is causing this + how to resolve this? What is wrong with my code?

    Additionally:
    – How can I register the ‘text area value’?
    – How can I get rid of the default email registration field OR how can I put it between the other fields? What hook to use? (http://prntscr.com/o7xqdo)

    • This topic was modified 6 years, 10 months ago by El Pablo.

    The page I need help with: [log in to see the link]

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

    Sorry about the wait on this reply! The screenshots look to be expired so I am unable to see them. For some of the things I do see in the code:

    – The ‘city name’ is registered as ‘first name’

    In line 24-26 it appears that you have the Billing First Name coined as City as seen here. You can change that to City instead of Billing First Name.

    – The ‘country name’ is registered as the ‘city name’ + the ‘country field’ stays empty

    This looks correct, but I cannot replicate it as when I go to the site I get a lot of warnings, even after accepting and trying to advance.

    – The ‘text area value’ is registered as ‘phone number’ and the phone number itself is not registered

    same with above.

    – How can I register the ‘text area value’?
    – How can I get rid of the default email registration field OR how can I put it between the other fields?

    This article here is a wonderful walkthrough and provides the code that you may need for the custom fields. Please give it a check and see if it works for you!

    If you need further assistance please reply back to this thread.

    Hi @el-pablo,

    I am going to close this thread for now, however if you are still having the issue just reply to this and we will re-open it.

    If you have other issues please open a new thread and let us know!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customizing the WooCommerce registration form’ is closed to new replies.