Magento Forum

   
Adding field to customer
 
realcnbs
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2008-05-03
 

Hello.
I need to add a “company” field to Customer entity and make it required for all customers. Can somebody advise me from where to start?

 
Magento Community Magento Community
Magento Community
Magento Community
 
nicolas46
Sr. Member
 
Total Posts:  210
Joined:  2008-04-09
Toulouse
 

Frist :
Add in the table eav_attribute your attribute
attribute_id=??? , entity_type_id=1, attribut_code=’company’ ...
Next :
go see yours customer detail (Manage customer-> select a customer ) and you will see your new attribute in “Account information”

Be careful when you will try. Modify the database directly is not recommended.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top