cancel
Showing results for 
Search instead for 
Did you mean: 

Add CSV to order emails

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Add CSV to order emails

How can I programmatically add a CSV containing all order information to order emails. By default only a PDF is attached to those emails.

 

I know I have to write a plugin. But I don't know which class or method I have to modify and how.