I have two items in my order page and I want to add the value of the two orders into a grand total.
Hello Viknesh,
Here I Attached your OML with the modification and Screenshot for reference
hope this will helps you.
Thanks and Regards,
Akshay Deshpande
have you got any solution?
Check out the attached oml and let me know if that solves it for you,
Regards,
AJ
Hi viknesh Krishnan,
To calculate the sum,follow the below steps
Step1: create a local variable with currency datatype
Step2 : you need to iterate the list to calculate the sum in GetOrdersOnAfterFetch action.
Step3: value in expression
FormatCurrency(Totalsum, "$", 2, ".", "," )
Hope this helps!
Ellakkiya.S