WhatsApp Chat
Posted: Fri Apr 17, 2020 5:37 pm
i added a simple line of code in header.twig at line 59 and now on both PC and Android devices customers can contact me
via my WhatsApp number.
i hope it helps someone else!
its so slick and shiny on a android browser. i absolutely love it!
here is a complete guide for creating appropriate URL link:
https://tribulant.com/blog/marketing-so ... tart-chat/
i tried to use an image or icon instead of "WhatsApp Chat?" but due to my lack of TWIG Editing knowledge it didn't work and broke many things.
so do not try to add an <img> tag inside <a> tag unless YOU KNOW WHAT ARE YOU DOING. check it first on a test environment .
via my WhatsApp number.
i hope it helps someone else!
Code: Select all
<li> <a href="https://api.whatsapp.com/send?phone=1234567890&text=hi! I have a question?">WhatsApp Chat?</a> </li>
here is a complete guide for creating appropriate URL link:
https://tribulant.com/blog/marketing-so ... tart-chat/
i tried to use an image or icon instead of "WhatsApp Chat?" but due to my lack of TWIG Editing knowledge it didn't work and broke many things.
so do not try to add an <img> tag inside <a> tag unless YOU KNOW WHAT ARE YOU DOING. check it first on a test environment .