Attaching the PDF invoice to mail

HomeForumsGeneral HelpAttaching the PDF invoice to mail

This topic has 1 voice, contains 8 replies, and was last updated by  wham 94 days ago.

Viewing 9 posts - 1 through 9 (of 9 total)
Author Posts
Author Posts
February 2, 2012 at 2:15 pm #4767

Steve

Hi

I want to attach the invoice PDF to the admin’s email or at least have the product list table print out in the email, instead of having to click on the link in the email. I’m not sure how to go about this. Any ideas? I’m under the impression that it’s in the dukapress.php file but then again I could be way off.

Any help would greatly appreciated!

Thanks
Steve

February 2, 2012 at 6:17 pm #4771

wham

This is very very possible.

You’ll need to edit the email classes at:
dukapress.php
dp-cart.php

Should be very doable (easy)

February 2, 2012 at 6:56 pm #4779

Steve

I think I should be okay to edit dukapress.php email class, but after looking through the dp-cart.php file I’m a little stumped, can you tell me a bit more about what needs changing in the dp-cart.php email class?

February 2, 2012 at 9:55 pm #4793

wham

Hi Steve

This is some code we did for a client which achieves this – but it also includes other customisation so watch out for those:

dp-cart.php: http://pastebin.com/udw7EEbg
Lines 168 – 175, 208 – 215

dukapress.php: http://pastebin.com/GNiKKB63
Line 930 and line 933 saving options.

Lines 2060 – 2066, 2101 – 2107, 2006 – 2013, 1966 – 1972 are the options. We created new email instances so just look at how the PDF is attached to one.

New functions on lines 2312 – 2344

I hope this helps?

February 3, 2012 at 12:30 pm #4803

Steve

Thanks a lot, I really appreciate all the help you’ve given me.

February 14, 2012 at 5:31 pm #4920

Nico

im having almost same problem. But i dont even get the pdf attached to the email.
Have tryed to solve this for days now but cant figure out how to do it.

I want the Invoice PDF to be attached on the Order email that are being sent to the customer and to the admin.

Help me! how do i do this?

February 14, 2012 at 9:40 pm #4924

Mike

what about version 2.35?

February 14, 2012 at 10:02 pm #4925

Nico

Yes,I am using the latest version that is 2.35. But still no invoice attached to the Order mail. Im using only Cash at store option if that does anything to it?

February 14, 2012 at 10:14 pm #4928

wham

This is not in version 2.3.5 by default – you have to do some coding to make it work. The above is a guideline on how to go about it.

We hope to have it in a future version.

If you’re getting problems coding it in on your own, please consider hiring us to do it quickly for you. :)

Link: http://dukapress.com/dukapress-customization/

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Attaching the PDF invoice to mail
Your information:






<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">


© 2012 DukaPress. All rights reserved.
Design By Madoido.