1

The Module that is available in drupal is supporting the previous versions of Drupal (D6) and Magento(1.6). You can find it here

http://drupal.org/project/magento

I am using D7 with Magento 1.7, Is anybody out here can suggest me a flow how to add records in customer table while users are registering in drupal, Since i am very new to drupal as well as magento i am finding it a bit difficult to hack into D7 functions

Can this method be followed?

http://mysillypointofview.richardferaro.com/2010/09/07/how-to-pull-the-list-of-customers-from-magento-to-an-external-site/

Does this method have any security vulnerabilities associated with it?

I only need to add a few fields like

First Name
Last Name
Email
Password
Entity_type_id

Rest of the customer details can be updated using the magento engine itself once the user is logged in

Thanks

1 Answer 1

1

I would use Rules to trigger an action whenever a new user is created (and/or updated which will also matter in your scenario). This action can be a PHP script so the possibilities you have to interact with other software (Magento) are endless.

4
  • Thanks for introducing Rules. I will now start exploring that and will update the result here
    – zamil
    Dec 13, 2012 at 7:20
  • I have set up a rule like after user registers redirect to drupal url, and i am passing localhost/drupal2/custom/dtom?[account:uid]. the user_id is coming in the url correctly. but when i try to print the argument it is an array with no value in it. what am i doing wrong
    – zamil
    Dec 19, 2012 at 8:06
  • Maybe you should consider creating a different question with the details of the new problem you are facing.
    – drcelus
    Dec 19, 2012 at 10:47
  • I fetch the value using arg(). Its working fine now.
    – zamil
    Dec 19, 2012 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.