I would like to modify the form after I confirm an order and add some info about payment there.
I can get orderId but I don't know how to get OrderTotal.
public int getOrderId() {
var orderCollection = NopContext.Current.User.Orders;
var lastOrder = orderCollection[0];
return lastOrder.OrderId;
}
Is there something similar for total price (OrderTotal)?
In other forms I found this tag, but it didn't works in my form.
What I have to do for working it?
<%#Server.HtmlEncode(PriceHelper.FormatPrice(Convert.ToDecimal(Eval("OrderTotal")), true, false))%>
I'm using ver. 1.9