PrestaShop
PrestaShop SMS notifications from your own number
Text PrestaShop customers when their order is shipped, delivered or canceled, from your own Android phone and number. Free module for PrestaShop 8.1 to 9.
By NARBOWEB SRL, the company behind SMSTunnel Published 4 min read
PrestaShop emails your customers about their orders, but a text is what they read first: that the parcel is on its way, that it was delivered, or that the order was canceled. The usual way to add texts is an SMS API provider, where you rent a number and pay for every message.
The free SMSTunnel module takes a simpler route. Your shop hands each order text to your SMSTunnel account, and the SMSTunnel app on your own Android phone sends it from your own number, on your own SIM and mobile plan. Customers see a number they know, and their replies reach your phone.
How it works
- An order comes in, or you change an order’s status in the back office.
- The module writes the text from your template, in the language of the order, and hands it to your SMSTunnel account.
- The SMSTunnel app on your phone sends it as a normal SMS from your number.
Each text goes to one number. If your phone is offline for a while, the texts wait in your account and go out when it is back online.
What you need
- PrestaShop 8.1, 8.2 or 9, with PHP 7.2.5 or newer
- An Android phone with a SIM card, which stays on and online
- The SMSTunnel app from Google Play, signed in to your SMSTunnel account (the Free plan needs no credit card)
- The free SMSTunnel module,
smstunnel.zip, from its GitHub release
Step 1: Get your key
In your SMSTunnel dashboard, open Apps → Add an app, pick PrestaShop, name it after your shop and click Create the key. Copy the key right away: it is shown only once. The dashboard then shows the next steps with your key in them and the download link of the module.
Step 2: Install the module
In your back office, open Modules → Module Manager, click Upload a module and choose smstunnel.zip. When it is installed, click Configure.
Step 3: Fill in the settings
The module’s page has four parts, each saved with its own Save button:
- API key: the key from step 1. Once saved, only its start and end are shown.
- Phone ID: optional. Leave it empty to send from any of your phones.
- Text me about new orders: yes, with Your numbers: one or more, at most 5, in international format such as
+33612345678. - Text customers about their orders: yes, then tick the statuses under When the order status becomes. Shipped, Delivered and Canceled are ticked when you install it.
Step 4: Send yourself a test text
Once the key is saved, the top of the module’s page lists your phones, online or offline. Type your number in Send a test text to and click Send a test text: your phone texts “This is a test text from Your Shop. Your order texts will come from this phone.”
The texts
| When | Suggested text |
|---|---|
| New order, to you | {shop_name}: new order {order_reference} from {firstname} {lastname}, {total_paid}. |
| Shipped | Hello {firstname}, your order {order_reference} from {shop_name} is on its way. {tracking_url} |
| Delivered | Hello {firstname}, your order {order_reference} from {shop_name} has been delivered. Thank you! |
| Canceled | Hello {firstname}, your order {order_reference} from {shop_name} has been canceled. Reply to this text if you have any questions. |
| Payment accepted, if you tick it | Hello {firstname}, we have received your payment of {total_paid} for order {order_reference}. Thank you for shopping at {shop_name}! |
| Any other status, if you tick it | Hello {firstname}, your order {order_reference} from {shop_name} is now: {status}. |
Each suggestion comes in the language of the order: English, French, German, Spanish, Italian or Romanian. You can reword every text for each of your shop’s languages, up to 1600 characters. {tracking_url} is the carrier’s tracking link with the order’s tracking number in it, and {tracking_number} the number alone.
Built for real shops
- A text never stops an order. A text waits at most 8 seconds for SMSTunnel. If SMSTunnel can’t be reached, the order goes through, the text is marked as not sent with the reason, and Send again sends it later.
- Numbers that work. The text goes to the mobile number of the delivery address, then its phone, then the invoice address, completed with the country’s calling code:
06 12 34 56 78on a French address becomes+33612345678. Premium-rate numbers, short codes and satellite networks are never texted. - Never twice. Each text goes out once per order and status, even when PrestaShop runs the same step twice.
- GDPR. With PrestaShop’s GDPR module, a customer’s data export lists the texts about their orders, and deleting the customer removes them from the module’s log.
Questions
Do I need a special SIM or number? No. The texts leave from the phone and SIM you already have.
What does a text cost? SMSTunnel charges no per-message fees: your texts go out on your own mobile plan. The Free plan needs no card, and the monthly plans are on the pricing page.
What does SMSTunnel receive from my shop? The number and the words of each text, nothing else.
Is the code open? Yes. The module is MIT-licensed and on GitHub.
Send only texts your customers expect from your shop: order updates, not unsolicited messages.
See also
More from the blog
Try it with your own phone
Install the Android app, sign in, and your own software can send its first text in a few minutes. The Free plan needs no credit card.