admin-cancelled-order.php
1 year ago
admin-failed-order.php
1 year ago
admin-new-order.php
1 year ago
admin-payment-gateway-enabled.php
2 months ago
customer-cancelled-order.php
1 year ago
customer-completed-order.php
1 year ago
customer-failed-order.php
1 year ago
customer-fulfillment-created.php
11 months ago
customer-fulfillment-deleted.php
11 months ago
customer-fulfillment-updated.php
1 month ago
customer-invoice.php
1 year ago
customer-new-account.php
1 year ago
customer-note.php
11 months ago
customer-on-hold-order.php
1 year ago
customer-pos-completed-order.php
1 year ago
customer-pos-refunded-order.php
1 year ago
customer-processing-order.php
1 year ago
customer-refunded-order.php
1 year ago
customer-reset-password.php
1 year ago
customer-stock-notification-verified.php
9 months ago
customer-stock-notification-verify.php
9 months ago
customer-stock-notification.php
9 months ago
email-addresses.php
2 years ago
email-customer-details.php
2 years ago
email-downloads.php
2 years ago
email-fulfillment-details.php
11 months ago
email-fulfillment-items.php
1 month ago
email-order-details.php
1 month ago
email-order-items.php
1 month ago
email-customer-details.php
27 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Additional Customer Details (plain) |
| 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/plain/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://woocommerce.com/document/template-structure/ |
| 16 | * @package WooCommerce\Templates\Emails\Plain |
| 17 | * @version 3.4.0 |
| 18 | */ |
| 19 | |
| 20 | defined( 'ABSPATH' ) || exit; |
| 21 | |
| 22 | echo esc_html( wc_strtoupper( esc_html__( 'Customer details', 'woocommerce' ) ) ) . "\n\n"; |
| 23 | |
| 24 | foreach ( $fields as $field ) { |
| 25 | echo wp_kses_post( $field['label'] ) . ': ' . wp_kses_post( $field['value'] ) . "\n"; |
| 26 | } |
| 27 |