I am trying to trigger a mail to customer after they place an order. This email will carry all the cross sell products of the products ordered.
I used the following links as reference:
send email using event observer
Advanced Transactional Email Templates
All is working well.
But now my doubt is, will I be able to use foreach loop inside the html file put inside the locale directory?
So that I could iterate and print all the product info in the mail template. Can anyone help?