Code snippet to display the Shipping phone number on the WooCommerce Shipping label instead of the Billing phone number
Here’s a code snippet to display the shipping phone number in the WooCommerce FedEx Shipping label instead of the billing phone number when using the WooCommerce FedEx Shipping Plugin with Print Label.
By using this code snippet, you can display the shipping phone number in a label in place of the billing phone number. Add the above code snippet in to Appearance –> Editor –> functions.php.
The screenshot below shows the billing and shipping address and phone numbers.
Without Using Snippet: The billing phone number appears in the shipping label.
After using Snippet: The shipping phone number appears in the shipping label.