woocommerce/templates/emails/email-addresses.php

41 lines
798 B
PHP
Raw Normal View History

2012-08-14 18:05:45 +00:00
<?php
/**
* Email Addresses
*
* @author WooThemes
* @package WooCommerce/Templates/Emails
* @version 2.2.0
2012-08-14 18:05:45 +00:00
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
2012-08-14 18:05:45 +00:00
?><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%">
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>
<?php if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) : ?>
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
<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
</table>