Page 1 of 1

How to make pdf invoice addon sent email?

Posted: 20 Jan 2009, 07:39
by theoneandonly
Hey, is it possible to easily make pdf invoice addon send an email with pdf user agreement. PDF would have to have product name in the title, customer name, and maybe some other things and then maybe couple of paragraphs of text.... How hard would this be to make? Basically it's for selling digital goods in VirtueMart, and then getting a user agreement that seemed official and specific to that customer...

Thanks in advance! :)

Re: How to make pdf invoice addon sent email?

Posted: 22 Jan 2009, 00:11
by Jan
Hi, I cannot say how hard this can be because I didn't find time for looking at VM a half year ago so don't know :-(

In which moment should the email be sent?

Re: How to make pdf invoice addon sent email?

Posted: 22 Jan 2009, 01:46
by theoneandonly
The email would be sent once the order is completed in VirtueMart. So whenever virtuemart labels the order as "COMPLETE".

Re: How to make pdf invoice addon sent email?

Posted: 22 Jan 2009, 20:56
by Jan
Hi, I think this need not to be so difficult, problem by creating such addon is the time :-( because you need to do such solution, then you need to describe all the changes in the core files and you need to write some guide what should be done :-(

Re: How to make pdf invoice addon sent email?

Posted: 24 Jan 2009, 02:14
by theoneandonly
ok, hmm, I'll try to see if there are any components that do something similar...

Re: How to make pdf invoice addon sent email?

Posted: 03 Feb 2009, 17:48
by Datatonic
Hi there Jan

If you would be happy to write this, and comment the code as you go.

I will happily write the documentation for you.

Ro.