I'm fairly new to Magento and I'm not quite sure how to add a State/Province field to the register.phtml form. I read somewhere that it's not a good idea to edit this file since it gets wiped whenever theres an update so I'd need some tips with that too. I've managed to add the field (by editing register.phtml) but after registering, the State/Province tab is empty in Manage Customers Panel.

So basically my 2 questions are:

  1. What file do I edit to add a field to the register form?


  1. What do I need to save the data in Manage Customer panel?

Any links or tips would be much appreciated!

Thanks in advance!


  • Still need help!
    – Collin
    Commented Jul 15, 2016 at 19:11

1 Answer 1


You can easily add an address to the customer with the following code in you local.xml of your theme:

  <reference name="customer_form_register"> 
    <action method="setShowAddressFields">

Thanks to Matthias Kerstner.

  • I can't since I have less than 15 reputation
    – Collin
    Commented Jul 22, 2016 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.