title: How to add custom fields to WooCommerce registration form
body: <p>I have seen similar questions but couldn't find a solution for me.</p>
  
  <p>I am trying to add custom fields to WooCommerce registration form, specifically first and last name field. I have managed to create these fields but the information entered does not pass over to the Account Details page when the user has logged in. Other tutorials have mentioned validating the fields but I am not sure is it relevant to me or not. I am working on a Wordpress child theme.</p>
  
  <p>Please visit to <a href="http://codepad.org/glX5kr4Z" rel="nofollow noreferrer">codepad .org</a> to view the code.
  I tried to paste the code here by using the code sample option but it doesn't work properly.</p>
  
  <p>Hope I have explained myself clearly. If not please let me know and I will clarify.</p>