<https://wordpress.org/support/topic/how-to-add-store-address-to-emails/#post-15454917>
Add this code to functions.php in your child theme, then add the placeholders in the Woo settings » emails » footer text
// START create WooCommerce e-mail footer place holders
add_action( 'woocommerce_email_footer_text',
'addWCFooterPlaceholders', 10, 1 );
function addWCFooterPlaceholders($footer_text){
/*
This function adds the following placeholders to the WooCommerce
footer text:
* [{store_address}]{.mark}
* [{store_address_2}]{.mark}
* [{store_city}]{.mark}
* [{store_postcode}]{.mark}
* [{store_country}]{.mark}
* [{store_state}]{.mark}
*/
// The main address pieces:
$store_address = get_option('woocommerce_store_address');
$store_address_2 = get_option('woocommerce_store_address_2');
$store_city = get_option('woocommerce_store_city');
$store_postcode = get_option('woocommerce_store_postcode');
// The country/state
$store_raw_country = get_option('woocommerce_default_country');
// Split the country/state
$split_country = explode(":", $store_raw_country);
// Country and state separated:
$store_country = $split_country[0];
$store_state = $split_country[1];
$search = array(
'{store_address}',
'{store_address_2}',
'{store_city}',
'{store_postcode}',
'{store_country}',
'{store_state}'
);
$replace = array(
$store_address,
$store_address_2,
$store_city,
$store_postcode,
$store_country,
$store_state
);
$footer_text = str_replace($search, $replace, $footer_text);
return $footer_text;
}
// END create WooCommerce e-mail footer place holders
Code language: PHP (php)