How can I pull the name of the most expensive product out using code?
Here's what I'm trying to achieve…
I want to create an email to gather reviews for the most expensive item in a sales order.
Say, John ordered three items:
-
Item A: $200
-
Item B: $500
-
Item C: $100
I want John to review Item B (the most expensive product) by replying to the email.
The Ideal Outcome:
Hey John, would you be willing to give me a testimonial for {{ most expensive item in an order }}?
------------------------
Please let me know if this is possible. Thanks for your help!