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

Want to write to another database…! 
 
Muneeba
Jr. Member
 
Total Posts:  6
Joined:  2008-10-29
 

Hi,

You know on the checkout page when you click on Register, once a customer enters all that stuff like name, email, address, city, state, all of those things, I want to insert all of this into another database any ideas which page do I need to mess with?

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
vianetz
Guru
 
Avatar
Total Posts:  537
Joined:  2008-04-13
Munich, Germany
 

One possibilty could be to extend the Register controller to insert the data into another database.
Take a closer look at the magento controller system.

 
Magento Community Magento Community
Magento Community
Magento Community
 
LeeSaferite
Guru
 
Avatar
Total Posts:  322
Joined:  2007-08-31
Lake City, FL
 

You’ll probably want to use the event system to capture that info.

See: http://www.magentocommerce.com/boards/viewthread/3459/

If you use that method, it is much less intrusive overall.

 
Magento Community Magento Community
Magento Community
Magento Community
 
vianetz
Guru
 
Avatar
Total Posts:  537
Joined:  2008-04-13
Munich, Germany
 

Yes, generally that’s right. But as far as I can see there isn’t any event for that, is it?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Muneeba
Jr. Member
 
Total Posts:  6
Joined:  2008-10-29
 

Any ideas, I am looking for the exact mysql_query(INSERT INTO, of the users table.. so I can copy the same line and insert it into different db???

please help..

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