Copied to clipboard

Flag this post as spam?

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


  • Alessandro Bellisai 30 posts 120 karma points
    Feb 09, 2012 @ 09:16
    Alessandro Bellisai
    0

    Order only for authenticated users

    Hi

    I would like that only the authenticated user (umbraco members) could proceed to order checkout.

    I need to implement a sort of section "my orders" avaliable only on the private section of the authenticated user.

    So there is the possibility to associate the order to a specific member?

     

    Yhanks in advice

    Ale

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 09, 2012 @ 09:30
    Rune Grønkjær
    0

    Hi Ale,

    The order is automatically linked to the currently logged in member. So no sweat there.

    As to the checkout, you just protect the checkout pages with the standard Umbraco member protection and create a login page. Easy as pie :)

    /Rune

  • Alessandro Bellisai 30 posts 120 karma points
    Feb 09, 2012 @ 11:20
    Alessandro Bellisai
    0

    Ok good to know

    Next question: how can i obtain the list of the orders created by a user with .NAT API.

    I found this method only in XSLT API: GetFinalizedOrdersXmlForMember(int memberId)

    Thanks in advice

     

    Ale

     

     

     


  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 09, 2012 @ 11:37
    Rune Grønkjær
    0

    Hi Alessandro,

    Because of performance issues We have not made a .NET method to select orders on different parameters. You have two options:

    1. Use the GetFinalizedOrdersXmlForMember method and query the returned XPathNodeIterator for results.
    2. Query the database directly for the specific information you need. If you want Tea Com object you can feed the static method GetOrder with a list of order ids and get a list of orders in return.

    /Rune

  • Anders Burla 2560 posts 8256 karma points
    Feb 14, 2012 @ 00:27
    Anders Burla
    0

    Hi Alessandro

    Did we solve your question?

    Kind regards
    Anders

  • Alessandro Bellisai 30 posts 120 karma points
    Feb 14, 2012 @ 00:32
    Alessandro Bellisai
    0

    Hi andreas 

    Sorry for my late reply ;-)

    yes i solve the question with direcat accesst to DB

     

    Thakyou

Please Sign in or register to post replies

Write your reply to:

Draft