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.
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
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
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
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
Hi Alessandro
Did we solve your question?
Kind regards
Anders
Hi andreas
Sorry for my late reply ;-)
yes i solve the question with direcat accesst to DB
Thakyou
is working on a reply...