Support » Plugin: WooCommerce » WooCommerce Order Received Email

Viewing 5 replies - 1 through 5 (of 5 total)
  • Does anyone know how to edit the email subject for order confirmations?

    add_filter(‘woocommerce_email_subject_customer_procesing_order’,’new_subj_func’);

    function new_subj_func($subject){

    $newsubject= ‘Yeah, We’re Working on It…’;
    //if you want to just replace ‘order received’ with something else
    return str_replace(‘Order Received’,$newsubject, $subject);
    // or you could just say
    // return ‘new subject’;
    }

    What file does this go into?

    your theme’s functions.php

    Tried and tested and worked a treat.

    add_filter(‘woocommerce_email_subject_customer_completed_order’,’new_order_subject’);

    function new_order_subject($subject){
    $subject= ‘Your Email Subject Here’;
    return $subject;
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce Order Received Email’ is closed to new replies.