Hi
After a user purchases a product, a receipt is displayed.
I need to also email this receipt to the customer (as html), and would like to reuse the view I already created.
What is the best way to do that - and how?
Hi
After a user purchases a product, a receipt is displayed.
I need to also email this receipt to the customer (as html), and would like to reuse the view I already created.
What is the best way to do that - and how?
Seems like this would do the trick:
http://stackoverflow.com/questions/483091/render-a-view-as-a-string