Add 2 price of cart item into total price of the order

I have two items in my order page and I want to add the value of the two orders into a grand total. 

AppleStore.oml

Hello Viknesh, 

Here I Attached your OML with the modification and Screenshot for reference

hope this will helps you.

Thanks and Regards,

Akshay Deshpande

AppleStore.oml

Hello Viknesh,

have you got any solution?

Hello Viknesh, 

Check out the attached oml and let me know if that solves it for you,

Regards,

AJ

AppleStoreTotalPrice.oml

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!

Regards,

Ellakkiya.S

AppleStore.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.