Docly Child

Send Shipment status email notifications to Admin

Overview

TrackShip for WooCommerce automatically notifies customers when the shipment status of their orders changes.
By default, these notifications are only sent to customers. However, if you also want to send these notifications to your store admin (or multiple team members), you can easily enable it using a simple code snippet.

Step-by-Step Instructions

You’ll need to add the code snippet to your theme’s functions.php file, located at:

/wp-content/themes/your-active-theme/functions.php

Alternatively, you can add it using a Code Snippets plugin to avoid editing theme files directly.

This snippet adds the admin’s email address to the list of recipients for all (or specific) shipment status notifications — ensuring both the customer and admin receive updates.

Shipment Status reference

You can replace the status slug in the code above with any of the following shipment statuses to trigger admin notifications for specific shipment updates.

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