WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
WooCommerce Order Received Email (6 posts)

  1. noodle24
    Member
    Posted 1 year ago #

    When a customer orders a product, the email subject they get says...

    [] Order Received

    I would like to change this, but not sure where to go and do that or how.

    http://wordpress.org/extend/plugins/woocommerce/

  2. noodle24
    Member
    Posted 1 year ago #

    Does anyone know how to edit the email subject for order confirmations?

  3. bheadrick
    Member
    Posted 1 year ago #

    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';
    }

  4. noodle24
    Member
    Posted 1 year ago #

    What file does this go into?

  5. bheadrick
    Member
    Posted 1 year ago #

    your theme's functions.php

  6. akinl
    Member
    Posted 1 year ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic