The Advanced Shipment Tracking (AST) PRO plugin is compatible with the Twilio SMS Notifications plugin for WooCommerce. This integration enables store owners to send shipment tracking details via SMS when an order status is updated to Shipped (Completed) or Partially Shipped.
To enable and use this integration, ensure the following:
- Both AST PRO and Twilio SMS Notifications plugins are installed and activated.
- You are using the latest version of both plugins for the best performance and compatibility.
By default, the Twilio SMS Notifications plugin does not include shipment tracking information in its SMS templates. However, with a custom code snippet, you can extend its capabilities to send tracking details for:
- Completed (Shipped) orders
- Partially Shipped orders
This helps you keep customers informed at every shipping milestone via SMS.
To append tracking information to your SMS messages:
- Open your current theme’s functions.php file.
- Paste the custom snippet provided below.
This snippet retrieves the tracking provider, tracking number, and shipping date from AST PRO and includes them in the Twilio SMS message for the relevant order status.