Support » Plugin: WooCommerce » Product cancel and faild email not received by customer

Viewing 15 replies - 1 through 15 (of 18 total)
  • Hi kumaresanwp,

    Sadly this isn’t a feature you can add yet.

    Similar question answered by the author:
    https://wordpress.org/support/topic/cancelled-order-email?replies=3

    Thread Starter kumaresan

    (@kumaresanwp)

    Hi Cherl_p,

    Is, there any other way do to this…

    Hello

    Please use woocommerce version 2.6.4 and then go to
    Admin > woocommerce > settings > email.

    There will be option cancelled order.

    Thanks

    Thread Starter kumaresan

    (@kumaresanwp)

    Hello

    Thanks for reply…

    Can you try this?

    Thread Starter kumaresan

    (@kumaresanwp)

    Not yet, because i developed website.
    If i change version website will collapse.

    Thread Starter kumaresan

    (@kumaresanwp)

    I have checked.

    Version 2.6.4 also have the same option.

    Product order cancelled mail going to only admin not user…

    Let me check in detail

    Try following code into functions.php located in your themes.

    When mail is send then mail will be goes to admin and customer.

    /*
    * Add customer email to Cancelled Order recipient list
    */
    function wc_cancelled_order_add_customer_email( $recipient, $order ){
    return $recipient . ‘,’ . $order->billing_email;
    }
    add_filter( ‘woocommerce_email_recipient_cancelled_order’, ‘wc_cancelled_order_add_customer_email’, 10, 2 );

    Thanks

    Please try and let me if it is working or not.

    Thanks

    Thread Starter kumaresan

    (@kumaresanwp)

    I already tried this code from pixelboy7734 post.

    It’s not working.

    Hello

    Which issue happen you want to put add above code?

    Can you please describe?

    Thread Starter kumaresan

    (@kumaresanwp)

    No issue in that code.

    But, mail not received by customer..

    function wc_send_booking_cancelled_multiple_addresses( $recipient ) {
    global $pending_conf_vendor;

    $recipient = rtrim( trim( $recipient ), ‘,’ );

    $new_recipients = array(
    ‘yourmeail@domain.com’,
    ‘onemore@anotherdomain.com’,
    //Add more email addresses if needed
    );

    $recipient .= ‘,’ . implode( ‘,’, $new_recipients );

    return $recipient;
    }
    add_filter( ‘woocommerce_email_recipient_booking_cancelled’, ‘wc_send_booking_cancelled_multiple_addresses’ );

    Hello

    Please try following code into your functions.php.

    function wc_send_booking_cancelled_multiple_addresses( $recipient ) {
    global $pending_conf_vendor;

    $recipient = rtrim( trim( $recipient ), ‘,’ );

    $new_recipients = array(
    ‘yourmeail@domain.com’,
    ‘onemore@anotherdomain.com’,
    //Add more email addresses if needed
    );

    $recipient .= ‘,’ . implode( ‘,’, $new_recipients );

    return $recipient;
    }
    add_filter( ‘woocommerce_email_recipient_booking_cancelled’, ‘wc_send_booking_cancelled_multiple_addresses’ );

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Product cancel and faild email not received by customer’ is closed to new replies.