I am adding a script on to my confirmation page and I need to fill in the below, but im not sure what to add? I 'think' for the order number I need to put @Model.OrderId, but im not sure. Can anyone advise?
I don't think the the Order Id is available until after confirmation step. In any case, if you need to access fields in the Model, then you should look at the definition of that model - you will need the full source code for that.
The model on that page only has OrderId and OnePageCheckoutEnabled. You need to use the order service (via Resolve) to get the order to access additional properties. See this topic as an example.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?