If you have Woocommerce installed, the Woocommerce tab will be shown. The Woocommerce tab allows you to configure SMS or voice call notifications for new orders and will create a ‘virtual’ group in the Messages and Group Manager tabs, containing your Woocommerce customers.
You can choose to send SMS or voice call notifications to your Woocommerce customers and to a group of JOT users (for example, a group of administrators or shop staff).
The Woocommerce settings page is split into two sections; the top section is for configuring the message sent to the customer placing the order, the lower section is for configuring the message sent to the admin group.
In the “Enter your notification message”, you can enter the format of the SMS or voice call message that will be sent to the customer placing the order. The message can contain a number of merge tags. For example
- %woo_cust_firstname% – the first name of your Woocommerce customer
- %woo_cust_lastname% – the last name of the Woocommerce customer
- %woo_cust_number% – the Woocommerce customer’s phone number.
Click here for full list of merge tags.
Select the Woocommerces order statuses that you’d like to send notifications for. Both the standard and custom statuses are shown and you can enter a notification message for each status.
These individual status messages can be included in the customer notification message by using the merge tag %woo_status_message% into the “Enter your notification message” field.
To configure the message sent to your admin group, first select the JOT group containing the people you want to notify about new WooCommerce orders, then tailor the format of the message. The admin notification can be sent as an SMS or as a voice call message.
WooCommerce virtual JOT group.
Since version 3.1.0, you no longer need to synchronize your WooCommerce customers’ details (name and the billing phone number) with an existing JOT group. Instead, a ‘virtual’ group, called “All WooCommerce Customers” will be added to the Messages and Group Manager tabs, reading the details directly from WooCommerce, meaning any changes, such as new customers, are reflected instantly in JOT, without the need to synchronize.
By default customers will completed orders will be shown in the virtual group “All WooCommerce Customers” group, however you can choose whether to include customers with orders in “on hold”, “pending” and “processing” statuses.
The virtual group will use the billing phone number, however this can be overridden using the filter ‘jot_get_woo_members_change_phonefield’, which takes the existing phone field value and a WooCommerce order object (retrieved from wc_get_order) as parameters.
e.g. $phone = apply_filters(‘jot_get_woo_members_change_phonefield’, $phone, $wc_order);