How to make pdf invoice addon sent email?

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
theoneandonly
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Jan 2009, 07:33

How to make pdf invoice addon sent email?

Post 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! :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to make pdf invoice addon sent email?

Post 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?
If you find Phoca extensions useful, please support the project
theoneandonly
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Jan 2009, 07:33

Re: How to make pdf invoice addon sent email?

Post by theoneandonly »

The email would be sent once the order is completed in VirtueMart. So whenever virtuemart labels the order as "COMPLETE".
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to make pdf invoice addon sent email?

Post 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 :-(
If you find Phoca extensions useful, please support the project
theoneandonly
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Jan 2009, 07:33

Re: How to make pdf invoice addon sent email?

Post by theoneandonly »

ok, hmm, I'll try to see if there are any components that do something similar...
User avatar
Datatonic
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 19 Jan 2009, 16:31
Location: Edinburgh
Contact:

Re: How to make pdf invoice addon sent email?

Post 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.
Opt-Bot - the Google Website Optimizer (GWO) Plugin for Joomla.
ReallyEasyReader Instant Speed Reading Software - Double your reading speed guaranteed.
Post Reply