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

How to add custom field in customer registration field in magento 1.7.x
 
aliasgarbharmal
Jr. Member
 
Total Posts:  4
Joined:  2012-12-07
 

I have to add a custom field in customer registration form. I was successfully able to do but the value is not inserted into database. i also inserted the attribute in eav_attribute table but while displaying the content i guess its not showing the entered field data.

I tried many tweaks from the internet but none seems to work for magento 1.7.x.
I took help from following articles
http://www.excellencemagentoblog.com/customer-registration-fields-magento1-6
http://codemagento.blogspot.in/2012/05/add-new-custom-field-to-customer.html
but both are not working for me. Can anyone please tell the error and guide me through this.

 
Magento Community Magento Community
Magento Community
Magento Community
 
CarolinaCS
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2013-02-22
 

Hello! I tried to follow this tutorial and everything is fine when I run queries on the database, but when I copy and paste the code in the 8 step something is wrong.. in the frontend doesn’t show anything after the tittle Occupation. the problem is whit this part: $this->getCustomer()->getOccupation())
Because only for testing I put getFormData()->getOccupation() instead of getCustomer()->getOccupation() ,and in the frontend everything looks fine but in the backend nothings happen.

And the path of the file that i modified is in app\design\frontend\base\default\template\persistent\customer\form\register.phtml

Can you help me? I don’t know what I am doing wrong

 
Magento Community Magento Community
Magento Community
Magento Community
 
Amasty
Mentor
 
Avatar
Total Posts:  3988
Joined:  2009-11-10
 

Hello,

to easily place any extra fields on the registration page you may consider this extension: http://amasty.com/customer-attributes.html. It allows quickly add any custom fields to your registration page to find out more information about your customers.

With the module you’ll be able to:

- Add unlimited number of fields to registration page
- Effectively manage the collected data in admin panel
- Take advantage of multiple field types, dependent attributes, etc

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jase007
Guru
 
Total Posts:  388
Joined:  2013-11-05
 

Hi,

Have a look this thread http://www.magentocommerce.com/boards/viewthread/307913/

Thanks

iLoveMage

 
Magento Community Magento Community
Magento Community
Magento Community
 
rosed59
Jr. Member
 
Total Posts:  13
Joined:  2013-12-11
 

Checkout this extensions it will solve your problem.  http://www.fmeextensions.com/magento-additional-registration-attributes-fields.html

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