Update copy for processing order emails to not mention payment as some stores take payment after orders are placed.

This commit is contained in:
Gerhard 2019-01-11 14:29:21 +02:00
parent a7463c5535
commit 77537d2cd3
3 changed files with 6 additions and 6 deletions

View File

@ -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' );
}
/**

View File

@ -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 ); ?>
<?php /* translators: %s: Customer first name */ ?>
<p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ); ?></p>
<?php /* translators: %s: Order number */ ?>
<p><?php printf( esc_html__( 'Just to let you know &mdash; your payment has been confirmed, and order #%s is now being processed:', 'woocommerce' ), esc_html( $order->get_order_number() ) ); ?></p>
<p><?php printf( esc_html__( 'Just to let you know &mdash; your order, order #%s has been confirmed, and is now being processed:', 'woocommerce' ), esc_html( $order->get_order_number() ) ); ?></p>
<?php

View File

@ -12,7 +12,7 @@
*
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates/Emails/Plain
* @version 3.5.0
* @version 3.5.4
*/
if ( ! defined( 'ABSPATH' ) ) {
@ -24,7 +24,7 @@ echo '= ' . esc_html( $email_heading ) . " =\n\n";
/* translators: %s: Customer first name */
echo sprintf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ) . "\n\n";
/* translators: %s: Order number */
echo sprintf( esc_html__( 'Just to let you know &mdash; 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 &mdash; your order, order #%s has been confirmed, and is now being processed:', 'woocommerce' ), esc_html( $order->get_order_number() ) ) . "\n\n";
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";