Hi everybody,
I'm now using the checkout module, I want to receive a email when anyone press the 'download as zip' button,
In the email, all I want to know is the login name and the title of those photos.
Is there any easy way to do so?
Besides, can I put the 'download as zip' in the ConfirmPhotos.tpl? i.e. I can get the photo by single click when view cart.
P.S. I've tried checkoutemail module, however, it is too many button need to click and no user login name in the email....
Posts: 4342
No
Posts: 2
Indeed, I've modified the confirm.inc
elseif (isset($form['action']['downloadzip'])) {
$emailSubj = 'Photo Downloaded';
$emailContent = 'Test !'."\n\n";
$from = 'admin@mysite.com';
mail("admin@mysite.com",$emailSubj,$emailContent, "From: $from\nX-Mailer: PHP/ . $phpversion()", "-f $from");
I can received an email but I don't know how to include the user login name and photo title...
How can I get those info?
Posts: 3
Hallo
I require myself the same. Did you find a solution?
Soe from Germany