adding donor name to new donation email
-
Hi Varun,
I’d like to add a line to the admin new donation email letting me know the name of the person who made the donation. It currently has the donation ID #, and then the table contains the project info and the amount.
I’d like to add a line under the Donation id# that says Donor Name: ‘donor first name” ‘donor last name’.
In the donation-admin-new.php file, I have added this line of code on line 27.
<h2><?php printf( __( 'Donor Name:', WC_QD_TXT ), $order->billing_first_name.' ' . $order->billing_last_name ); ?> </h2>
to the php file, and it prints the ‘Donor Name:’ part but not the actual first and last name.
Can you help me add that content?
Thanks,
Debbie Bullinghttps://www.ads-software.com/plugins/woocommerce-quick-donation/
- The topic ‘adding donor name to new donation email’ is closed to new replies.