The Tea Commerce homepage says "Tea Commerce is fully integrated with Umbraco's membership system and
gives you the ability to let customers login and view their order
history and more." but I cannot see how it is configured?
Tea Commerce integrates with the umrbaco membership by automatically associate the order with the member if he is logged in. You can just use the asp:login control. If you want to auto create a member when customers buy - you can do that by using the .NET API
For the order history you will have to make an xslt macro as Daniel pointed out. Then you can use the GetFinalizedOrdersXmlForMember extension to get all orders associated to the logged in member and display what you want.
Membership
The Tea Commerce homepage says "Tea Commerce is fully integrated with Umbraco's membership system and gives you the ability to let customers login and view their order history and more." but I cannot see how it is configured?
Regards,
Matt
You would need to create a secure page that display current users history.. using xslt macro
Hi Matt
Tea Commerce integrates with the umrbaco membership by automatically associate the order with the member if he is logged in. You can just use the asp:login control. If you want to auto create a member when customers buy - you can do that by using the .NET API
For the order history you will have to make an xslt macro as Daniel pointed out. Then you can use the GetFinalizedOrdersXmlForMember extension to get all orders associated to the logged in member and display what you want.
Cool.
Hi Anders,
Maybe i'm just "newbing" around in XSLT, but when i use the following:
I get a lot of XML output:
The only things it writes out are the the data under <properties>
But if I try with a value-of-select like this (fom your blog post):
Nothing displays! What do i need to add, to access and display all the data?
best regards,
Brian
Hi Brian
What if you try GetFinalizedOrdersXmlForMember(...)/order and have that in the for each - does that give you an output?
Yeah damn'it! It works!
I had tried with "orders" - and then probably made a spelling mistake in the select. (or forgot to write createdDate instead of createddate!)
Thanks for answering my newb question.
best regards!
No problem :)
is working on a reply...