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”
- WooCommerce Shop Page Not Found 404
- How can I show an empty WooCommerce cart? [closed]
- Woocommerce Pre Orders – Can i override templates?
- Programmatically adding product attributes to WP / Woo commerce
- Display File Types For Woocommerce Downloadable Products On Product Page
- Programmatically setting Woocommerce product price
- Add product categories to receipt
- Woocommerce specific product template for product type
- How can I use a gravity form to send an e-card?
- Woocommerce Cart Default Language Not Changing
- Make this Fast and Queryable
- WooCommerce slider filter for numerical attributes
- Reordering product tab under product image [closed]
- How do I change the default state label for a country on the WooCommerce checkout page?
- Absolute search against wordpress api
- Is it possible to remove editor from a custom product type?
- /page/ is not working with a custom permalink structure (WooCommerce)
- Woocommerce show field in product if product-tag is “VET” else hide
- How to make a “subtitle” for each Woocommerce product
- Create Product with Woocommerce API, but Variations are not linked
- Woocommerce API security concerns
- How to add a wrapper element on image for products page
- Dynamic subdomains for woocommerce affiliate sales but NO multisite. Is that possible?
- How can I change field values of posts before displaying
- WC Booking query bookings with date ranges
- Disable theme WooCommerce template [closed]
- How to add a fixed shopping cart button on the bottom of the page?
- Hide .woocommerce-price-suffix on the product list page
- Reposition variation stock message
- Woocommerce product not responsive
- limit all products
- Pricing Rules plugin bulk table not showing in varition of products (have 2 attributes) if single attribute its shows