Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Nauman 98 posts 118 karma points
    Aug 19, 2010 @ 13:30
    Nauman
    0

    Making Ucommerce buyers as Members in Ucommerce

    Hi Everyone specially Soren

    I have fugured out how to make ucommerce customers as members of ucommerce, everything is working fine except following.

    1. I cannot see how to make customers to setup their password while entering shipping or billing details. How can I do that?

    2. Is there any option, I can make the members as returning customers? So on address page, existing members simply login and proveed further.

    Any help will be highly appreciated.

    Regards

    Nauman

     

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 19, 2010 @ 14:29
    Søren Spelling Lund
    0

    1) You can modify the member data during check out by creating a post checkout pipeline which you run after the order is placed. The reason being the customer is created after the check out pipeline is run and thus is available for modification during runtime.

    I was made aware of this behavior yesterday so haven't had a chance to fix it yet. I'm going to move the functionality into the checkout pipeline so you can play around with the member information yourself.

    2) I'm guessing you want to do something along the lines of prepopulating the address information when the customer proceeds to check out? If that is the case you can handle it using XSLT. Basically you'll use the Umbraco extensions to figure out whether the customer is logged in - if she is you can prepopulate your address fields with the member information or alternatively find the customer information which is stored within uCommerce - complete with address information - and use that. Your choice.

  • Nauman 98 posts 118 karma points
    Aug 20, 2010 @ 07:25
    Nauman
    0

    Soren

    I understand the logic but any help with sample code is be appreciated.

    Nauman

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 20, 2010 @ 08:48
    Søren Spelling Lund
    0

    1) If you can wait the code for this one to next week I'll have a new release ready which enables you to modify the customer.

    2) As for this one basically you'll perform the test to check whether the member is currently logged on using the Umbraco extensions like so:

    <xsl:when test="umbraco.library:IsLoggedOn() = 1">

    Optionally you can load the member information from Umbraco if you need it.

    <xsl:value-of select="umbraco.library:GetCurrentMember()

    Load uCommerce customer information using:

    <xsl:value-of select="CommerceLibrary:GetCurrentCustomer()"/>

    The XML structure returned by this call will include information about the customer and any addresses stored with the customer profile:

    <customer><addresses><address/></addresses></customer>

    You can see documentation for the extension at http://www.ucommerce.dk/docs/html/M_UCommerce_Xslt_TransactionLibrary_GetCurrentCustomer.htm

    Please note that you need to check off that you want members created for customers on your store (the first level in uCommerce Admin under Producg Catalog - the standard is uCommerce.dk).

    Full XSLT docs are available at http://www.ucommerce.dk/docs (look for the UCommerce.Xslt section towards the end).

    Hope this helps.

  • Nauman 98 posts 118 karma points
    Aug 20, 2010 @ 08:51
    Nauman
    0

    Soren

    Thanks a lot for providing help. I will work on it and will come back if I need further help. Thanks again.

    Cheers

    Nauman

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 20, 2010 @ 09:19
    Søren Spelling Lund
    0

    You're most welcome. Could I ask you to mark the question as answered provided you got the info you needed? Makes it easier to see if there are any outstanding questions to be handled. Thanks.

  • Nauman 98 posts 118 karma points
    Aug 30, 2010 @ 06:29
    Nauman
    0

    Soren

    Your reply was very helpful and I managed to get loggedin customer information and update it. Though I stiill need to figure out how to also add the password when customer is adding his shipping and billing details. I think I will create another topic for this later sometime. Marking your reply as the solution.

    Regards

    Nauman

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 30, 2010 @ 10:34
    Søren Spelling Lund
    0

    Glad that's it working.

    As for setting customer information you need to hook into the checkout flow after Checkout is complete at which point the customer and member is created. I'm working on a refactoring at the moment which will make this very straightforward to achieve; uCommerce will even generate a user friendly password for you.

    If you can wait a week the new release will be ready for you. Let me know if you'd like a version for testing.

  • wolulcmit 357 posts 693 karma points
    Sep 19, 2011 @ 03:49
    wolulcmit
    0

    Hey Søren,

    Have you got any documentation of this? I can't seem to find much relating to members and how to add to each member things like address/password etc.... but I'm probably not looking in the right place. As this topic is pretty old now, I'm hoping there's some help floating around somewhere.

    thanks

    - Tim

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 19, 2011 @ 21:49
    Søren Spelling Lund
    0

    Hi Tim,

    You still want to hook into the checkout pipeline to modify the member. uCommerce will create a member for you if the checkmark "Create Members for Customers" is set on the store itself. If you need to overwrite values on the member itself a custom pipeline task is the way to go: uCommerce Pipelines Explained.

  • Tim Gow 12 posts 31 karma points
    Nov 01, 2012 @ 00:36
    Tim Gow
    0

    Hi Søren,

    Please can you tell me where to find the checkbox for "Create Members for Customers"? I cannot see it in uCommerce 2.6.1.0.

    Is there a good forum post or documentation for this subject? I am having some problems with this.

    Thanks in advance,

    Tim Gow

  • Tim Gow 12 posts 31 karma points
    Nov 01, 2012 @ 00:45
  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 02, 2012 @ 09:58
    Søren Spelling Lund
    0

    It's on the store level (first level under Product Catalog).

Please Sign in or register to post replies

Write your reply to:

Draft