woocommerce/templates/emails/email-addresses.php

36 lines
715 B
PHP
Raw Normal View History

2012-08-14 18:05:45 +00:00
<?php
/**
* Email Addresses
*
* @author WooThemes
* @package WooCommerce/Templates/Emails
* @version 1.6.4
*/
?><table cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top;" border="0">
2012-07-25 10:28:38 +00:00
<tr>
2012-07-25 10:28:38 +00:00
<td valign="top" width="50%">
<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>
<?php if ( get_option( 'woocommerce_ship_to_billing_address_only' ) == 'no' && ( $shipping = $order->get_formatted_shipping_address() ) ) : ?>
2012-07-25 10:28:38 +00:00
<td valign="top" width="50%">
<h3><?php _e('Shipping address', 'woocommerce'); ?></h3>
2012-08-14 18:05:45 +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-07-25 10:28:38 +00:00
</tr>
2012-08-14 18:05:45 +00:00
2012-07-25 10:28:38 +00:00
</table>