Docs SMS for WooCommerce How to include tracking details using WooCommerce Shipment Tracking ?

How to include tracking details using WooCommerce Shipment Tracking ?

SMS for WooCommerce is fully compatible with the WooCommerce Shipment Tracking extension — you can include the shipping provider, tracking number and a tracking link in any order-status SMS message.

Requirements

Requires the WooCommerce Shipment Tracking extension and SMS for WooCommerce to both be installed and active on your site.

Setup Instructions

  • Activate WooCommerce Shipment Tracking.
  • Go to WooCommerce → SMS Settings → SMS Notifications and enable the message for the order status you add tracking on — typically Completed.
  • Edit that status’s SMS message.
  • Insert shipment placeholders like {tracking_provider}, {tracking_number}, and {tracking_link}.
  • Add the tracking number to the order from Edit Order → Shipment Tracking as usual — the next SMS for that status will carry the real values.
  • Save your changes.

Available Placeholders for Shipment Tracking

Use the following variables to dynamically add order information to your SMS messages. If more than one tracking number is saved on the order, each placeholder lists every value comma-separated.

  • {tracking_provider} (also available as {shipping_provider}) – the shipping provider for the tracking number
  • {tracking_number} – the tracking numbers for the order
  • {tracking_link} – the tracking link for the order

Troubleshooting

  • Placeholders come through empty – tracking must be added to the order before the SMS for that status sends; adding it afterwards won’t retroactively update an SMS that already went out.
  • Both this plugin and Advanced Shipment Tracking are active – if AST is also installed and active, its tracking data takes precedence for these placeholders; deactivate whichever plugin you’re not using for tracking to avoid confusion.
  • No SMS sent at all – confirm SMS notifications are enabled for the order status you use and that your SMS gateway is configured under WooCommerce → SMS Settings → Settings.

See the full list of supported integrations on the Compatibility page, or use Advanced Shipment Tracking if you need multi-carrier tracking pages.