So I tried using the edit-order.cshtml macroscript in Umbraco 6.1.2 ( MVC ), however OrderContext is always null which causes nothing to render. Anyone encountered this before?
When you say "using", do you mean the standard way in the Tea Commerce section after clicking an order in the order list? Maybe you are using it out of context?
Ah is this macro used for the backoffice? I thought this also could be used on the website for a user to also edit his order and fill in his information.
edit-order.cshtml OrderContext is always null..
So I tried using the edit-order.cshtml macroscript in Umbraco 6.1.2 ( MVC ), however OrderContext is always null which causes nothing to render. Anyone encountered this before?
Hi Khai,
When you say "using", do you mean the standard way in the Tea Commerce section after clicking an order in the order list? Maybe you are using it out of context?
/Rune
Ah is this macro used for the backoffice? I thought this also could be used on the website for a user to also edit his order and fill in his information.
It's a backoffice only macro. Same with the e-mail template.
In the frontend you need to use the Tea Commerce razor API to access the order and other Tea Commerce data.
/Rune
Aha, clear! Thanks a lot.
No problems. One request though. Could you mark the correct answer, so others can find it, thank you. :)
/Rune
is working on a reply...