Save customers on order saved
Posted in General by Adrian Ursu Mon Mar 14 2016 20:55:40 GMT+0000 (Coordinated Universal Time)·2·Viewed 2,084 times
Hi,
I need to know how to save customers on order save. I have activated the "Enable customer accounts" option on store settings.
I am using Merchello with Bazaar 1.14.
Thanks,
Adrian
Customers are tied to Umbraco membership - so in the Bazaar, if the user has not created a membership account prior to checking out, the checkout is done with an anonymous customer. I think what you are trying to do is create a customer after a checkout has been completed and then update the invoice to include the customer key so that it is tied in the back office. This is possible, but will require some custom coding on your part.
I've done it before using the Invoice.Saving event handler.
Hi Rusty, This is exactly what I'm trying to do also.. Do you have the code for this? I am finding it very hard to find the correct place to extend classes / create custom events in Umbraco / Merchello.
Best wishes... D