2012-08-14 18:05:45 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Email Addresses
|
|
|
|
*
|
|
|
|
* @author WooThemes
|
|
|
|
* @package WooCommerce/Templates/Emails
|
2015-04-20 16:21:00 +00:00
|
|
|
* @version 2.4.0
|
2012-08-14 18:05:45 +00:00
|
|
|
*/
|
|
|
|
|
2014-05-28 19:22:17 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly
|
|
|
|
}
|
2012-10-15 10:57:58 +00:00
|
|
|
|
2015-04-20 16:21:00 +00:00
|
|
|
?><table id="addresses" cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top;" border="0">
|
2012-02-27 15:02:44 +00:00
|
|
|
|
2012-07-25 10:28:38 +00:00
|
|
|
<tr>
|
2012-02-27 15:02:44 +00:00
|
|
|
|
2012-07-25 10:28:38 +00:00
|
|
|
<td valign="top" width="50%">
|
|
|
|
|
2012-10-16 09:45:33 +00:00
|
|
|
<h3><?php _e( 'Billing address', 'woocommerce' ); ?></h3>
|
2012-08-14 18:05:45 +00:00
|
|
|
|
2012-07-25 10:28:38 +00:00
|
|
|
<p><?php echo $order->get_formatted_billing_address(); ?></p>
|
2012-08-14 18:05:45 +00:00
|
|
|
|
2012-07-25 10:28:38 +00:00
|
|
|
</td>
|
2012-02-27 15:02:44 +00:00
|
|
|
|
2014-05-28 19:22:17 +00:00
|
|
|
<?php if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) : ?>
|
2012-02-27 15:02:44 +00:00
|
|
|
|
2012-07-25 10:28:38 +00:00
|
|
|
<td valign="top" width="50%">
|
|
|
|
|
2012-10-16 09:45:33 +00:00
|
|
|
<h3><?php _e( 'Shipping address', 'woocommerce' ); ?></h3>
|
2012-08-14 18:05:45 +00:00
|
|
|
|
2012-09-17 00:53:17 +00:00
|
|
|
<p><?php echo $shipping; ?></p>
|
2012-08-14 18:05:45 +00:00
|
|
|
|
|
|
|
</td>
|
|
|
|
|
2012-07-25 10:28:38 +00:00
|
|
|
<?php endif; ?>
|
2012-02-27 15:02:44 +00:00
|
|
|
|
2012-07-25 10:28:38 +00:00
|
|
|
</tr>
|
2012-08-14 18:05:45 +00:00
|
|
|
|
2014-05-28 19:22:17 +00:00
|
|
|
</table>
|