I’m trying to figure out how to send an invoice in an email. Wondering if anyone has a working example on how to do this? I’ve seen comments about using an array? If I put the sales data into an array, will I be able to choose that in the picker for the send mail setup?
I was wanting to send an html formatted email but that doesn’t look like that will work as I can’t add a parameter to the file for the HTML body in the email?
I’ve seen a few comments about this but was wanting a direction to go as what I’m doing now is not working.
I tried this method myself. But when I went to add the file to add to the send email component I couldn’t figure out how to pass the variable to the page? It kept erroring out on me. It would only work if the html page didn’t have parameter. So I could get the id of the order passed to the html page.