plain
9 years ago
admin-cancelled-order.php
9 years ago
admin-failed-order.php
9 years ago
admin-new-order.php
9 years ago
customer-completed-order.php
9 years ago
customer-invoice.php
9 years ago
customer-new-account.php
9 years ago
customer-note.php
9 years ago
customer-on-hold-order.php
9 years ago
customer-processing-order.php
9 years ago
customer-refunded-order.php
9 years ago
customer-reset-password.php
9 years ago
email-addresses.php
9 years ago
email-customer-details.php
9 years ago
email-footer.php
9 years ago
email-header.php
9 years ago
email-order-details.php
9 years ago
email-order-items.php
9 years ago
email-styles.php
9 years ago
email-addresses.php
41 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Email Addresses |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/woocommerce/emails/email-addresses.php. |
| 6 | * |
| 7 | * HOWEVER, on occasion WooCommerce will need to update template files and you |
| 8 | * (the theme developer) will need to copy the new files to your theme to |
| 9 | * maintain compatibility. We try to do this as little as possible, but it does |
| 10 | * happen. When this occurs the version of the template file will be bumped and |
| 11 | * the readme will list any important changes. |
| 12 | * |
| 13 | * @see https://docs.woocommerce.com/document/template-structure/ |
| 14 | * @author WooThemes |
| 15 | * @package WooCommerce/Templates/Emails |
| 16 | * @version 3.0.0 |
| 17 | */ |
| 18 | |
| 19 | if ( ! defined( 'ABSPATH' ) ) { |
| 20 | exit; |
| 21 | } |
| 22 | |
| 23 | $text_align = is_rtl() ? 'right' : 'left'; |
| 24 | |
| 25 | ?><table id="addresses" cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top;" border="0"> |
| 26 | <tr> |
| 27 | <td class="td" style="text-align:<?php echo $text_align; ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" valign="top" width="50%"> |
| 28 | <h3><?php _e( 'Billing address', 'woocommerce' ); ?></h3> |
| 29 | |
| 30 | <p class="text"><?php echo $order->get_formatted_billing_address(); ?></p> |
| 31 | </td> |
| 32 | <?php if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) : ?> |
| 33 | <td class="td" style="text-align:<?php echo $text_align; ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" valign="top" width="50%"> |
| 34 | <h3><?php _e( 'Shipping address', 'woocommerce' ); ?></h3> |
| 35 | |
| 36 | <p class="text"><?php echo $shipping; ?></p> |
| 37 | </td> |
| 38 | <?php endif; ?> |
| 39 | </tr> |
| 40 | </table> |
| 41 |