• Resolved ermilis

    (@ermilis)


    Hello,

    How do I manage to attach a packing slip to each new order confirmation?
    Currently only invoices are being attached, but I also need the packing slip.

    I will need this for my packing team as they do not access the WordPress backend.

    Thank you for your help!

    Best regards,
    Alex

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

    (@pomegranate)

    Hello Alex,
    This is a feature of the Professional extension. Documentation here: Configuring the order notification email.

    Let me know if you have any other questions!

    Ewout

    Just edit few lines in plugin code, if you want it… but with warning, it’s not recommended to edit plugin code, because you will lost it after plugin update ??
    /includes/class-wcpdf-export.php

    Add this to line 593
    'packing-slip' => apply_filters('wpo_wcpdf_email_allowed_statuses', $invoice_allowed), // Relevant (default) statuses: new_order, customer_invoice, customer_processing_order, customer_completed_order

    Add this condition after line 609

    if ($template_type == 'packing-slip' && !$attach_invoice) {
                        // don't attach invoice, continue with other documents
                        continue;
                    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to attach packing slip to each new order confirmation mail’ is closed to new replies.