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.
Nelliott,
Thanks for the template and link. I was able to solve my problem with your guidance.