WooCommerce SMS Variables

Complete reference of variables for WooCommerce SMS notifications.

Customize your WooCommerce SMS notifications using these variables.

TIP

Navigate to SMS → Integrations → WooCommerce to configure notifications.

Product Variables

Use these in new product notifications:

VariableDescription
%product_id%Product ID
%product_title%Product name
%product_url%Product page URL
%product_date%Product publish date
%product_price%Regular price
%product_sale_price%Sale price
%product_description%Product description
%product_height%Product height
%product_weight%Product weight
%product_width%Product width
%product_stock_quantity%Stock quantity
%product_availability%Stock status

Order Variables

Use these in order notifications:

VariableDescription
%order_id%Order ID
%order_number%Order number
%order_total%Order total amount
%order_total_currency%Order currency code (e.g., USD)
%order_total_currency_symbol%Order currency symbol (e.g., $)
%order_items%List of order items
%order_status%Order status (full)
%status%Order status (short)
%order_edit_url%Admin order edit URL
%order_pay_url%Payment URL
%order_view_url%Customer order view URL
%order_cancel_url%Order cancellation URL
%order_received_url%Order received page URL
%shipping_method%Shipping method

Customer Variables

VariableDescription
%billing_first_name%Customer first name
%billing_last_name%Customer last name
%billing_company%Customer company name
%billing_address%Billing address
%billing_postcode%Billing postcode
%billing_phone%Customer phone
%billing_email%Customer email
%shipping_address%Shipping address

Custom Order Meta

Access any custom order meta field:

%order_meta_{key-name}%

Examples

PluginVariable
ShipStation%order_meta_trackingNumber%
WooCommerce Shipment Tracking%order_meta_tracking_number%
Easyship%order_meta_tracking-id%

Order Item Meta

Access custom order item meta:

%order_item_meta_{key-name}%

Example Messages

New Order (Admin)

New order #%order_number% from %billing_first_name%!
Total: %order_total%

Order Shipped (Customer)

Hi %billing_first_name%, your order #%order_number% has shipped!
Track: %order_meta_tracking_number%

Low Stock Alert

Low stock alert: %product_title%
Only %product_stock_quantity% left!

WebOTP Auto-Fill

For Android browser OTP auto-fill, add to end of message:

@yourdomain.com #%code%

Last updated: December 28, 2025