2012-09-17 00:53:17 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Email Addresses (plain)
|
|
|
|
*
|
|
|
|
* @author WooThemes
|
|
|
|
* @package WooCommerce/Templates/Emails/Plain
|
2014-04-08 15:28:27 +00:00
|
|
|
* @version 2.2.0
|
2012-09-17 00:53:17 +00:00
|
|
|
*/
|
|
|
|
|
2012-10-15 10:57:58 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
|
|
|
2012-09-17 00:53:17 +00:00
|
|
|
echo "\n" . __( 'Billing address', 'woocommerce' ) . ":\n";
|
|
|
|
echo $order->get_formatted_billing_address() . "\n\n";
|
|
|
|
|
2014-04-08 15:28:27 +00:00
|
|
|
if ( ! wc_ship_to_billing_address_only() && ( $shipping = $order->get_formatted_shipping_address() ) ) :
|
2012-09-17 00:53:17 +00:00
|
|
|
|
|
|
|
echo __( 'Shipping address', 'woocommerce' ) . ":\n";
|
|
|
|
|
|
|
|
echo $shipping . "\n\n";
|
|
|
|
|
|
|
|
endif;
|