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 store customer’s data in custom table? 
 
smaurya
Jr. Member
 
Total Posts:  3
Joined:  2009-09-30
India
 

Hi All,

I am a PHP Developer, new in Magento and want to add some custom code in Customer module.
I want to add customer data in a custom table when the new customer register from frontend or Admin add ‘ New User’ from admin section.
I explored Customer Controller and other files in the Customer module.
In the File /app/code/core/Mage/Customer/controllers/AccountController.php
approx line no. 294 $customer->save(); which saved the data in the customers related table.

For Ex. My custom table is : mytable in the same Magento database
Fields are: email, password, firstname, lastname etc…

TIA
Satish

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