diff --git a/includes/emails/class-wc-email-customer-processing-order.php b/includes/emails/class-wc-email-customer-processing-order.php index 20b6f888c00..5570c6839ca 100644 --- a/includes/emails/class-wc-email-customer-processing-order.php +++ b/includes/emails/class-wc-email-customer-processing-order.php @@ -57,7 +57,7 @@ if ( ! class_exists( 'WC_Email_Customer_Processing_Order', false ) ) : * @return string */ public function get_default_subject() { - return __( 'Payment received for your order', 'woocommerce' ); + return __( 'Your {site_title} order has been received!', 'woocommerce' ); } /** @@ -67,7 +67,7 @@ if ( ! class_exists( 'WC_Email_Customer_Processing_Order', false ) ) : * @return string */ public function get_default_heading() { - return __( 'Thank you for your payment', 'woocommerce' ); + return __( 'Thank you for your order', 'woocommerce' ); } /** @@ -104,7 +104,8 @@ if ( ! class_exists( 'WC_Email_Customer_Processing_Order', false ) ) : */ public function get_content_html() { return wc_get_template_html( - $this->template_html, array( + $this->template_html, + array( 'order' => $this->object, 'email_heading' => $this->get_heading(), 'sent_to_admin' => false, @@ -121,7 +122,8 @@ if ( ! class_exists( 'WC_Email_Customer_Processing_Order', false ) ) : */ public function get_content_plain() { return wc_get_template_html( - $this->template_plain, array( + $this->template_plain, + array( 'order' => $this->object, 'email_heading' => $this->get_heading(), 'sent_to_admin' => false, diff --git a/templates/emails/customer-processing-order.php b/templates/emails/customer-processing-order.php index 49383803bce..324d980d073 100644 --- a/templates/emails/customer-processing-order.php +++ b/templates/emails/customer-processing-order.php @@ -12,7 +12,7 @@ * * @see https://docs.woocommerce.com/document/template-structure/ * @package WooCommerce/Templates/Emails - * @version 3.5.0 + * @version 3.5.4 */ if ( ! defined( 'ABSPATH' ) ) { @@ -27,7 +27,7 @@ do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
get_billing_first_name() ) ); ?>
-get_order_number() ) ); ?>
+get_order_number() ) ); ?>
get_billing_first_name() ) ) . "\n\n"; /* translators: %s: Order number */ -echo sprintf( esc_html__( 'Just to let you know — your payment has been confirmed, and order #%s is now being processed:', 'woocommerce' ), esc_html( $order->get_order_number() ) ) . "\n\n"; +echo sprintf( esc_html__( 'Just to let you know — we\'ve received your order #%s, and it is now being processed:', 'woocommerce' ), esc_html( $order->get_order_number() ) ) . "\n\n"; echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";