Picking up the orderGuid, and (I think) creating a purchase order. But I cannot work out how to loop through these to build full order details in the confimation the order details in the confirmation email.
var orderGuid = umbraco.library.RequestQueryString("orderNumber"); var basket = Library.GetPurchaseOrderByGuid(orderGuid);
Order details in Email for Razor
Picking up the orderGuid, and (I think) creating a purchase order. But I cannot work out how to loop through these to build full order details in the confimation the order details in the confirmation email.
Can anyone direct me to my next step?
Hi Tony
Funny - i am working on the exact same thing right now :-)
If you are using Razor i would recommend you to use something like the following piece of code:
Then you can access all the properties of the order at hand.
Did it make the trick for you?
It most certainly is! Thank you
For other idiots like me, the loop is:
Thanks for helping out, Anders. Much appreciated!
is working on a reply...