Skip to main content
Install app

    Storefront

    WhatsApp chat button

    Add a floating WhatsApp chat button to your store and set its number, look and prefilled message.

    The WhatsApp chat button is a floating button on your online store. When a shopper taps it, WhatsApp opens with a chat to your number and a message already typed. Use it to answer questions before people buy.

    Home › WhatsApp Chat Button › Configure Chat Button

    How it works

    The button is a link that opens a normal WhatsApp chat on the shopper's phone or computer. The shopper sends the message themselves. WhatFlow does not send anything through Meta's API when the button is tapped, so taps and the shopper's first message don't use your plan's messages and don't cause Meta charges.

    The number behind the button can be any WhatsApp number. It doesn't have to be the number you connected to WhatFlow. If you use your connected number, the shopper's message arrives like any other incoming WhatsApp message, for example in Live Inbox, and your auto-replies can answer it.

    The same number is used by the Order via WhatsApp button on product pages. See Theme and checkout blocks.

    The chat button has two parts:

    • Settings in WhatFlow: the WhatsApp number, and on/off switches.
    • The app embed in your theme: the look, position, greeting bubble and prefilled message. You edit these in the Shopify theme editor.

    Set it up

    1. Open the Chat Button page

      On Home, find the WhatsApp Chat Button card and click Configure Chat Button. The page is called WhatsApp Chat Button.

    2. Enter your WhatsApp number

      In WhatsApp Phone Number, choose the country and enter the number. Then click Save in the bar at the top of the page. You see "WhatsApp settings saved." The badge changes from Required to Configured.

    3. Turn on the app embed in your theme

      Under Floating Chat Button, click Enable in Theme Editor (or Open Theme Editor). In the theme editor, open App embeds, turn on WhatsApp Chat Button and click Save in the theme editor.

    4. Check the status

      Back in WhatFlow, click Re-check Status. The banner about the chat widget disappears when the embed is on. On Home, the card shows Active.

    Settings in WhatFlow

    WhatsApp Phone Number

    "Enter your store's WhatsApp number. Both the floating chat button and the product order button will direct customer chats to this number." Include the country code. The number must have 7 to 15 digits. It is required before the buttons can work: "A phone number is required to enable the WhatsApp button."

    Enable chat buttonDefault: On

    Shows or hides the floating chat button. "Customize position, greeting bubble, prefilled message, and icon in App Embeds."

    Enable Order via WhatsAppDefault: On

    Shows or hides the Order via WhatsApp button on product pages. Use Add to product page to place the block in your theme. See Theme and checkout blocks.

    Settings in the theme editor

    Open Online Store › Themes › Customize › App embeds › WhatsApp Chat Button.

    Text and behaviour

    Button labelDefault: Chat on WhatsApp

    The text on the button.

    Prefilled messageDefault: Hi, I have a question about your products: {product_url}

    The message already typed when WhatsApp opens. {product_url} is replaced with the page the shopper was on, without tracking parameters. {product_title} is replaced with the page title.

    Show greeting bubbleDefault: On

    Shows a small message next to the button.

    Greeting bubble textDefault: Need help choosing? Chat with us on WhatsApp.

    The text in the greeting bubble.

    Greeting delayDefault: 1000

    How long to wait before the greeting bubble appears, in milliseconds. 0 to 9500, in steps of 500.

    Popup Logo

    An optional logo image for the chat popup.

    Show on mobileDefault: On

    Show the button on phones.

    Show on desktopDefault: On

    Show the button on computers.

    Button positionDefault: Bottom right

    Top left, Top right, Bottom left, Bottom right, Middle left or Middle right.

    Look

    SettingDefaultRange or options
    Button height56 px44–84 px
    Automatically resize icon for mobileOn
    Desktop icon size22 px16–48 px
    Mobile icon size20 px16–40 px
    Show text labelOnOff shows only the icon.
    Icon and label spacing8 px4–18 px
    Label font size14 px12–18 px
    Label font weightSemiboldMedium, Semibold, Bold
    Button shapePillPill, Rounded rectangle, Square-ish
    Button background#07B850Any colour
    Text color#FFFFFFAny colour
    Icon color#FFFFFFAny colour
    Shadow depthBrandNone, Soft, Brand, Strong
    Enable pulse animationOn
    Custom button icon (optional)WhatsApp iconUpload your own icon.

    What the customer sees

    A green Chat on WhatsApp button in the bottom-right corner, with a greeting bubble after one second. Tapping it opens WhatsApp with this message ready to send:

    Hi, I have a question about your products: https://your-store.com/products/linen-shirt

    Good to know

    • The chat button is included in every plan.
    • The button needs the app embed to be on in your live theme. If you change themes, turn the embed on in the new theme.
    • Settings in WhatFlow (number and switches) apply to every theme. Look and text are saved per theme.

    Troubleshooting

    ProblemWhat to do
    "Chat widget is not enabled in your theme"The embed is added but turned off. Click Open Theme Editor, turn on WhatsApp Chat Button under App embeds and save. Then click Re-check Status.
    The banner says the button "has not been added to your active theme yet"Open the theme editor and add it under App embeds.
    Home shows Not ConfiguredEnter and save a WhatsApp Phone Number.
    Home shows Theme DisabledThe number is saved, but the embed is off in your live theme.
    The button doesn't show on phones or computersCheck Show on mobile and Show on desktop in the embed settings.
    WhatsApp opens the wrong numberCheck the country and number in WhatsApp Phone Number, and save.

    Start theconversation.

    Install in minutes. Free plan, no seat fees, every feature on every plan.

    Install WhatFlow on ShopifySee pricing