can anyone suggest me how to add a whatsapp button in the app
its much needed option for everyone
if anyone of you knows this kindly suggest me please
Thank you
How to add the WhatsApp button
- Edited
Goto Admin Dashboard > Settings > Translations > Edit the language
Find "Custom Home Message"
In this field, you need to click on the </> code editor.
Then insert this code:
<a href="https://wa.me/+123456789?text=Hi" target="_blank"><img src="https://cdn-icons-png.flaticon.com/128/5968/5968841.png" style=" position: fixed; right: 1rem; bottom: 8rem; z-index: 1000; width: 52px; filter: drop-shadow(2px 4px 6px #eee);"></a>
Screenshot:
Then Save the translation, and reload your customer app.
Mr. Saurabh
thank you for your respond
i have done the same what you have shown
the whatsapp icon is getting appear on the app but how to link this with a phone number
Kindly help me out plz
thank you
- Edited
In the provided code:
<a href="https://wa.me/+123456789?text=Hi" target="_blank"><img src="https://cdn-icons-png.flaticon.com/128/5968/5968841.png" style=" position: fixed; right: 1rem; bottom: 8rem; z-index: 1000; width: 52px; filter: drop-shadow(2px 4px 6px #eee);"></a>
You can see +123456789
replace that with your WhatsApp number.
Make sure to add +
and your country code and then your phone number.
Example for India: +919800000000
===
You can also change the prefilled text.
In the provided code replace Hi
with any message of your choice.
Make sure the message is URL Encoded text.
You can use This Tool to encode the message.
Example:
If your message is: Hi, I need some help.
Then the encoded message will be: Hi%2C%20I%20need%20some%20help.
References:
https://faq.whatsapp.com/5913398998672934
Saurabh
did the same as per your suggestions but still i am not able to redirect to the whatsapp number
- Edited
I have inserted the section for you. Kindly check your Customer App again. It should work now.
Saurabh
still it not getting redirected to my whatsApp
Thank you
I too tried it on your website on Chrome (Android) it worked, but the same didn't work on the Android App.
Will try to check and fix the issue if found. (Timeline for this is not set)
Okay