Jul 20, 2026

How to Add a WhatsApp Chat Button to Your Shopify Store

Add a WhatsApp chat button to Shopify with a theme snippet or a wa.me link, keep it clear of the cart, and answer pre-sale questions before shoppers abandon.

Send bulk WhatsApp messages the safe way
Import a CSV, personalize each message, and broadcast on the official WhatsApp Business API. Free tier: 500 messages a month.
Start free →

Short answer: to add a WhatsApp chat button to Shopify, paste a widget snippet into your theme, usually in theme.liquid just before the closing body tag, or add it through a section in the theme editor. The floating button then shows across your storefront. Place it so it never covers the cart or checkout button, and test it on a phone, since most Shopify traffic is mobile. For a single-page link, use a wa.me URL behind a button block instead.

A WhatsApp button on a Shopify store answers the small doubts that kill sales: is this in stock, will it fit, when does it ship. A shopper who can ask in one tap and get a quick answer is far more likely to check out than one who leaves to find your email. Here is how to add it and, just as important, how to handle the chats it brings in.

Method 1: add it through the theme editor

Many WhatsApp chat tools give you a snippet you can drop in without editing code. In Shopify, go to Online Store, then Themes, then Customize. Some tools appear as an app embed you toggle on in the theme settings; others give you a Custom Liquid or Custom HTML section you can add to the footer. Paste the snippet, set the number, greeting, and button color, and save. Preview the store and confirm the floating button appears.

Method 2: edit theme.liquid directly

If your tool gives you raw code, add it to the theme file. From Themes, choose Edit code, open layout/theme.liquid, and paste the snippet just before the closing body tag. Save, then reload your storefront. This puts the button on every page of the store. Keep a copy of the original file, or duplicate the theme first, so you can roll back cleanly if anything looks off.

Method 3: a simple wa.me link

For a button on one page, such as a contact page or a specific product, skip the snippet and use a click-to-chat link. Create a wa.me URL with your number in international format, no plus sign or spaces, and add a pre-filled message. Place it behind a button in the page content. This is free and instant, but it only lives where you put it, and every chat lands on one phone.

Placement: keep it away from the cart

On a store, placement is not cosmetic, it is revenue. A floating button pinned bottom-right can sit right on top of the cart drawer or the sticky Add to Cart bar on mobile, and a button that blocks checkout costs you far more than it earns. Test every key template: home, collection, product, cart, and checkout. If there is a conflict, move the WhatsApp button to the bottom-left or lift it above the sticky bar. The rule is simple: nothing about the chat button should ever come between a shopper and the buy button.

Answer pre-sale questions before the cart is abandoned

The reason a chat button belongs on a store is speed of answer. Most abandoned carts are not price objections, they are unanswered questions. A shopper wondering about a size, a material, or a delivery date will often leave rather than dig for the answer. A visible WhatsApp button lets them ask in one tap, and an instant auto-reply keeps them from bouncing while they wait.

That only works if the chats are handled. On a bare button, a question at 8pm sits unread until morning, by which point the sale is gone. With a managed platform the button runs on the official Cloud API: a saved greeting replies in seconds, the chat routes to whoever is on, and you can follow up later with opt-in messages. The full setup is on the WhatsApp chat widget page, and if you also want to recover the shoppers who leave without buying, WhatsApp abandoned cart recovery shows how the follow-up side works.

Test on mobile first

Shopify traffic skews heavily mobile, so test on a real phone before anything else. Tap the button and confirm WhatsApp opens with your greeting ready to send. Check that it does not cover the Add to Cart bar as you scroll a product page. Then send a test message and time the auto-reply. Only when the mobile path is clean should you consider the button live.

A note on running the store around it

A chat button is one lever among several on a store. If pre-sale questions keep pointing at the same confusing spot on a product page, the fix is often the page, not more chat. It is worth having a second set of eyes on where shoppers hesitate, which is what a quick conversion review of your pages is for. Fix the friction, and the button handles the rest.

The bottom line

Adding a WhatsApp chat button to Shopify is a five-minute job with a theme snippet or a wa.me link. The wins come from two habits: keep the button clear of the cart and checkout, and make sure the chats it starts get an instant, handled reply. Do both, and a simple button turns pre-sale doubts into completed orders.

Ready to send your first WhatsApp campaign?
Import your contacts, personalize each message, and broadcast on the official WhatsApp Business API. Free tier: 500 messages a month, no credit card.
Start free →