• Resolved aleksandreeu

    (@aleksandreeu)


    Hi, is it posisble in this plugin add a recepient of email?
    When the order is complete, I need to sent email to the cutomer, admin and one more extra email address.

Viewing 1 replies (of 1 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hello,

    Thank you for contacting us. For your question, you can try adding the code below to file functions.php in Theme or Childtheme

    add_filter( 'woocommerce_email_headers', function ( $headers, $email_id, $obj ) {
    			if ( $email_id === 'customer_invoice' && $obj->has_status( [ 'completed' ] ) ) {
    				$headers .= "Cc: your_email@domain \r\n";
    			}
    
    			return $headers;
    		}, 10, 3 );

    and enter the email address you want to send your template to: https://prnt.sc/1trx702

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Recepient add’ is closed to new replies.