Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1354 posts 1615 karma points
    Apr 24, 2012 @ 17:07
    Gordon Saxby
    0

    How to integrate Umbraco Members with Tea Commerce

    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...

  • umbracocool 108 posts 197 karma points
    Apr 24, 2012 @ 17:53
    umbracocool
    0

    I want to know how to associate with members Tea Commerce

  • Gordon Saxby 1354 posts 1615 karma points
    Apr 24, 2012 @ 18:18
    Gordon Saxby
    0

    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...

  • Anders Burla Johansen 2560 posts 8256 karma points
    Apr 24, 2012 @ 22:25
    Anders Burla Johansen
    0

    Hi Gordon

    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.

    Kind regards
    Anders

  • Gordon Saxby 1354 posts 1615 karma points
    Apr 24, 2012 @ 22:43
    Gordon Saxby
    0

    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!

  • Anders Burla Johansen 2560 posts 8256 karma points
    Apr 24, 2012 @ 22:47
    Anders Burla Johansen
    0

    Hi Gordon

    You can hook into the OrderCreated event using the .NET API and set it. Its just order.MemberId = yourId

Please Sign in or register to post replies

Write your reply to:

Draft