WooCommerce Services

[ Solution ] WooCommerce 2.x – New Order Email is Missing Shipping Address

I’ve been running WooCommerce upgrades on client sites and uncovered a potential problem with the Shipping Address not displaying in the new order emails.

In plugins/woocommerce/templates/emails/email-addresses.php modify the below:

WooCommerce Version 1.6.4

if ( get_option( 'woocommerce_ship_to_billing_address_only' ) === 'no' && ( $shipping = $order->get_formatted_shipping_address() ) ) :

WooCommerce Version 2.2.0

if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) :