AST Tracking per Item is a paid add-on for Advanced Shipment Tracking for WooCommerce that attaches tracking information to individual items instead of the whole order. With the SMS Alert WordPress plugin, a customer can receive an SMS when tracking information is added, showing the tracking number, the carrier, the tracking link and, with AST Pro, the items that shipped. This helps when an order ships in several parts.

This feature is part of the SMS Alert WordPress plugin. New to it? See the WordPress SMS plugin setup guide.

Supported tracking plugins

Tracking plugin

Variables available

Advanced Shipment Tracking (with or without AST Tracking per Item)

[tracking_number], [tracking_provider], [tracking_link], [date_shipped]

AST Pro

The same, plus [shipped_item_name] and [shipped_item_name_qty]

WooCommerce Shipment Tracking

[tracking_number], [tracking_provider], [tracking_link]

AfterShip

[aftership_tracking_number], [aftership_tracking_provider_name], [aftership_tracking_url]. See AfterShip shipment tracking SMS.

Before you start

  • Install and activate WooCommerce, Advanced Shipment Tracking and the AST Tracking per Item add-on.
  • Install and activate the SMS Alert plugin and connect your SMS Alert account.
  • Keep SMS credits in your account. Every SMS uses credits.
  • On India routes, the message text must match an approved DLT template. See Convert into DLT Template.

How to set up tracking SMS

  1. In the WordPress dashboard, open the SMS Alert menu under WooCommerce and go to Customer Notifications.
  2. Find the order status that you use when an order is shipped, such as Shipped or Partially Shipped.
  3. Enable that status and edit its SMS text.
  4. Click the tracking variables to insert them, for example [tracking_number] and [tracking_link].
  5. Click Save Changes.

To test, add a tracking entry to a test order and check that the SMS arrives with the tracking details.

Tracking variables

Variable

Replaced with

[tracking_number]

The tracking number

[tracking_provider]

The carrier name

[tracking_link]

The tracking link

[date_shipped]

The shipped date. Add a format, for example [date_shipped format="d M Y"]. The default is “F j, Y”.

[shipped_item_name]

The name of the shipped product (AST Pro only)

[shipped_item_name_qty]

The shipped product name with its quantity (AST Pro only)

An example message:

Hello [billing_first_name], [shipped_item_name_qty] from order #[order_id] has shipped via [tracking_provider]. Tracking: [tracking_number] [tracking_link]

Partial shipments: which tracking entry is used

If an order has several tracking entries, Advanced Shipment Tracking and AST Pro use the most recently added one. Each SMS therefore reflects the latest shipment and, with AST Pro, the items in it. WooCommerce Shipment Tracking uses the first entry on the order.

Troubleshooting

Problem

What to check

Two SMS arrive for a partial shipment

AST Per Item adds the tracking information and then changes the order status to Partially Shipped, which triggers two events. Disable the Partially Shipped SMS in Customer Notifications so only one SMS is sent when tracking is added.

The Completed order status is missing

Advanced Shipment Tracking can rename Completed to Shipped. Go to WooCommerce, Shipment Tracking, Order status, disable Rename the “Completed” Order status label to “Shipped” and save.

A tracking variable appears as text

The matching tracking plugin is not active, or you used a variable from another plugin. Check the table above.

The SMS shows the wrong shipment

The latest tracking entry is used. Check the order’s tracking list.

No SMS is sent

Confirm the status is enabled and saved, credits are available and the order has a billing phone number.

The SMS is rejected on India routes

The text does not match your approved DLT template. See Template Mismatch Error.

Frequently asked questions

What is AST Tracking per Item?

A paid add-on for Advanced Shipment Tracking for WooCommerce that adds tracking information per item rather than per order.

Yes. With the add-on installed, an SMS can be sent when tracking is added, so customers know which product shipped, even on partially shipped orders.

The add-on adds tracking information and then updates the status to Partially Shipped, so two events fire. Disable the Partially Shipped SMS in Customer Notifications.

The shipment tracking plugin can rename Completed to Shipped. Disable the rename option under WooCommerce, Shipment Tracking, Order status.

[tracking_number], [tracking_provider] and [tracking_link]. AST Pro also adds [shipped_item_name] and [shipped_item_name_qty]. See the table above.

Yes, with AfterShip’s own variables. See AfterShip shipment tracking SMS.

Yes.

Still can't find the solution for your Query?

Contact Support