Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
It is optional for customers to create a user account while checking out (or before) - is it easy to link Tea Commerce orders to an Umbraco Member - if one is currently logged in (when making the order)?
I thought I had seen a blog or tutorial about it but couldn't find it...
I want to know how to associate with members Tea Commerce
I found this super easy signup - http://www.mortenbock.dk/blog/2009/04/01/setting-up-membership-in-umbraco.aspx - which seems to work fine.
Just need to know how to link members and orders...
If a member is logged in when the order is moved from cart stage to order (when payment is confirmed) the MemberId of the order is automatically set to the current member.
If you want to set the memberId your self - you can just use the .Net API to do it.
So, is the Member ID a property on "order" then?
I may want to assign the Member ID as soon as the order is created, so I will see if I can find where / how to set it!
You can hook into the OrderCreated event using the .NET API and set it. Its just order.MemberId = yourId
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted