Skip to content
Advertisement

Custom phone number field not showing in WooCommerce order email

I have successfully added the phone number field in Ship to different address and the phone number is showing in back-end as well. However I am not receiving the phone number in email. Kindly Help

This code helps me to add field:

JavaScript

I have tried adding additional code in the above code (shown below) to show the phone number in email. Still doesn’t work!

JavaScript

Advertisement

Answer

You’re missing the correct meta_key, I have also slightly modified your existing code.

Note: by adjusting the priority argument, you can set your field in the correct location.

So you get:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement