RE: System Email Templates

We have a custom System Email Template.  On the HTML code we would like to display a paragraph only if one item in the Sales Order has a type of Download. item type = download.

This logic is at the end of the template and the problem is if we use an if statement it will only capture the last item type. Is there a way to store the type in a variable like isDownload = true when one of the item is a download. That way I can say if(isDownload).

Or something that can say if one item in the SO has a type of Download then display this paragraph.

Cesar_ Rookie Asked on August 28, 2023 in Other.
Add Comment
2 Answers

Nelliott,

Thanks for the template and link. I was able to solve my problem with your guidance.

Rookie Answered on August 28, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.