block
1 month ago
plain
1 month ago
admin-cancelled-order.php
1 year ago
admin-failed-order.php
7 months ago
admin-new-order.php
7 months ago
admin-payment-gateway-enabled.php
2 months ago
customer-cancelled-order.php
7 months ago
customer-completed-order.php
7 months ago
customer-failed-order.php
7 months ago
customer-fulfillment-created.php
7 months ago
customer-fulfillment-deleted.php
7 months ago
customer-fulfillment-updated.php
1 month ago
customer-invoice.php
7 months ago
customer-new-account.php
7 months ago
customer-note.php
7 months ago
customer-on-hold-order.php
7 months ago
customer-pos-completed-order.php
7 months ago
customer-pos-refunded-order.php
7 months ago
customer-processing-order.php
7 months ago
customer-refunded-order.php
7 months ago
customer-reset-password.php
7 months 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
4 months ago
email-customer-details.php
1 year ago
email-downloads.php
7 months ago
email-footer.php
7 months ago
email-fulfillment-details.php
2 months ago
email-fulfillment-items.php
1 month ago
email-header.php
2 months ago
email-mobile-messaging.php
2 years ago
email-order-details.php
1 month ago
email-order-items.php
1 month ago
email-styles.php
1 month ago
customer-fulfillment-deleted.php
97 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Customer fulfillment deleted email |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-fulfillment-deleted.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://woocommerce.com/document/template-structure/ |
| 14 | * @package WooCommerce\Templates\Emails\HTML |
| 15 | * @version 10.4.0 |
| 16 | */ |
| 17 | |
| 18 | defined( 'ABSPATH' ) || exit; |
| 19 | |
| 20 | /** |
| 21 | * Hook for the woocommerce_email_header. |
| 22 | * |
| 23 | * @param string $email_heading The email heading. |
| 24 | * @param WC_Email $email The email object. |
| 25 | * @since 2.5.0 |
| 26 | * |
| 27 | * @hooked WC_Emails::email_header() Output the email header |
| 28 | */ |
| 29 | do_action( 'woocommerce_email_header', $email_heading, $email ); ?> |
| 30 | |
| 31 | <div class="email-introduction"> |
| 32 | <p><?php echo esc_html__( 'We wanted to let you know that one of the previously fulfilled shipments from your order has been removed from our system. This may have been due to a correction or an update in our fulfillment records. Don’t worry — this won’t affect any items you’ve already received.', 'woocommerce' ); ?></p> |
| 33 | </div> |
| 34 | |
| 35 | <?php |
| 36 | |
| 37 | /** |
| 38 | * Hook for the woocommerce_email_fulfillment_details. |
| 39 | * |
| 40 | * @since 10.1.0 |
| 41 | * @param WC_Order $order The order object. |
| 42 | * @param Fulfillment $fulfillment The fulfillment object. |
| 43 | * @param bool $sent_to_admin Whether the email is sent to admin. |
| 44 | * @param bool $plain_text Whether the email is plain text. |
| 45 | * @param WC_Email $email The email object. |
| 46 | * |
| 47 | * @hooked WC_Emails::fulfillment_details() Shows the fulfillment details. |
| 48 | */ |
| 49 | do_action( 'woocommerce_email_fulfillment_details', $order, $fulfillment, $sent_to_admin, $plain_text, $email ); |
| 50 | |
| 51 | /** |
| 52 | * Hook for the woocommerce_email_fulfillment_meta. |
| 53 | * |
| 54 | * @param WC_Order $order The order object. |
| 55 | * @param Fulfillment $fulfillment The fulfillment object. |
| 56 | * @param bool $sent_to_admin Whether the email is sent to admin. |
| 57 | * @param bool $plain_text Whether the email is plain text. |
| 58 | * @param WC_Email $email The email object. |
| 59 | * @since 10.1.0 |
| 60 | * |
| 61 | * @hooked WC_Emails::order_meta() Shows fulfillment meta data. |
| 62 | */ |
| 63 | do_action( 'woocommerce_email_fulfillment_meta', $order, $fulfillment, $sent_to_admin, $plain_text, $email ); |
| 64 | |
| 65 | /** |
| 66 | * Hook for woocommerce_email_customer_details. |
| 67 | * |
| 68 | * @param WC_Order $order The order object. |
| 69 | * @param bool $sent_to_admin Whether the email is sent to admin. |
| 70 | * @param bool $plain_text Whether the email is plain text. |
| 71 | * @param WC_Email $email The email object. |
| 72 | * @since 2.5.0 |
| 73 | * |
| 74 | * @hooked WC_Emails::customer_details() Shows customer details |
| 75 | * @hooked WC_Emails::email_address() Shows email address |
| 76 | */ |
| 77 | do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); |
| 78 | |
| 79 | /** |
| 80 | * Show user-defined additional content - this is set in each email's settings. |
| 81 | */ |
| 82 | if ( $additional_content ) { |
| 83 | echo '<table border="0" cellpadding="0" cellspacing="0" width="100%" role="presentation"><tr><td class="email-additional-content">'; |
| 84 | echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) ); |
| 85 | echo '</td></tr></table>'; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Hook for the woocommerce_email_footer. |
| 90 | * |
| 91 | * @param WC_Email $email The email object. |
| 92 | * @since 2.5.0 |
| 93 | * |
| 94 | * @hooked WC_Emails::email_footer() Output the email footer |
| 95 | */ |
| 96 | do_action( 'woocommerce_email_footer', $email ); |
| 97 |