Is there any way to add the address form to the registration form or any free addon to add an extra field to the registration form so that I can get the customer location as they sign up?



Create local.xml file at in app/design/your package/your template/layout/ folder and add following code:

<?xml version="1.0"?>
<layout version="0.1.0">
        <reference name="customer_form_register">
            <action method="setData"><key>show_address_fields</key><value>1</value></action>
  • Yep, it's already built in, just has to be enabled. – Fiasco Labs Feb 11 '15 at 2:32
  • I added this to app/design/frontend/default/dresscode/layout/local.xml, but nevertheless the address field is not being shown while registering! – defiant Feb 11 '15 at 2:35
  • have you create local.xml for first times...?? – Amit Bera Feb 11 '15 at 2:39
  • But the local.xml is already there! – defiant Feb 11 '15 at 2:46
  • remove <?xml version="1.0"?> <layout version="0.1.0"> and </layout> – Amit Bera Feb 11 '15 at 2:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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