• Resolved dailce

    (@dailce)


    Order status update with note doesn’t send email?

    I can do something like this:

    $order->add_order_note( $order_note, $is_customer_note );
    // Update order status.
    if ( $order_shipped ) {
    $order->update_status( WC_ShipStation_Integration::$shipped_status  );

    Customer will receive 2 emails: an order completed email AND a separate email with the order note.

    When I try to combine this

    $order->update_status( WC_ShipStation_Integration::$shipped_status, $order_note);

    In the admin, I can see the order status set to completed, and the order note (both separate). But no emails sent.

    I want to send out a “completed” email with the order note attached, instead of 2 different emails.

The topic ‘Order status update with note doesn’t send email?’ is closed to new replies.