J
J
Jokerrs5672022-01-19 17:25:57
WordPress
Jokerrs567, 2022-01-19 17:25:57

How to pass name to woocommerce email header?

How to pass custom name to email header? I go to the template for the client customer-on-hold-order.php

<p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ); ?></p>

I edit get_billing_first_name to my own: get_billing_name No
sense

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid, 2022-01-21
@easycode

In the admin panel, go to: WooCommerce> Settings, select the tab: E-mails , find there: Order on hold and click the Manage button to the right of it :
61ea69290feaa034711970.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question