Skip to main content

List of Available Fixed WooCommerce Variables in Wati

Updated over a week ago

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. They help you personalize your WhatsApp messages without entering details manually.

2. Where does Wati get the information for these variables?

→ Wati fetches the information directly from the customer's WooCommerce order details.

3. Do I need to configure these variables manually?

→ No, these variables are ready-to-use. Wati automatically retrieves the relevant information from your WooCommerce store.

List of Available Variables

4. What variables are available when I integrate WooCommerce with Wati?

→ The available variables are:

  • shop_name

  • abandoned_checkout_url

  • abandoned_checkout_url_partial_variable

  • order_status_url

  • order_status_url_partial_variable

  • order_number

  • discount_code

  • total_price

  • shop_whatsapp

  • shop_whatsapp_url

5. What is the difference between abandoned_checkout_url and abandoned_checkout_url_partial_variable?

abandoned_checkout_url provides a full, ready-to-use checkout link for the customer, while abandoned_checkout_url_partial_variable provides only a partial link, usually for advanced or custom use cases.

6. What is the difference between order_status_url and order_status_url_partial_variable?

order_status_url provides a complete link for customers to track their order, whereas order_status_url_partial_variable gives a partial link intended for advanced configurations.

Using Variables in Wati

7. How do I use WooCommerce variables in Wati message templates?

→ Simply insert the variables in the message template using double curly braces — for example, ####{{order_number}}. Wati will replace them with the actual data when the message is sent.

8. Can I use these variables in quick replies?

→ Yes, you can use the same variables in quick replies during live chats with customers to provide instant and personalized responses.

9. How do I make sure the variables are working correctly?

→ Always test your message templates before using them. This ensures that variables display the correct customer information.

Troubleshooting

10. What should I do if a variable doesn't display correctly in my message?

→ Check that you have used the correct variable format — always enclose the variable name in double curly braces like ####{{variable_name}}. Also, make sure the WooCommerce integration is properly connected.

Did this answer your question?