• Resolved mukhthar

    (@mukhthar)


    Hi,
    I want to send a pdf invoice copy of my order to a separate mail.When an order is completed an email is sent to the customer along with PDF invoice. I also want to send a copy of PDF invoice to my accountant too. Is there a way to do so.
    Regards,
    Mukhthar

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Dennis

    (@vdwoocommercesupport)

    Hi there,

    you may install a plugin to send copies (BCC) of certain Woo email templates to other email addresses. You may then configure the invoice email so that you BCC that email to your additional addresses:
    https://de.www.ads-software.com/plugins/cc-bcc-for-woocommerce-order-emails/

    Cheers

    Thread Starter mukhthar

    (@mukhthar)

    I have tried this plugin and I am getting an error”CC & BCC for Woocommerce Order Emails is active but does not work. You need to install WooCommerce because the plugin is working properly.”

    And the BCC emails are not receiving is there any other options?

    Thread Starter mukhthar

    (@mukhthar)

    Hi ,
    I have fixed it using some code

    function add_bcc_to_woo_emails( $headers, $object ) {
    // email types/objects to add bcc to
    $add_bcc_to = array(
    ‘customer_completed_order’, // Order Complete from WooCommerce
    ‘customer_invoice’, // Customer Invoice from WooCommerce
    );
    // if our email object is in our array
    if ( in_array( $object, $add_bcc_to ) ) {
    // change our headers
    $headers = array(
    $headers,
    ‘Bcc: Me <[email protected]>’ .”\r\n”,
    );
    }
    return $headers;
    }
    add_filter( ‘woocommerce_email_headers’, ‘add_bcc_to_woo_emails’, 10, 2 );

    Thread Starter mukhthar

    (@mukhthar)

    Hi,
    One more doubt regarding the PDF invoice generated using germainized plugin.
    How can I edit the PDF template??

    Thanks in advance

    Mukhthar

    Plugin Contributor Dennis

    (@vdwoocommercesupport)

    Hi there,

    the original PHP template files can be found here:
    plugins/woocommerce-germanized-pro/templates/invoice/

    you may override them within your child-theme:
    my-child-theme/woocommerce-germanized-pro/invoice/

    Cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PDF invoices to a seperate mail’ is closed to new replies.