WhatsApp Widget Code

WhatsApp Widget

You can add the WhatsApp widget code to your Premium online store with the help of Page Scripts.

You will just have to copy-paste the below code under the script section of the page script and save.

 

<!-- WhatsHelp.io widget -->
<script type="text/javascript">
    (function () {
        var options = {
            whatsapp: "+91**********", // Enter your WhatsApp number
            call_to_action: "Message us", // Call to action
            position: "left", // Position may be 'right' or 'left'
        };
        var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
        var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
        s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
        var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
    })();
</script>
<!-- /WhatsHelp.io widget -->

Start Collecting Payment Now
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request