woocommerce/templates/emails/email-addresses.php

27 lines
572 B
PHP

<table cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top;" border="0">
<tr>
<td valign="top" width="50%">
<h3><?php _e('Billing address', 'woocommerce'); ?></h3>
<p><?php echo $order->get_formatted_billing_address(); ?></p>
</td>
<?php if ( get_option( 'woocommerce_ship_to_billing_address_only' ) == 'no' ) : ?>
<td valign="top" width="50%">
<h3><?php _e('Shipping address', 'woocommerce'); ?></h3>
<p><?php echo $order->get_formatted_shipping_address(); ?></p>
</td>
<?php endif; ?>
</tr>
</table>