Follow below step to add custom attribute in magento customer module…

Include below script some where in your template file and load it once…

$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
$setup->addAttribute('customer', 'customcode', array(
 'label'        => 'customcode',
 'type'        => 'varchar',
 'visible'    => true,
 'required'    => false,
'sort_order' = > 10


After run it once, please remove the above code.
Remove cache and check customer adding area in backend.

For removing any custom attributes…run below code from some where in your loading templates


$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
$setup->removeAttribute('customer', 'customcode');


Once run , please remove above code…
Let me know your comments….

© 2014 Developers Corner Suffusion theme by Sayontan Sinha