WooCommerce

WooCommerce Integration

E-commerce SMS notifications for your online store

What is WooCommerce?

WooCommerce is the world's most popular open-source e-commerce platform, built on WordPress. Powering over 5 million online stores worldwide, WooCommerce provides everything you need to sell products and services online, from payment processing to inventory management.

With its extensive plugin ecosystem and customisation options, WooCommerce is the platform of choice for New Zealand businesses of all sizes, from small boutiques to large retailers.

SMS Notifications with WooCommerce

Keep your customers informed at every stage of their order journey with SMS notifications. From order confirmation to delivery updates, text messages provide instant communication that customers actually read.

With a 98% open rate, SMS ensures your customers never miss important order updates. Reduce support enquiries, improve customer satisfaction, and build loyalty with timely, relevant order notifications.

Key Benefits

Order Confirmations

Instantly confirm orders via SMS so customers know their purchase was successful.

Shipping Updates

Notify customers when orders ship with tracking information and delivery estimates.

Abandoned Cart Recovery

Recover lost sales by reminding customers about items left in their cart.

Customer Engagement

Build relationships with personalised SMS messages and promotional offers.

Easy Integration

Simple PHP code snippet that hooks directly into WooCommerce order events.

NZ Network

Direct connections to New Zealand mobile networks for reliable, fast delivery.

Setup Instructions

Step 1: Download the Code Snippet

Download our pre-built WooCommerce integration code. This PHP file hooks into WooCommerce order events and sends SMS notifications via the WebSMS API.

Download Code Snippet (PHP)

Step 2: Configure Your Credentials

  1. Open the downloaded PHP file in a text editor
  2. Replace your-email@example.com with your WebSMS email address
  3. Replace your-password with your WebSMS password
  4. Optionally customise the SMS message templates

Step 3: Add to Your WordPress Site

Choose one of these methods to add the code to your site:

Option A: Child Theme (Recommended)

  1. Copy the code to your child theme's functions.php file
  2. Save the file and upload to your server

Option B: Code Snippets Plugin

  1. Install the Code Snippets plugin from WordPress
  2. Go to SnippetsAdd New
  3. Paste the code and save

Option C: Custom Plugin

  1. Create a new folder in /wp-content/plugins/ called websms-woocommerce
  2. Save the snippet as websms-woocommerce.php in that folder
  3. Activate the plugin in WordPress admin

Step 4: Test the Integration

  1. Place a test order on your WooCommerce store
  2. Verify you receive an SMS confirmation
  3. Update the order status to test shipping notifications
  4. Check the order notes in WooCommerce for SMS delivery status

Available Order Status Hooks

The code snippet supports these WooCommerce order events:

  • Order Placed - Triggered when a new order is created
  • Order Processing - When payment is received and order is being prepared
  • Order Shipped - When the order is dispatched for delivery
  • Order Completed - When the order is marked as delivered/complete

Common Use Cases

Order Confirmations

Instantly confirm orders with order number and total, giving customers peace of mind.

Shipping Notifications

Alert customers when their order ships with tracking details and estimated delivery.

Delivery Updates

Notify customers when their order has been delivered or is ready for pickup.

Back in Stock Alerts

Notify customers when previously out-of-stock items become available again.

Review Requests

Follow up after delivery to request product reviews and feedback.

Abandoned Cart Recovery

Recover lost sales by reminding customers about items they left behind.

Ready to Add SMS to WooCommerce?

Sign up for a WebSMS account and start sending order notifications via SMS. Pay only for the messages you send.