Docly Child

Send Shipment status email notifications to Admin

Overview

TrackShip for WooCommerce allows you to notify customers automatically when the shipment status of their orders changes. By default, these notifications are only sent to customers, but if you would like to also send them to the admin, we have a simple solution.

Step-by-Step Instructions

This code snippet appends the admin’s email address to the recipient list for the shipment status notifications. Both the customer and the admin will receive the email notifications for all shipment statuses.

Shipment Status reference

The following are the shipment status slugs that can be used in the code snippet above to trigger email notifications for both customers and the admin:

Shipment StatusSlug
In Transitin_transit
Available for Pickupavailable_for_pickup
Out for Deliveryout_for_delivery
Delivery Failurefailure
On Holdon_hold
Exceptionexception
Return to Senderreturn_to_sender
Delivereddelivered

Please note: Incorrect editing of the functions.php file can cause your WordPress site to crash, leading to potential downtime and data loss. If you’re uncomfortable modifying the functions.php file directly, consider using a dedicated code snippets plugin, or seek assistance from a professional developer.

Download Now

CONTENTS