Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi There,
    This is currently not possible, unless you add the packing slip data/page to the invoice template. I’m curious though, why do you want to do this?

    Ewout

    Thread Starter macintellect

    (@macintellect)

    Hi

    Thanks for your reply. I want to attach both to the Admin new order email. This way my client can print off both invoice and packing slip when an order is placed without having to log in to the website. each time. If you could help me achieve this that would be great

    Kindest Regards

    Jamie

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Jamie,
    You can do this with a separate email with the code in this thread (second post):
    http://wordpress.org/support/topic/possible-to-send-packing-slip-to-an-email-adress-i-specify?replies=4

    you have to put this in your theme’s functions.php, be careful not to place it after the last ?>

    Have a great day!
    Ewout

    Thread Starter macintellect

    (@macintellect)

    Hi Thanks – I read this before but couldn’t get it to work. I tried putting this in my functions.php but it broke the site. Is there nothing I can do in the class-wcpdf-export.php file? line 223 -292 seems to contain the functions to attach the PDF

    Sorry if i misunderstand 🙂

    Cheers

    Jamie

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Jamie,
    Yes, you could hack up class-wcpdf-export.php, but generally I would not recommend that, as it would be overwritten with every update…

    I did test that filter, so it should work. Did it give you a specific error? If you let me know what error it gives you I can try to help you figure out the problem. This method is update proof and basically follows the same logic/method as the part that you refer to in the core plugin file.

    Sometimes the site breaks when you copy paste code into functions.php simply because there’s one missing character, or it was accidentally placed inside another function or after the last ?>.

    As a general rule, you can always delete the ‘?>’ is there is one at the end (only if it’s at the very end!) of functions.php – it’s not needed! And always paste custom code at the end of the file.

    Let me know!
    Ewout

    I would really love it if you could choose both the invoice and packing slip to be included in the ‘Admin New Order email’. As macintellect mentioned, you could then print both and ease the packing process without logging in to admin.

    I’m also curious Ewout, why do you not want to do this?

    Thanks for a great plugin Ewout!

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Jayem,
    I haven’t included this in the main plugin because I need to prioritize my work – unfortunately for you this feature is not on the top of my list. I can definitely see the value in adding the packing slip to the admin new order email, but for that purpose the script I refer to does the job too (with much more flexibility at that!). I tested it and it works for me, but in order to help when it doesn’t work for you, I need a little bit more information.

    Ewout

    Did anyone Solve this??

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Polytee,
    We just released a new extension this week that makes it possible to attach the packing slip to the new order email (or any other email of your choice!), amongst several other useful features.

    Check it out here:
    https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-professional/

    Hope that helps!

    Ewout

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Attach both Invoice and Packing Slip to emails’ is closed to new replies.