There is a slight difference from previous versions, an additional table reference for customer form fields.
Table  -  customer_form_attribute , Here we are storing customer form fields related with account add, edit, checkout etc…

The attribute adding process is same as in previous post..but need additional lines for updating the new table, see below

$customerattribute = Mage::getModel('customer/attribute')->loadByCode('customer','customcode');
$forms           = array('customer_account_edit','customer_account_create','adminhtml_customer','checkout_register');
$customerattribute->setData('used_in_forms',$forms);
$customerattribute->save();

Let me know if have any feedbacks…

  3 Responses to “Magento add custom field to customer account form in admin from version 1.5”

  1. That was a life saver! Thanks a lot for the very userful post!

  2. Great post!

    Thanks for share it.

    Best regards,
    Thiago

  3. Thank You!!!

 Leave a Reply

(required)

(required)


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2014 Developers Corner Suffusion theme by Sayontan Sinha