Shopify & WP guide

How to Add a WhatsApp Button to Shopify Without an App

Add a WhatsApp chat button to your Shopify store for free — a floating button, a product-page button with the product name pre-filled, and a QR code. No app needed.

In India and the Gulf, many shoppers would rather send a WhatsApp message than fill in a contact form. Most WhatsApp apps on the Shopify App Store charge a monthly fee and load extra scripts — but a chat button is really just a link. Here’s how to add one for free, in about five minutes.

WhatsApp supports links in the form https://wa.me/<number>?text=<message>. The number is your full international number without “+”, spaces or a leading zero — for example 919876543210 for an Indian number or 971501234567 for the UAE. The optional text is the pre-filled message, URL-encoded. Tapping the link opens WhatsApp on a phone, or WhatsApp Web on a computer, with your chat ready to send.

The WhatsApp Link Generator cleans up the number, encodes the message and writes the button code for you.

Option 1: A floating WhatsApp button on every page

  1. In the generator, enter your number and message, then choose Floating button and copy the code.
  2. In Shopify admin go to Online Store → Themes → Customize.
  3. Open the Footer group (it appears on every page), click Add section and choose Custom Liquid.
  4. Paste the code and save. The round green button now sits in the bottom-right corner on every page.

Because the button is plain HTML and CSS, it adds no JavaScript and has no effect on page speed.

Option 2: “Ask on WhatsApp” on product pages

A button on the product page converts better when the message already names the product. Choose Shopify Liquid in the generator and write a message such as “Hi! Is {product} available?”. The snippet captures the product title into the message and URL-encodes it.

  1. Open a product template in the theme editor.
  2. In the product information section, click Add block → Custom Liquid and paste the snippet.
  3. Drag the block under the Buy buttons and save.

If you build your own sections, you can turn the number and message into theme settings with the Section Schema Generator so they can be edited without touching code.

Measure the clicks

WhatsApp clicks don’t show up as page views, so track them. In GA4 you can mark clicks on links to wa.me as an event, and for campaigns you can send people to a landing page tagged with the UTM Link Builder before they reach the button.

Add a QR code for offline customers

Print the same link as a QR code on packaging, receipts or your shop counter — scanning it opens the chat straight away. The WhatsApp generator downloads a QR code as PNG or SVG, and the QR Code Generator offers more styling options.

Frequently asked questions

Is a WhatsApp chat button on Shopify free?

Yes. A click-to-chat link (wa.me) is free and needs no WhatsApp Business API, Meta account or app subscription.

Can the message include the product name?

Yes. In Liquid, capture the product title into the message and URL-encode it, so customers start the chat with the product already mentioned.

Will a WhatsApp button slow down my store?

Not if you add it with plain HTML and CSS as shown here. Chat apps that load extra JavaScript are what usually affect speed.