Below is the variables used in code
#Button44 is send Watsapp Button
#Input10 is Customer Phone Number
#input16 is Final Bill Label
#input11 is Bill number
Code is as follows.
export function button44_click(event) {
$w(“#button44”).link = “Share on WhatsApp” + “91” + $w(“#input10”).value
- “&text=Thank%20You%20for%10Shopping%20EID%20your%20Bill%20is%20” + $w(“#input16”).value
- “%20Your%20Bill%20Number%20is%20” + $w(“#input11”).value + “%20Keep%20it%20for%20future%20references”;
//Add your code for this event here:
}
Please note earlier the link use to work.
It stopped work few weeks back.
Thanks in Advance
First point of call is to check on WhatsApp end and their own support as you are using an external link to them - https://api.whatsapp.com.
If they have changed something their end then you would obviously need to change and update it in Wix with the correct and updated settings yourself as Wix won’t do it for you.
i have not done any changes.
Using the link to send watsapp to any number without saving them.
Earlier i used this reference code as logic
- <a href=“Share on WhatsApp” > Send Message
can you please guide me through the process
@givemeawhisky can you please suggest me whats wrong in my code ?
As earlier this use to work.
Secondly how to link Button to Dynamic Link ?
Your help is really appreciated.
PS: I am not a coder.
I tried following the links sent by you.
But was unable to find the difference between my code and the links reference.