bindig anonymus contat and unregister customer

Mateusz Żebrowski asked on December 14, 2015 14:24

When new user visit site for first time the new contact is created. Suppose that user go through checkout process and order some products. Then the new customer is created. I'd like to create marketing automation process that is triggered on purchase (I am able to do that) and in next step it take this just-created order and do something. This step is my own code (custom marketing automation action). The problem is that automation process is running for contact, not for customer and system don't bind them (customer and contact) automatically. Is it possible to bind them programmatically somehow?

Recent Answers

Timothy Fenton answered on December 15, 2015 04:18

Hello Mateusz, so by default these are not bound to each other, there are only a few ways this could happen. If they are both related to a userid in the system you could actually join them on ContactOwnerUserID and CustomerUserID... however if they do not share a common user, they are in no way connected. There is built in functionality to create a new user on checkout, if you took advantage of this then you should be able to connect the contact and the customer through this common ID.

0 votesVote for this answer Mark as a Correct answer

Mateusz Żebrowski answered on December 16, 2015 12:53

I'm afraid it's not a solution. It is possible to add customer to contact (event unregister customer to anonymous contact), but system do not bind it by default. You can do it from administrator interface from contact application. Even if you configure your store to register new customer at the end of check out process system still don't bind it to contact. It doesn't matter if it is registered customer or unregistered.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.