1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
<?php /** * Customer fulfillment created email * * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-fulfillment-created.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://woocommerce.com/document/template-structure/ * @package WooCommerce\Templates\Emails\HTML * @version 10.1.0 */
defined( 'ABSPATH' ) || exit;
/** * Hook for the woocommerce_email_header. * * @param string $email_heading The email heading. * @param WC_Email $email The email object. * @since 2.5.0 * * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
<div class="email-introduction"> <p><?php echo esc_html__( 'Woo! Some items you purchased are being fulfilled. You can use the below information to track your shipment:', 'woocommerce' ); ?></p> </div>
<?php
/** * Hook for the woocommerce_email_fulfillment_details. * * @since 10.1.0 * @param WC_Order $order The order object. * @param Fulfillment $fulfillment The fulfillment object. * @param bool $sent_to_admin Whether the email is sent to admin. * @param bool $plain_text Whether the email is plain text. * @param WC_Email $email The email object. * * @hooked WC_Emails::fulfillment_details() Shows the fulfillment details. */ do_action( 'woocommerce_email_fulfillment_details', $order, $fulfillment, $sent_to_admin, $plain_text, $email );
/** * Hook for the woocommerce_email_fulfillment_meta. * * @param WC_Order $order The order object. * @param Fulfillment $fulfillment The fulfillment object. * @param bool $sent_to_admin Whether the email is sent to admin. * @param bool $plain_text Whether the email is plain text. * @param WC_Email $email The email object. * @since 10.1.0 * * @hooked WC_Emails::order_meta() Shows fulfillment meta data. */ do_action( 'woocommerce_email_fulfillment_meta', $order, $fulfillment, $sent_to_admin, $plain_text, $email );
/** * Hook for woocommerce_email_customer_details. * * @param WC_Order $order The order object. * @param bool $sent_to_admin Whether the email is sent to admin. * @param bool $plain_text Whether the email is plain text. * @param WC_Email $email The email object. * @since 2.5.0 * * @hooked WC_Emails::customer_details() Shows customer details * @hooked WC_Emails::email_address() Shows email address */ do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
/** * Show user-defined additional content - this is set in each email's settings. */ if ( $additional_content ) { echo '<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td class="email-additional-content">'; echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) ); echo '</td></tr></table>'; }
/** * Hook for the woocommerce_email_footer. * * @param WC_Email $email The email object. * @since 2.5.0 * * @hooked WC_Emails::email_footer() Output the email footer */ do_action( 'woocommerce_email_footer', $email );
|