From 02fec371f4b75d490c64563aa3d76f04da4e91dc Mon Sep 17 00:00:00 2001 From: Melebius Date: Thu, 8 Dec 2022 18:17:50 +0100 Subject: [PATCH] Fix payment instruction location in on-hold email (#31880) (#31886) * Fix payment instruction location in on-hold email * Update template version tags. * Changelog. * Update version tag to 7.3.0. * Update version tag to 7.3.0. Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com> --- plugins/woocommerce/changelog/fix-email-payment-instructions | 4 ++++ .../woocommerce/templates/emails/customer-on-hold-order.php | 4 ++-- .../templates/emails/plain/customer-on-hold-order.php | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 plugins/woocommerce/changelog/fix-email-payment-instructions diff --git a/plugins/woocommerce/changelog/fix-email-payment-instructions b/plugins/woocommerce/changelog/fix-email-payment-instructions new file mode 100644 index 00000000000..262c04832aa --- /dev/null +++ b/plugins/woocommerce/changelog/fix-email-payment-instructions @@ -0,0 +1,4 @@ +Significance: patch +Type: tweak + +Simplify wording within the customer emails for on-hold orders. diff --git a/plugins/woocommerce/templates/emails/customer-on-hold-order.php b/plugins/woocommerce/templates/emails/customer-on-hold-order.php index d19bf8d199e..03f9374e5ee 100644 --- a/plugins/woocommerce/templates/emails/customer-on-hold-order.php +++ b/plugins/woocommerce/templates/emails/customer-on-hold-order.php @@ -12,7 +12,7 @@ * * @see https://docs.woocommerce.com/document/template-structure/ * @package WooCommerce\Templates\Emails - * @version 3.7.0 + * @version 7.3.0 */ defined( 'ABSPATH' ) || exit; @@ -24,7 +24,7 @@ do_action( 'woocommerce_email_header', $email_heading, $email ); ?>

get_billing_first_name() ) ); ?>

-

+

get_billing_first_name() ) ) . "\n\n"; -echo esc_html__( 'Thanks for your order. It’s on-hold until we confirm that payment has been received. In the meantime, here’s a reminder of what you ordered:', 'woocommerce' ) . "\n\n"; +echo esc_html__( 'Thanks for your order. It’s on-hold until we confirm that payment has been received.', 'woocommerce' ) . "\n\n"; /* * @hooked WC_Emails::order_details() Shows the order details table.