plain
6 years ago
admin-cancelled-order.php
6 years ago
admin-failed-order.php
6 years ago
admin-new-order.php
6 years ago
customer-completed-order.php
6 years ago
customer-invoice.php
6 years ago
customer-new-account.php
6 years ago
customer-note.php
6 years ago
customer-on-hold-order.php
6 years ago
customer-processing-order.php
6 years ago
customer-refunded-order.php
6 years ago
customer-reset-password.php
6 years ago
email-addresses.php
6 years ago
email-customer-details.php
6 years ago
email-downloads.php
8 years ago
email-footer.php
6 years ago
email-header.php
6 years ago
email-order-details.php
6 years ago
email-order-items.php
6 years ago
email-styles.php
6 years ago
email-customer-details.php
32 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Additional Customer Details |
| 4 | * |
| 5 | * This is extra customer data which can be filtered by plugins. It outputs below the order item table. |
| 6 | * |
| 7 | * This template can be overridden by copying it to yourtheme/woocommerce/emails/email-customer-details.php. |
| 8 | * |
| 9 | * HOWEVER, on occasion WooCommerce will need to update template files and you |
| 10 | * (the theme developer) will need to copy the new files to your theme to |
| 11 | * maintain compatibility. We try to do this as little as possible, but it does |
| 12 | * happen. When this occurs the version of the template file will be bumped and |
| 13 | * the readme will list any important changes. |
| 14 | * |
| 15 | * @see https://docs.woocommerce.com/document/template-structure/ |
| 16 | * @package WooCommerce/Templates/Emails |
| 17 | * @version 2.5.0 |
| 18 | */ |
| 19 | |
| 20 | defined( 'ABSPATH' ) || exit; |
| 21 | ?> |
| 22 | <?php if ( ! empty( $fields ) ) : ?> |
| 23 | <div style="font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; margin-bottom: 40px;"> |
| 24 | <h2><?php esc_html_e( 'Customer details', 'woocommerce' ); ?></h2> |
| 25 | <ul> |
| 26 | <?php foreach ( $fields as $field ) : ?> |
| 27 | <li><strong><?php echo wp_kses_post( $field['label'] ); ?>:</strong> <span class="text"><?php echo wp_kses_post( $field['value'] ); ?></span></li> |
| 28 | <?php endforeach; ?> |
| 29 | </ul> |
| 30 | </div> |
| 31 | <?php endif; ?> |
| 32 |