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.

Shipment Statuses List

Below is the list of shipment statuses that you can notify customers (and admin) about:

  • in_transit: In Transit.
  • available_for_pickup: Available For Pickup.
  • out_for_delivery: Out For Delivery.
  • failure: Delivery Failure.
  • on_hold: On Hold.
  • exception: Exception.
  • return_to_sender: Return To Sender.
  • delivered: Delivered.

Step-by-Step Instructions

  1. Enabling Shipment Status Email Notifications for Customers
    • Ensure that the Shipment Status Email Notifications feature is enabled for your customers.
    • Navigate to TrackShip > Settings > Notifications.
    • Go to the Email Notifications tab.
    • Enable the notification options for the shipment statuses listed above that you want to notify your customers about.
  2. Sending Shipment Status Emails to Admin
    • If you wish to send the same shipment status emails to the admin, you can achieve this by adding a custom code snippet to your website.Add the following code snippet to your theme’s functions.php file or the Code Snippets plugin:

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 enabled in your settings.

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