We are using custom code for sending cc copy of customer orders to an different email.

This topic has 2 replies, 2 voices, and was last updated 1 years, 1 months ago ago by Rose Tyler

  • Avatar: Ritik Kumar
    Ritik Kumar
    Participant
    October 30, 2023 at 18:26

    we are using this code
    function forward_customer_email_to_admin( $headers ) {
    $headers .= ‘Bcc: netsnnets.india@gmail.com’ . “\r\n”;
    return $headers;
    }
    add_filter( ‘woocommerce_email_headers’, ‘forward_customer_email_to_admin’ );

    for forwarding the cc copy to netsnnets.india@gmail.com sometimes it is working but it is not working everytime i have checked everything but this problem is occuring once in a week . Please help us with this problem . I have pasted this code on function.php file.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 31, 2023 at 11:00

    Hello, Ritik Kumar,

    Thank you for contacting us and for using XStore.

    Sorry, but we can not be responsible for your custom coding in the child theme.
    We would recommend you contact WooCommerce support – https://wordpress.org/support/plugin/woocommerce/

    Kind Regards,
    8theme team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.