Woocommerce Emails add Last name
-
Hi,
I have solved the mentioned problem until last update. But the php text is now different. Can you please help me how the new text should say if I want to add the last name AFTER the first name in the WooCommerce emails (Hi %s)? It does no longer work since today. I would be very happy if you could correct my text so that it works again. Many thanks! The php-files are in woocommerce/templates/emails/plainOriginal:
/* translators: %s: Customer first name */
echo sprintf( esc_html__( ‘Hi %s,’, ‘woocommerce’ ), esc_html( $order->get_billing_first_name() ) ) . “\n\n”;What does no longer work – where is the fault – how should the text be exactly?:
/* translators: %s: Customer first name */
echo sprintf( esc_html__( ‘Hi %s,’, ‘woocommerce’ ), esc_html( $order->get_billing_first_name() . ‘ ‘ . $order->get_billing_last_name() ) ) . “\n\n”;
- The topic ‘Woocommerce Emails add Last name’ is closed to new replies.