How To Use WooCommerce Shipment Tracking Plugin

How To Use WooCommerce Shipment Tracking Plugin

It is a good practice to send a link for shipment tracking to the customer with ‘order-complete-email’ by most online sellers. You can use WooCommerce Shipment tracking plugin to help your customers track their shipments from varieties shipping services. You have to just add the shipment information to an order just before changing the order status to ‘complete’. The plugin will display the tracking information in notification emails, the order tracking page, and the order view page in the customer account section.

This plugin supports custom tracking links and automatic tracking links for the following major providers:

  • Australia Post
  • Canada Post
  • SAPO
  • City Link
  • DHL
  • DPD
  • ParcelForce
  • Royal Mail
  • TNT Express (consignment)
  • TNT Express (reference)
  • Fedex
  • OnTrac
  • UPS
  • USPS

Add shipment tracking information to your orders

Tracking info on the frontend

After adding all details to an order, the tracking information will appear in emails, the order tracking page, and the order view page in their account section. To get best effect, add tracking info just before ‘completing’ an order.

WooCommerce Shipment Tracking

Installation of WooCommerce Shipment Tracking

To install and set up of this plugin. Follow the steps below:

  • Download the extension from your WooCommerce Account and save it to your Desktop/Laptop.
  • Now Log in to your WooCommerce site.
  • Go to Plugins > Add New > Upload and select the downloaded ZIP file.
  • Click on Install Now and
  • Then Activate

How to Add tracking information to orders

After activation of this plugin you’ll see a new write panel for shipment information on the edit/view order screen like the following screenshot:

WooCommerce Shipment Tracking Overview

On the blank field you have to add shipment information for the customer to view:

  • Provider: Provider is the shipping company you use. If you have no provider list, you can choose Custom provider.
  • Tracking Number: You have to ass the tracking number that the provider assigned. If you chose the custom as provider option, you need to enter the full link to the company’s tracking page.
  • Provider Name: Optionally you can add a provider name.
  • Tracking Link: You can optionally add a tracking link to see if it works as you expect.
  • Date Shipped: Add a shipping date (optional), which is when the package was shipped.
  • Save tracking: Click on save tracking to change the order status to Complete. Marking the order as Complete will send the Completed Order email to the customer with all information, including the shipment tracking code.
  • Add additional tracking numbers: You can also add additional tracking number by clicking Add Tracking Number.

Shipment Order Complete

Custom Meta Reference

The WooCommerce Shipment Tracking plugin stores the tracking information in the order meta with the meta key _wc_shipment_tracking_items. It’s an array with the following structure:

  • tracking_provider — predefined provider (String)
  • custom_tracking_provider — custom provider (String)
  • custom_tracking_link — custom tracking URL (String)
  • tracking_number — tracking number (String)
  • date_shipped — Timestamp of shipment date

Developers can use the helper function wc_st_add_tracking_number to add tracking information to an order. In the below helper function the field $custom_url is optional.

if ( function_exists( 'wc_st_add_tracking_number' ) ) {
	wc_st_add_tracking_number( $order_id, $tracking_number, $provider, $date_shipped, $custom_url );

Read More: Shipment Tracking

You may also like: How To Use WooCommerce Slack

2 Replies to “How To Use WooCommerce Shipment Tracking Plugin”

  1. Is there a way to change the table border color and the Track link color? I am using WooCommerce email customizer, and everything is working good but I want the border and text to be black and the link to be red…

Leave a Reply