Shopify sections

A floating WhatsApp and contact button for every Shopify page

A Shopify WhatsApp button is a link fixed to a corner of the storefront that opens WhatsApp with your number and a prefilled message. The Floating Contact section in Section Store does this for free on every plan. It holds up to 6 channels from WhatsApp, phone, email, SMS, Messenger, Instagram and Telegram, shown as a button with card, a speed dial or a contact bar. It only links out: no chat script, no tracking, no cookie and no inbox.

  • The app proposes the header group as its spot, which puts the button on every page.
  • Hide on the Cart Page is on by default, so nothing sits over the way to checkout.

Last checked:

Floating Contact section rendered by Section Store with its sample content
Floating Contact as the app renders it with its sample channels and every setting at its default, in the Button + card style.

When to use it

Use it when shoppers would rather message or call than fill in a form

Use it when

  • Your customers write on WhatsApp or callPut WhatsApp and phone at the top of the Channels list. With Contact Bar on Phones turned on, phones show the first channels as a bar along the bottom. The default Prefilled Message puts the product name into the chat, so the first message already says which item it is about.
  • You want contact without a chat widgetFloating Contact links to the apps in your list and nothing else. It loads no chat script, tracking or cookie. The messaging service still processes the conversation once the shopper switches to it.
  • Your team keeps fixed hoursOutside Opening Hours offers Offline note, Show as usual or Hide the button. Hiding fits a phone number that nobody picks up at night. The offline note fits WhatsApp, where a message can wait until morning.
  • You want to start without payingFloating Contact is free on every plan. Run it with your real channels first and see how many messages come in before you look at anything heavier.

Skip it when

  • Several agents share one inboxFloating Contact is a set of links, not a chat inbox: it has no conversation history and no agents. When several people answer customers, use a helpdesk or Shopify Inbox.
  • Messages sit unanswered for hoursThe green dot and the Online now line tell shoppers someone is there. If nobody covers the channels, a contact page with a form and a stated reply time sets an honest expectation until someone does.
  • The bottom corner on phones is already fullDistance From the Bottom adds sticky add-to-cart bars, the mobile tab bar and the cookie banner automatically, but check the store on a real phone. If something still collides, move Position to Bottom left, or list product in Never On so the button stays off the pages where a sticky add to cart bar lives.

In detail

Timing, style, message and hours decide how the button behaves

With default settings the button shows after 2 s, without waiting for a scroll. Appear After accepts 0 to 30 s. Appear After Scrolling holds the button back until the shopper has scrolled a set share of the page, from 0 to 90 %. On desktop the Button Label, Chat with us by default, sits next to the round button, and a greeting bubble shows once per visit and closes by itself.

Style picks the shape. Button + card opens a card with greeting, team name, an avatar or the team name's initials, and the channel list. Speed dial and Contact bar are the two alternatives. Contact Bar on Phones is off by default; turned on, phones get a bar of the first channels instead of the round button.

Prefilled Message is the text waiting in the chat when WhatsApp opens. The default contains the {product} placeholder, which names the product on product pages. Keep the placeholder: without it, every message reads the same and you have to ask which item the shopper means. Message Outside Product Pages fills in wherever there is no product.

Opening Hours is a single text field, days separated by a semicolon. It drives the green dot, the Online now or Back Mon 9:00 line and the offline note. Leave it empty and the button shows no hours at all. Time Zone sits next to it and starts as Not set; choose the zone in which your team keeps those hours.

On phones the label disappears and the side distance is capped at 16 px. The layout switches at breakpoints of 520, 749 and 750 px, and container queries let the section adapt to the width of its column. Motion honours prefers-reduced-motion, and state is kept in the browser through localStorage and sessionStorage.

Two ways

One wa.me link is a small edit; hours and a channel card are the hard part

A lone WhatsApp link in a corner needs no script. The work grows once you want opening hours, an online status, several channels in a card and a position that stays clear of other fixed bars on phones.

Way 1

Write the link into your theme yourself

Untested outline, not a finished listing, and no code is given here. A single link is little work and needs no JavaScript; hours, online status and an offline note mean writing JavaScript with time zone logic.

  1. Add a snippet with a fixed-position link to https://wa.me/ plus your number and a text parameter.
  2. On product pages, build that text from product.title passed through the url_encode filter.
  3. Add tel: and mailto: links for any further channel.
  4. Render the snippet from layout/theme.liquid so every template gets it.
  5. Give it a bottom offset on phones that clears your sticky bars and cookie banner.
  6. Carry the edit over by hand whenever you change theme.

Choose this if: You need one WhatsApp link and nothing more, a developer looks after your theme code, or the store still runs a vintage theme without app blocks. A plain link avoids the 20.6 KB of JavaScript the section ships by default.

Way 2

Set up Floating Contact in Section Store

No edits to theme files. Configuration happens in the app builder; the theme editor only holds the app block. Needs an Online Store 2.0 theme.

  1. Install Section Store and open Floating Contact, which is free on every plan.
  2. Replace the sample channels with your own, fill in Opening Hours and Time Zone, and save.
  3. Click Install in theme; the theme editor opens with the Section Store app block in the header group.
  4. Check that the block's picker shows Floating Contact, then save the theme.

Choose this if: Your theme is Online Store 2.0 and you want hours, an offline note or several channels without maintaining JavaScript yourself.

Builder settings

Every builder setting of Floating Contact

Start with three settings: Channels, because the 3 sample items must become your real number and usernames; Time Zone, which is Not set although Opening Hours already reads Mon-Fri 9:00-17:00; and Offline Note, whose default text promises a reply within 24 hours. Every row below lives in the Section Store builder; in the theme editor the app block offers only the section picker, padding top, padding bottom, max width, hide on mobile and hide on desktop.

Channels3
Show Number / AddressConditionalA muted second line under each channel in the contact card.
On / off
DefaultOn
Prefilled Message
Text
DefaultHi! I have a question about {product}
Message Outside Product PagesUsed where there is no product to name.
Text
DefaultHi! I have a question.
Contact Card5
GreetingConditional
Text
DefaultHi there - how can we help?
TextConditional
Text
DefaultQuestions about an order, sizing or a product? Pick the channel you like best.
Team NameConditional
Text
DefaultCustomer care
Avatar (optional)ConditionalA team photo or your logo mark, square. Without one, the initials of the team name are shown.
Image
DefaultNone
Small Print (optional)Conditional
Text
DefaultEmpty
Hours6
Opening Hours (optional)Separate days with a semicolon. Drives the online dot, “Back Mon 9:00” and the offline note. Leave empty for no hours.
Text
DefaultMon-Fri 9:00-17:00
Time ZoneConditional
Time zone
DefaultNot set
Outside Opening HoursConditionalOffline note: the card says when you are back and that messages are answered later.
Choice: Offline note, Show as usual, Hide the button
DefaultOffline note
Offline NoteConditional
Text
DefaultWe’re offline right now. Leave us a message and we’ll reply within 24 hours.
Online StatusConditional“Online now” or “Back Mon 9:00” under the team name.
On / off
DefaultOn
Green Dot on the ButtonConditional
On / off
DefaultOn
Button11
Style
Choice: Button + card, Speed dial, Contact bar
DefaultButton + card
Contact Bar on PhonesConditionalPhones show the first channels as a bar along the bottom instead of the button.
On / off
DefaultOff
Label Next to the ButtonConditionalDesktop only; phones show the round button.
On / off
DefaultOn
Button LabelConditional
Text
DefaultChat with us
Greeting BubbleConditionalA small bubble next to the button, once per visit, a few seconds after it appears. It closes by itself.
On / off
DefaultOn
Bubble TextConditional
Text
DefaultQuestions? We’re happy to help.
Back to Top ButtonAppears above the contact button after one screen of scrolling.
On / off
DefaultOn
Position
Choice: Bottom right, Bottom left
DefaultBottom right
Button Size
Slider, 44–72 px
Default56 px
Distance From the SidePhones use at most 16 px.
Slider, 8–64 px
Default20 px
Distance From the BottomSticky add-to-cart bars, the mobile tab bar and the cookie banner are added automatically.
Slider, 8–96 px
Default20 px
Visibility6
Appear After
Slider, 0–30 s
Default2 s
Appear After Scrolling0 shows it without scrolling.
Slider, 0–90 %
Default0 %
Show On
Choice: Every page, Selected pages
DefaultEvery page
PagesConditional
Text
Defaultproduct, collection
Never OnSame format as above.
Text
DefaultEmpty
Hide on the Cart PageKeeps the way to checkout clear.
On / off
DefaultOn
Style7
Channel ColorsApp colors: WhatsApp green, Messenger blue and so on, so shoppers recognise them at a glance. Brand color: everything in your button color.
Choice: App colors, Brand color
DefaultApp colors
Button Color
Colour
Default#1c1b19
Button Icon Color
Colour
Default#ffffff
Card Color
Colour
Default#ffffff
Card Text Color
Colour
Default#1c1b19
Card Corner Radius
Slider, 0–32 px
Default20 px
PreviewOnly changes this preview.
Choice: Open, Closed, Greeting bubble
DefaultOpen
Repeatable items1
Channels
List of items, up to 6
Default3 sample items

39 settings in 7 groups. These are settings in the Section Store builder, not theme editor settings: read from the app's section configuration, as of 2 Dec 2026. "Conditional" settings appear only once a related setting turns them on.

FAQ

Questions merchants ask about a WhatsApp button on Shopify

Floating Contact is free in Section Store.

Set it up in the app builder and place it through the Section Store app block. No theme code.

Install on Shopify

Sources

Sources