How to Use Tracking Code in SMS with WooCommerce Shipment Tracking

Updated on Apr 09, 2024

In this article, we will guide you through the process of using WooCommerce Shipment Tracking to incorporate tracking codes into SMS notifications, ensuring seamless communication and efficient shipment tracking.

Generate Tracking Codes in WooCommerce Shipment Tracking:

  1. Once your shipping carriers are connected, WooCommerce Shipment Tracking will automatically sync your orders from WooCommerce.
  2. After an order is processed, WooCommerce Shipment Tracking will generate a tracking code for the shipment. This tracking code will be associated with the specific order.

Configure SMS Notifications with WP SMS Plugin:

  1. Install and activate the WP SMS plugin on your WordPress site (if you haven’t already).
  2. Navigate to the SMS → Integrations → WooCommerce within your WordPress dashboard.
  3. You have the %order_meta_{key-name}% attribute in the fields below:
    • Notify for new order,
    • Notify to customer order
    • Notify of status
    • Notify by status
  4. Since the key name of the tracking code in the WooCommerce Shipment Tracking is tracking_number, when you want to use it in the message field to be sent, you need to use %order_meta_tracking_number%

Here are some other Custom meta references in WooCommerce Shipment Tracking:

tracking_provider — String of predefined provider
custom_tracking_provider — String of custom provider
custom_tracking_link — String of custom tracking URL
date_shipped — Timestamp of the shipment date

Here is an example:

WooCommerce Shipment Tracking

By using WooCommerce Shipment Tracking and integrating tracking codes into SMS notifications with WP SMS, you can give your customers immediate updates on their shipments. This integration simplifies communication, improves transparency, and boosts customer satisfaction.