The Advanced Shipment Tracking (AST) PRO plugin integrates with the WC – APG SMS Notifications plugin to allow store owners to include shipment tracking details in SMS messages sent for the Shipped (Completed) order status.
To enable this compatibility:
- Ensure both AST PRO and WC – APG SMS Notifications plugins are installed and activated.
- Verify that both plugins are updated to their latest versions.
By default, the WC – APG SMS Notifications plugin does not include tracking details in its messages. However, with a simple code snippet, you can extend its functionality to include tracking numbers when sending SMS notifications for completed orders.
This is especially useful for keeping your customers informed about their shipments, directly through SMS.
To include tracking details in the Shipped (Completed) SMS:
- Open your WordPress theme’s functions.php file.
- Add the following code snippet:
This snippet dynamically pulls the tracking information from the AST PRO plugin and appends it to the SMS content for completed orders.