Attaching the PDF invoice to mail

Home Forums General Help Attaching the PDF invoice to mail

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #4767
    Steve
    Guest

    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

    #4771
    wham
    Guest

    This is very very possible.

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

    Should be very doable (easy)

    #4779
    Steve
    Guest

    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?

    #4793
    wham
    Guest

    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?

    #4803
    Steve
    Guest

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

    #4920
    Nico
    Guest

    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?

    #4924
    Mike
    Guest

    what about version 2.35?

    #4925
    Nico
    Guest

    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?

    #4928
    wham
    Guest

    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)
  • The forum ‘General Help’ is closed to new topics and replies.
© 2024 DukaPress. All rights reserved.
Design By Madoido.