The email configuration options within the “Custom Order Status for WooCommerce” plugin (pro version).
Here’s a breakdown of what you can do
Enabling Email Notifications
- This section allows you to enable email notifications for custom order status changes. By default, it might be disabled.
Configuring Email Templates
Once enabled, you can configure email templates for each custom status transition.
Here’s what you can customize for each template
- Statuses: Select which custom statuses will trigger this email notification (e.g., email sent when order moves from “Processing” to “Completed”).
- Email Address: Define who receives the email. Use {customer_email} for the customer’s billing email or {admin_email} for the admin email. You can likely add multiple email addresses separated by commas.
- Email Subject: Craft a dynamic subject line using replaced values like {order_id}, {order_number}, {status_from}, and {status_to}. You can also include shortcodes for additional information.
- Email Heading: Similar to the subject, create a dynamic heading using replaced values.
- Email Content: This is the main body of the email. You can use various shortcodes to personalize the content with information like order details, customer information, product details, and even custom meta fields.
Shortcode Reference
The plugin provides a reference for some commonly used shortcodes
- {order_id}: Order ID number
- {order_number}: Order number assigned by the store
- {order_date}: Date and time the order was placed
- {order_details}: Includes product details, billing address, and shipping address
- {first_name}: Customer’s first name
- {last_name}: Customer’s last name
- {billing_address}: Customer’s billing address
- {shipping_address}: Customer’s shipping address
- {custom_field_(meta-key)}: Use this for custom meta fields by replacing (meta-key) with the actual meta key name.