How to Add WhatsApp Chat to Shopify (Without Hurting Speed or UX)

How to Add WhatsApp Chat to Shopify (Without Hurting Speed or UX)


Introduction

Adding a WhatsApp chat button to your Shopify store is a smart move—especially for Indian and global audiences who prefer quick communication. But most apps can slow down your site, inject unnecessary scripts, or disrupt mobile UX.

In this guide, you’ll learn how to add WhatsApp chat to your Shopify store manually and cleanly, without bloated apps or performance issues.


Why Add WhatsApp to Your Shopify Store?

  • ✅ Instant communication with customers

  • 📲 Works across mobile and desktop

  • 🌍 Globally recognized and trusted

  • 🔄 Increases conversion by reducing buying hesitation


Avoid Heavy Apps Like:

  • Tidio

  • WhatsApp Chat + Cart Recovery

  • Instant Chat by POWR

These often:

  • Add third-party tracking scripts

  • Reduce Core Web Vitals score

  • Limit customization


Step-by-Step: Add WhatsApp Chat to Shopify Without Apps


Step 1: Create Your WhatsApp Chat Link

Use this format:

https://wa.me/<YourNumber>?text=<Pre-filledMessage>

Example:

https://wa.me/919999999999?text=Hi!%20I%20have%20a%20question%20about%20a%20product.
  • ✅ Replace 919999999999 with your mobile number (with country code)

  • ✅ Replace %20 with spaces if editing the message


Step 2: Add the Button to Your Shopify Store

Option A: Using the Shopify Theme Customizer

  1. Go to Online Store > Themes > Customize

  2. Navigate to the footer or header (or homepage section)

  3. Add a Custom HTML block or a Rich Text block

  4. Paste this code:

<a href="https://wa.me/919999999999?text=Hi%20there!" target="_blank">
  <img src="https://img.icons8.com/color/48/000000/whatsapp--v1.png" alt="WhatsApp Chat" style="width: 48px; height: 48px;" />
</a>

This will show a WhatsApp icon linked to your chat.


Step 3: Make the Button Sticky (Floating Button on Screen)

To make the chat icon float at the bottom right of the screen:

  1. Go to Online Store > Themes > Edit Code

  2. Open the theme.liquid file

  3. Just before </body>, paste this:

<a href="https://wa.me/919999999999?text=Hi%20there!" target="_blank" style="position:fixed; bottom:20px; right:20px; z-index:1000;">
  <img src="https://img.icons8.com/color/48/000000/whatsapp--v1.png" alt="WhatsApp Chat" style="width: 60px; height: 60px;">
</a>

✅ Clean
✅ Fast
✅ No app needed


Optional Styling: Add Hover Effect or Animation

To make it look even better:

<style>
  .whatsapp-button:hover {
    transform: scale(1.1);
    transition: 0.2s ease-in-out;
  }
</style>
<a href="https://wa.me/919999999999?text=Hi%20there!" target="_blank" class="whatsapp-button" style="position:fixed; bottom:20px; right:20px; z-index:1000;">
  <img src="https://img.icons8.com/color/60/000000/whatsapp--v1.png" alt="WhatsApp Chat" />
</a>

Bonus: Add WhatsApp Link to Your Product Page

If you want users to ask questions from specific products:

<a href="https://wa.me/919999999999?text=Hi! I have a question about {{ product.title }}" target="_blank">
  Chat on WhatsApp about this product
</a>

Dynamic, product-specific messaging!


Best Practices

Tip Why It Matters
Open link in a new tab Keeps users on your site
Use a visible but non-intrusive position Avoids blocking key UI
Test on mobile WhatsApp is used mostly via mobile
Don’t add multiple chat widgets Too many scripts slow performance

Conclusion

Adding WhatsApp to your Shopify store can improve customer experience and conversions—but only if done right. Skip the bulky apps and use the manual method shown above to keep your store fast, clean, and functional.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.