Black Friday Sale: up to 80% off every Pro plan

Ends Dec 15 at 6:59 pm EST. See pricing

WhatsApp Message Variables: Pre-filled Messages that Fit the Page

Put the page, the date, the product or the visitor’s form answers into the WhatsApp message automatically, so you know where they came from and what they want. Variables are in the free version.

The chat in the bottom corner of this page is the real Chat Help plugin with the Message Variables layout.

Your template

Hi! I’m asking about {productName}, SKU {productSku} ({productStockStatus}).

What arrives in WhatsApp, from the demo product Golden Lamps

Hi! I’m asking about Golden Lamps, SKU CH-LAMP-01 (In stock).

Reference

Every variable

Use them in pre-filled messages, form templates and WooCommerce messages. Insert them from the Insert variable menu next to each message field.

VariableWhat it sendsWhere
{siteTitle}Site titleAll messages
{siteURL}Site addressAll messages
{siteEmail}Site admin emailAll messages
{currentTitle}Title of the page the visitor is onAll messages
{currentURL}Address of that pageAll messages
{date}Today’s date, in your site’s formatAll messages
{time}The time the message is sentAll messages
{ip}Visitor’s IP addressAll messages
{name}, {your_email} …A form answer, by its field labelForm layouts
{form_fields}All form answersForm layouts
{agentMessage}What the visitor typed in the Pre-Chat Message boxPre-Chat Message
{productName}Product nameWooCommerce
{productSku}SKUWooCommerce
{productSlug}Product slugWooCommerce
{productPrice}Current priceWooCommerce
{productRegularPrice}Regular priceWooCommerce
{productSalePrice}Sale priceWooCommerce
{productStockStatus}In stock, Out of stock or On backorderWooCommerce
{productAttributes}Picked options with names, e.g. “Color: Red, Size: M”WooCommerce
{productAttributeValues}Picked options only, e.g. “Red, M”WooCommerce
{cartInfo}Cart items with quantity and price, subtotal, tax and totalCart and checkout
{orderInfo}Order detailsThank-you page
{shipping}Shipping detailsCheckout

How it works

What it does

  • Page and site

    {currentTitle} and {currentURL} tell you which page the visitor was on.

  • Form answers

    Each field by its label, such as {name} or {your_email}, or all of them with {form_fields}.

  • Products and orders

    Name, SKU, price, stock and the picked options; the cart’s items with subtotal, tax and total; the order.

Use cases

Who it is for

  • Know the page

    {currentTitle} tells you which page the visitor asked from.

  • Order details

    Product, cart and order details without asking for them.

  • Form answers

    The visitor’s name and question in the first message.

Set up

Set up the WhatsApp message variables in three steps

  1. Open a message field

    Any pre-filled message, form template or WooCommerce message.

  2. Insert a variable

    Use the Insert variable menu, or type it in braces.

  3. Add conditions

    Wrap text in {PRODUCT_START}…{PRODUCT_END}, {LOGGEDIN_START}…{LOGGEDIN_END} or {SALE_START}…{SALE_END}.

Step-by-step: Variables in the form layout · Variables in other layouts · WooCommerce variables

Video

Watch how it works

Add WhatsApp chat to WordPress: complete Chat Help setup guide · Watch on YouTube (opens in a new tab)

From WordPress.org

What users say

  • The plugin works perfectly and the team is very professional. I purchased the Pro version and the experience has been excellent. The plugin works perfectly and the team is very professional. I requested a couple of new features and they developed them without any issues and in a short time.

    uomiguel (opens in a new tab) on WordPress.org
  • Awesome Plugin for WhatsApp Floating Chat & WooCommerce Order. This plugin worked great for my website, Order Via WhatsApp. It also provides a floating chat icon, which is helpful as well.

    mohsinworld (opens in a new tab) on WordPress.org
  • Effective for WhatsApp Chat Support! I am using this plugin to provide support to my customers through WhatsApp. It’s really effective and they can connect with me very easily using their WhatsApp. They don’t need to save our number manually.

    firststepstogether (opens in a new tab) on WordPress.org

Read all reviews on WordPress.org (opens in a new tab)

Questions about the WhatsApp message variables

Yes, all of them.

It is sent as typed. Only your template’s variables are replaced.

Yes. Wrap it in {LOGGEDIN_START}…{LOGGEDIN_END}.

In the Insert variable menu next to each message field.

Turn visitors into WhatsApp conversations

Start free from WordPress.org. Upgrade to Pro for team chat with several agents, the Advance button, dark mode, unlimited form fields, visibility rules and webhooks.

Chat Help Demo
ThemeAtelier
Typically replies within 1 minute.