Skip to main content
Install app

    Storefront

    Storefront and checkout blocks

    The Order via WhatsApp, Stock Notification and OTP order confirmation blocks for your store and checkout.

    Besides the chat button, WhatFlow adds blocks you can place on your product pages, your Thank you page and your Order status page.

    The blocks

    Block name in the editorWhere it goesWhat it doesFeature page
    Order via WhatsAppProduct page (theme editor)A button that opens WhatsApp with an order message for the product.This page
    Stock NotificationProduct page (theme editor)Lets shoppers ask for a WhatsApp alert when a sold-out variant is back.Back in stock
    WhatsApp order confirmationThank you page and Order status page (checkout editor)Customers confirm their order with a code sent to WhatsApp.OTP verification

    WhatFlow also has blocks for your Shopify admin (order, draft order, abandoned checkout and customer pages) that your team uses to send messages by hand. Those are covered in Manual messaging.

    Order via WhatsApp

    A button on product pages. When a shopper taps it, WhatsApp opens with a message that names the product, variant, quantity and price, ready to send to your number. The shopper sends it themselves, so it doesn't use your plan's messages.

    The button sends chats to the number in WhatsApp Phone Number on the WhatsApp Chat Button page. See Chat button.

    Add the button

    1. Save your number

      On Home, click Configure Chat Button. Enter your WhatsApp Phone Number and save. Make sure Enable Order via WhatsApp is on.

    2. Add the block

      Under Order via WhatsApp Button, click Add to product page. The theme editor opens on your product template. Add the Order via WhatsApp block where you want it, usually near the buy button, and click Save.

    3. Check it

      On Home, the WhatsApp Chat Button card shows Order via WhatsApp block as On product page.

    Button text

    Button Main LabelDefault: Order via WhatsApp

    The text on the button.

    Subtext / Secondary Label

    "Optional small text below main label".

    Prefilled Message PatternDefault: Hi, I would like to order {quantity}x {product_title} ({variant_title}) for {total_price}. Link: {product_url}

    The message typed in WhatsApp. You can use {product_title}, {variant_title}, {quantity}, {total_price}, {price_each} and {product_url}.

    Open Chat in New TabDefault: On

    Opens WhatsApp in a new browser tab.

    Button look

    SettingDefaultOptions
    Show IconOn
    Custom Icon ImageWhatsApp iconUpload your own.
    Icon PositionLeft of textLeft of text, Right of text
    Icon Size22 px16–36 px
    SVG Icon Color#FFFFFF
    Background Color#07B850
    Hover Background Color#069C43
    Text Color#FFFFFF
    Border Color, Border WidthNone, 0Width 0–6
    Button ShapeRounded rectanglePill, Rounded rectangle, Square
    Shadow StyleBrand GreenNone, Soft, Medium, Brand Green, Strong
    Button Height48 px38–68 px
    Main Label Font Size15 px12–22 px
    Font WeightSemiboldRegular, Medium, Semibold, Bold
    Text CaseNormalNormal, UPPERCASE, Capitalize Words
    Full Width ButtonOn
    Alignment (when not full width)LeftLeft, Center, Right
    Show on Mobile Devices, Show on Desktop DevicesOn
    Enable Pulse AnimationOff
    Enable Lift On HoverOn
    Margin Top, Margin Bottom12 px0–50 px

    What the customer sees

    Hi, I would like to order 2x Linen Shirt (Blue / M) for $58.00. Link: https://your-store.com/products/linen-shirt

    Stock Notification

    A block for the product page that appears when the selected variant is sold out. Shoppers enter their name and WhatsApp number to ask for an alert. When the variant is back in stock, WhatFlow sends your Back in Stock template.

    Add the stock block

    Open Home › Back in Stock. In Product page button, click Add to product page, place the Stock Notification block on your product template and save. The badge shows Not added, Hidden (in the theme but turned off) or On your product page.

    Stock block text

    SettingDefault
    Out of Stock TitleOut of stock
    Out of Stock BodyThis item is currently unavailable. Get notified when it is back in stock.
    Button TextNotify me when back in stock
    Button Text When SubscribedYou're Subscribed!
    Form HeadingGet notified when this item is back in stock
    Name Field LabelName *
    Phone Field LabelPhone Number *
    Default Country Code Prefix (e.g. +57)+57
    Phone Input Placeholder+57 300 123 4567
    Submit Button TextSubmit request
    Cancel Button TextCancel
    Success MessageWe'll notify you as soon as this item is back in stock.
    Already Subscribed MessageYou're already subscribed to receive back in stock alerts for this item.
    Error Label, Error MessageError: / Something went wrong. Please try again later.
    Show Phone Number Field, Show Name FieldOn

    There are also colour, border, corner radius, padding, shadow, alignment, font size and button style settings. Full details of how requests and alerts work are in Back in stock.

    WhatsApp order confirmation (OTP)

    A checkout block for OTP verification. After placing an order, the customer enters their WhatsApp number, gets a 6-digit code on WhatsApp and types it in to confirm the order. WhatFlow then tags the order.

    You can place it in two places:

    • Thank you page: "After placing an order. Works on every plan, and you can move it anywhere on the page."
    • Order status page: "When customers come back to their order. Shows whether it's confirmed, or lets them confirm it."

    The block only shows on orders that match the Which orders settings on the OTP page.

    Add the OTP block

    Open Home › OTP Order Confirmation. Under Where customers confirm, click Add to Thank you page or Add to Order status page. Shopify's checkout editor opens. Place the WhatsApp order confirmation block and save. Each place shows Added or Not added.

    OTP block text

    Every text can be changed in the checkout editor. Leave a field blank to use the default, which is translated for each customer into Arabic, Chinese (Simplified and Traditional), Dutch, French, German, Hindi, Italian, Japanese, Portuguese (Brazil), Spanish and Turkish.

    SettingDefault text
    HeadingConfirm your order
    SubheadingWe'll send a 6-digit code to your WhatsApp. Enter it here to confirm your order.
    Send code button labelSend code on WhatsApp
    Confirm button labelConfirm order
    Success headingOrder confirmed
    Success messageThank you! Your order is confirmed.
    Already confirmed headingOrder confirmed
    Already confirmed messageThis order has already been confirmed.
    Phone number labelWhatsApp number
    Code sent messageWe sent a 6-digit code to the customer's number on WhatsApp. Enter it to confirm your order.

    Troubleshooting

    ProblemWhat to do
    Order via WhatsApp button doesn't appearCheck that a WhatsApp Phone Number is saved, Enable Order via WhatsApp is on, and the block is on the product template of your live theme.
    Stock Notification doesn't appearIt only shows on sold-out variants. Check the badge on the Back in stock page.
    "Invalid phone number. Please include the country code."The shopper's number needs a country code. Set the right Default Country Code Prefix.
    OTP block missing on the Thank you pageAdd the block in the checkout editor, and check that the order matches the payment filters on the OTP page.

    Start theconversation.

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

    Install WhatFlow on ShopifySee pricing