WooCommerce: order and shipping SMS
Updated:
The SMS Portal|app plugin reacts to events in your WooCommerce shop. The customer gets an SMS from your phone, and you write no code.
WooCommerce events
In the rule editor choose the WooCommerce plugin, then one of the events:
- WooCommerce: new order.
- WooCommerce: order status changed to "…". There is one event for every status: Completed, On hold, Cancelled, and also statuses added by other plugins.
Events of the same plugin sit under one heading, so you pick the status from a list.
Order variables
You can fill the text with data from the order:
- First name, Last name, Order number, Order total, Order status, Store name, Order link,
- Tracking number, Carrier, Tracking link.
The plugin takes shipment data from Advanced Shipment Tracking, WooCommerce Shipment Tracking or ShipStation. Without one of them these three variables stay empty. An empty variable disappears from the text and the SMS still goes.
Example rule for the status "Completed":
Hi {first_name}, the parcel for order {order_number} is on its way. Tracking: {tracking_link} {store_name}
How it works
- A customer places an order, or you change its status.
- The plugin takes the phone number from the order and puts the text in a queue.
- The SMS goes out in the background, so checkout does not slow down.
- Each event sends at most one SMS. Setting the same status twice does not send another.
If the number in the order is not valid, the SMS is not sent, and the plugin notes it in the Log.
Customer replies
When a customer replies to an order SMS, the reply goes to the order as a private note: "SMS reply from the customer: …". A STOP reply turns off further SMS to that number. Details: customer replies and STOP.
Safety limits
SMS to numbers typed by customers (also in guest checkout) go only to allowed countries. To one number at most 3 SMS an hour and 10 in 24 hours go out. A stopped SMS has the status "Stopped by the safety limit" and the reason under Sent. Add countries in Settings.
What next
The rules shared by all events (variables, counter, test) are in rules.
Related guides
Didn’t find the answer? Contact us