SMSTunnel for WooCommerce

外掛說明

SMSTunnel for WooCommerce extends the SMSTunnel plugin with WooCommerce-specific features. Send SMS notifications to customers when their order status changes, and get instant alerts for new orders.

Requires SMSTunnel Plugin

This addon requires the main SMSTunnel plugin to be installed and configured first.

Key Features

  • Order Status Notifications – Automatically send SMS when orders are pending, processing, completed, or cancelled
  • Customer Notifications – Keep customers informed about their order progress
  • Admin Alerts – Get instant SMS alerts when new orders are placed
  • Custom Messages – Define your own message templates with order placeholders
  • Low Stock Alerts – Receive SMS when product stock is running low
  • WooCommerce Settings Tab – All settings conveniently in WooCommerce > Settings > SMS
  • HPOS Compatible – Works with WooCommerce High-Performance Order Storage

Message Placeholders

Use these placeholders in your message templates:

  • {order_number} – Order ID
  • {order_status} – Current order status
  • {order_total} – Order total amount
  • {customer_name} – Customer’s full name
  • {customer_first_name} – Customer’s first name
  • {site_name} – Your website name

Supported Order Statuses

  • Pending Payment
  • Processing
  • On Hold
  • Completed
  • Cancelled
  • Refunded
  • Failed

Admin Features

  • Send SMS to customers directly from the order page
  • View SMS history in the order notes
  • Manual SMS button on each order

External Services

This plugin relies on the SMSTunnel service to deliver SMS messages. When an order status changes or an admin sends an SMS, the recipient phone number and message content are transmitted to the SMSTunnel API.

  • Service: SMSTunnel.io (NARBOWEB SRL)
  • Service URL: https://smstunnel.io
  • Data sent: Phone number, SMS message content, order metadata
  • Privacy Policy: https://smstunnel.io/privacy
  • Terms of Service: https://smstunnel.io/terms

螢幕擷圖

安裝方式

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 5.0 or higher
  • PHP 7.4 or higher
  • SMSTunnel plugin (main plugin) must be installed and configured

Automatic Installation

  1. Ensure SMSTunnel main plugin is installed and connected to your phone
  2. Go to Plugins > Add New in your WordPress admin
  3. Search for “SMSTunnel for WooCommerce”
  4. Click “Install Now” and then “Activate”

Manual Installation

  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin
  3. Upload the zip file and click “Install Now”
  4. Activate the plugin

Configuration

  1. Go to WooCommerce > Settings > SMS
  2. Enable the notifications you want to send
  3. Customize message templates as needed
  4. Set your admin phone number for new order alerts

常見問題集

Do I need the main SMSTunnel plugin?

Yes, this is an addon that requires the SMSTunnel main plugin to be installed and configured with your Android phone.

Can I customize the SMS messages?

Yes! Each notification type has its own message template that you can customize. Use placeholders like {order_number} and {customer_name} to personalize messages.

Which phone number is used for customers?

The plugin uses the billing phone number from the WooCommerce order. Make sure customers provide valid phone numbers at checkout.

Can I send SMS manually from an order?

Yes, there’s a “Send SMS” meta box on each order page where you can compose and send a custom message to the customer.

Is it compatible with HPOS?

Yes, the plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS).

Does it work with subscription orders?

The plugin works with any WooCommerce order status change, including those from subscription plugins.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈SMSTunnel for WooCommerce〉的開發相關工作。

參與者

將〈SMSTunnel for WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.3

  • Moved admin JavaScript from assets/js/ to js/ folder (assets/ is reserved for WordPress.org directory assets)

1.0.2

  • Added load_plugin_textdomain for proper internationalization
  • Added External Services disclosure for WordPress.org compliance
  • Fixed uninstall cleanup to delete correct option keys
  • Fixed .html() XSS in admin JS – now uses .text()
  • Added return after wp_send_json_error permission checks
  • Regenerated .pot translation file

1.0.1

  • Security: Moved inline JavaScript to external file for WordPress.org compliance
  • Code: Using wp_localize_script instead of wp_add_inline_script

1.0.0

  • Initial release
  • Order status change notifications
  • Customer SMS notifications
  • Admin new order alerts
  • Low stock notifications
  • Custom message templates with placeholders
  • Send SMS from order page
  • HPOS compatibility