Setup guide · Shopify
WhatsApp button for Shopify
Set up your floating button below, copy the code and paste it into your theme's theme.liquid file. Free, no app needed.
With country code, digits only. E.g.: 5215512345678
Preview
This is how it will float on your site
Your code
Paste it before '</body>' on your page. Works on WordPress, Shopify, Wix and any HTML.
<!-- Botón de WhatsApp — konectus.io/boton-whatsapp-web -->
<a href="https://wa.me/5215512345678" target="_blank" rel="noopener" aria-label="WhatsApp"
style="position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:#25D366;box-shadow:0 4px 14px rgba(0,0,0,.25);transition:transform .15s ease;"
onmouseover="this.style.transform='scale(1.08)'" onmouseout="this.style.transform='scale(1)'">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="33" height="33" fill="#fff" aria-hidden="true"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/></svg>
</a>Step by step
How to add the button to Shopify
You paste it once into theme.liquid, your theme's default layout, through which its pages are rendered.
- 1
Copy the button code
Enter your number and message in the generator above, pick the side and size, and click “Copy code”. - 2
Duplicate your theme
Shopify's help recommends making a copy of your theme before editing its code: if something goes wrong, you can discard your changes and start again. - 3
Open the code editor
In your Shopify admin, go to Online Store, open your theme's three-dot menu (…) and choose Edit code. - 4
Open theme.liquid
In the layout folder, open theme.liquid. You can also search for it by name with Ctrl + P (Cmd + P on Mac). - 5
Paste the code before the closing body tag
Find </body> with Ctrl + F (Cmd + F on Mac), near the end of the file, and paste the code right before that line. - 6
Save and check your store
Click Save (or Ctrl + S / Cmd + S). Open your store in another tab: the button shows up in the corner you picked.
Three Shopify notes that apply here
- Paid themes on trial. If you're trying out a paid theme, Shopify asks you to buy it before you can edit its code.
- Theme updates. If you update your theme and your code changes aren't compatible with the new version, the updated copy doesn't keep them. After updating, check that the button is still there; if not, paste it again.
- If you're not comfortable with code. Shopify's own help recommends editing it only if you know HTML and CSS, and suggests hiring a Shopify Partner otherwise.
After the button
Who answers questions before the purchase?
- One WhatsApp number, handled by your team
- Every conversation has an owner
- Quick replies for shipping, sizes and payments
Shared inbox demo: a message from Mariana Ortiz comes in on WhatsApp, AI summarizes the conversation and suggests replies, and an automation assigns it to Karla. When Karla asks, the AI Assistant proposes a tag that is only applied once approved and can be undone. Karla sends a suggested reply and moves the conversation to the “Appointment to confirm” pipeline stage.
A new conversation in the inbox, still unassigned
Questions about the WhatsApp button on Shopify
Will the button slow down my store?
Not noticeably. It's a single link of about 2 KB with the icon drawn in the code itself: it doesn't download scripts, fonts or images from another server.
Does it work on mobile?
Yes. The button stays fixed in the corner of the screen on mobile too. Tapping it opens the WhatsApp app; on a computer, WhatsApp Web. If it clashes with something in your theme, switch sides in the generator and paste the code again.
How do I remove it?
Go back to Online Store → … → Edit code, open theme.liquid, delete the block you pasted (it starts with the comment “Botón de WhatsApp — konectus.io/boton-whatsapp-web”) and save. If you duplicated your theme first, you can also go back to that copy.
Is it removed if I change or update my theme?
If you switch themes, yes: the code lives in that theme's theme.liquid, so you need to paste it into the new one. If you update it, Shopify warns that incompatible code changes don't carry over to the updated copy: check and paste it again if it's missing.
What if I'd rather use an app from the Shopify App Store?
That works too. The Shopify App Store has WhatsApp chat apps, and some add business hours or several numbers. Check the price and permissions before you add one. This code is the no-app option: it doesn't ask for access to your store's data.
Do I need a Konectus account?
No. The button opens a direct chat with your WhatsApp number: it doesn't go through Konectus and works even if you never sign up. Konectus has no Shopify integration; this page only explains where to paste the code.
The button on other platforms
WhatsApp button for WordPress
Paste it into the footer with a Custom HTML block, a widget or a plugin.WhatsApp button for Wix
Add it under Custom Code, in your site's settings.WhatsApp button for Tiendanube
Tiendanube's built-in button, or yours with Google Tag Manager.WhatsApp button for your website
A floating button ready to paste into your site.WhatsApp link generator
Create a wa.me link with a pre-filled message.
Your store brings in the chats; your team answers them
Early Access: 90 days free, no card, every feature. Subscribe within that window and you pay half for life.
90 days free · No card