Try changing this: $name = $user->user_email; to this:
$name = $user->first_name;
And this: $phone = get_user_meta( $customer_id, ‘billing_phone’, true ); to this:
$phone = get_user_meta( $user_id, 'billing_phone', true );
Did it work for you? Let me know! =)
Related Posts:
- WooCommerce lost password reset flow not working with SendGrid (redirect loop)
- Username field is not shown in Woocommerce’s registration contact form
- Preventing WooCommerce email sending only on particular conditions
- woocommerce fail to replace template string in email title [closed]
- Custom Redirect after registration in WooCommerce
- WooCommerce: display text instead of raw checkbox value email
- Editing Header Titles of each details in woocommerce Order Email [closed]
- Woocommerce : How to attach an custom attachment with customer-processing-order.php email template [closed]
- WooCommerce email text based on category && shipping zone && payment method [closed]
- Trigger Woocommerce New User Email
- WooCommerce: Email Notifications
- woocommerce_email_attachments filter arguments [closed]
- WordPress ‘on behalf of’ email
- WooCommerce: The model of e-mail is displaying only the html, not css [closed]
- How do I hide the purchase note in the WooCommerce ‘order completed’ email?
- Which hook should I use to capture $_POST(‘password’) via profile update and password reset
- Add custom order meta to Order Completed email
- Woocommerce: Prevent sending of email when order is “Completed”
- Force User Registration before visitng Checkout Page
- Register a new user on wooCommerce using Rest API
- How to add a user custom field into Woocommerce emails?
- Allow WooCommerce existing customers to checkout without being logged in [closed]
- Custom Admin Email Subject for Woocommerce (3.8.0) Orders
- WooCommerce order complete email logic
- Auto generate user email while registration
- woocommerce email template detect email recipient
- Adding extra email address who receives email like admin – woocommerce
- Add shipping address to Woocommerce order emails [closed]
- Woocommerce check if email already created order recently [closed]
- Send email notifications to a defined email address depending if a product in order has a specific TAG [closed]
- Woocommerce emails from gmail not being sent
- WooCommerce Registration redirect based on page ID
- Send admin new order email to logged in user as well
- Block Disposable Emails on Woocommerce Registration
- Clients with empty username are not receiving request new password email
- Woocommerce Register Error
- Create new email in WooCommerce
- How to check if woocommerce_order_item_name is use in email?
- WordPress woocommerce new order email not working
- Make e-Mail optional on Woocommerce sign up
- Custom Email via Hook only for completed order
- Access custom meta_data in processing order email
- Assign user role by text field in WordPress (Woocommerce) [closed]
- Impossible to create a new WooCommerce customer using Rest API
- Registration roles
- How to add (and change the font of) the short product description to order page and customer’s new order e-mail [closed]
- How to change lost password email text using custom plugin wordpress?
- Using admin email in billing address
- Forgot password flow does not work, getting email with a link but after clicking link it’s not working
- Send a different “thank you” email based on payment method
- Customer Email Address
- Adding time of order to Admin email for new order
- Redirect After Registration on Specific Link
- how to add custom reviews button in woocommerce order complete generated mail
- How to add coupon expiry date into the followup emails?
- Custom Registration Fields woocommerce
- Conditional email recipient based off Shipping Method [closed]
- Manual Woocommerce Complete order Emails
- Turkish Character Problem on mailing
- How to override email text New Customer Order?
- Woo-Commerce new order email no style attached
- Change WooCommerce registration form/way?
- DatePicker in Woocommerce (My Account) Registration [closed]
- WooCommerce – How to add a custom field to only a specific email template [closed]
- Insert a custom field as a second email address to a completed order in WooCommerce
- Remove login fields from /customer-account page [closed]
- Woocommerce admin order email customize – remove product short description
- My account page, don’t show the complete “Registration form”
- How to implement my product variations/attributes in my contact form 7 email?
- How to change the default registration email ? (plugin and/or non-plugin)
- Woocommerce – Add a product to cart programmatically via JS or PHP [closed]
- ( Woocommerce) How to get the user belonging to an order? [closed]
- Get the product list of a given Category ID
- List of JS events in the WooCommerce frontend
- get woocommerce My account page link
- WooCommerce: How to edit the get_price_html
- Get woocommerce product price by id [closed]
- Product categories don’t appear as option to build menu
- Disable user registration password email
- WooCommerce Variable Product Price not showing on single product page
- How do I customise the new user welcome email
- How to override WooCommerce template files?
- Woocommerce add extra field to variation product
- How do you access the Product Short Description in a WooCommerce email template? [closed]
- Send user activation email when programmatically creating user
- Getting the gallery images from products in woocommerce?
- User Without Email?
- How to get current product category ID in product archive page
- Get url of product’s images (woocommerce)
- WooCommerce prices location in DB
- Order by rating not works in wp_query
- Woocommerce: How to remove page-title at the home/shop page but not category pages
- Woocommerce show cross sells on singe product page [closed]
- How to add a new endpoint in woocommerce
- Are there any hook or filter when refund is done through admin -woocommerce
- How to check if is in cart page? [closed]
- Display single product attribute value on Shop page (Woocommerce)
- Woocommerce registration page [closed]
- WP/WooCommerce REST API cart/checkout/order [closed]
- how to use wc_create_order with subscription product