Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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