• Hello everyone, I need your help please.
    I am creating a website for client with several regular pages and a woocommerce section on one of these pages.
    It’s a really simple website but I have two constraints :
    – Make the website only accessible to registered users, which I managed to do with this great plugin https://fr.wordpress.org/plugins/wp-force-login/ . It forces the user to be logged in before seeing the website.
    – Oblige the customer to give more information about him at the registration process : first and last name, email, phone number, address, country, gender, birthday… The aim is to exactly know all these information about the user even if he doesn’t buy anything on the website.It’s a necessary need for the project.
    I really don’t know how to achieve the 2nd constraint, at the wordpress registration process only the email and a login are necessary. I think we can add custom fields to user profiles but I don’t know how to ask these fields at registration.
    And it would be great if these information (name, address…) could be used at the command process (the client wouldn’t have to type this again). But it’s not necessary.

    Sorry for my bad english grammar but I hope you can understand what I wrote 🙂
    Thank you your answers.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Sorry for the slow reply. I thought I’d responded to this post when it first appeared and only now realized that your post is still waiting for a reply.

    Maybe by now you’ve figured out a solution, but just in case it helps, have a look at this Codex article: Customizing the Registration Form

    I don’t know what you mean by “command process”. WP-CLI perhaps? As long as the script knows what user we are working with (by ID, email, login, etc.), all other information about the user is in usermeta or where ever you stored the registration data, so there is not need for the user to re-enter it.

Viewing 1 replies (of 1 total)
  • The topic ‘Force user to give more informations at registration’ is closed to new replies.