Skip to main content

List of available fixed WooCommerce Variables in Wati

Updated this week

Summary

When you integrate Wati with your WooCommerce store, you can use a set of ready-to-use variables to personalize your WhatsApp messages. These variables automatically pull information from WooCommerce orders, so you don’t have to enter customer details manually every time.

This article explains what these variables are and how you can use them in your message templates or quick replies.

Instructions

What are WooCommerce Variables in Wati?

WooCommerce variables in Wati are placeholders that automatically fetch customer and order information from your WooCommerce store. When you send a WhatsApp message using these variables, Wati replaces them with the actual data from the customer’s order.

For example, if you use the variable order_number in your message template, it will display the customer’s real order number when the message is sent.

List of available WooCommerce Variables

Here’s the complete list of WooCommerce variables you can use with Wati:

Variable

What It Shows

shop_name

Your WooCommerce store name

abandoned_checkout_url

Direct link for the customer to complete their abandoned checkout

abandoned_checkout_url_partial_variable

Partial link for abandoned checkout (used in advanced cases)

order_status_url

Direct link for the customer to check their order status

order_status_url_partial_variable

Partial link for order status (used in advanced cases)

order_number

The customer’s WooCommerce order number

discount_code

Any discount code applied to the order

total_price

The total price of the customer’s order

shop_whatsapp

Your store’s WhatsApp contact number

shop_whatsapp_url

Direct link to open your store’s WhatsApp chat

How to use WooCommerce Variables

You can use these variables in two main ways:

1. In Message Templates

When creating automated message templates (like abandoned cart reminders or order confirmations), simply insert the variables where you want dynamic information to appear.

For example:

Hi there! You left some items in your cart.  Complete your purchase here: {{abandoned_checkout_url}}

Wati will automatically replace {{abandoned_checkout_url}} with the customer’s unique checkout link.

2. In Quick Replies

You can also use variables when sending quick replies in live chats with customers. This helps you respond faster with accurate order information.

For example:

Your order number is {{order_number}}. You can track it here: {{order_status_url}}

Things to remember

  • You don’t need to set up these variables manually - Wati fetches them directly from WooCommerce.

  • Always use the variable format {{variable_name}} when adding them to templates or messages.

  • Test your message templates to ensure variables are displaying correctly before sending them to customers.

Frequently Asked Questions (FAQs)

General Questions

1. What are WooCommerce variables in Wati?

WooCommerce variables in Wati are placeholders that automatically pull customer and order information from your WooCommerce store and insert it into WhatsApp messages when they are sent.

2. Why should I use WooCommerce variables in WhatsApp messages?

They help you personalize messages without manual effort by automatically adding details like order number, checkout links, or total order value.

Available Variables

3. What types of information can WooCommerce variables display?

They can display store details, abandoned checkout links, order status links, order number, discount codes, total price, and your store’s WhatsApp contact details.

4. What is the difference between direct URL variables and partial variables?

Direct URL variables generate complete links in the message body, while partial variables are used in advanced cases and need to be combined with other link components.

Using Variables in Wati

5. Where can I use WooCommerce variables?

You can use them in automated message templates, such as abandoned cart reminders or order confirmations, and in quick replies during live chats.

6. How do variables work in message templates?

You insert the variable in the template using the {{variable_name}} format, and Wati replaces it with the actual order or customer data when the message is sent.

7. Can I use WooCommerce variables in quick replies?

Yes, you can use variables in quick replies to quickly share accurate order details during live customer conversations.

Setup and Best Practices

8. Do I need to configure these variables manually?

No, Wati automatically fetches the correct data from WooCommerce, so no manual setup is required.

9. What should I check before sending messages with variables?

Always test your message templates to make sure the variables are displaying correctly before sending them to customers.

Did this answer your question?