<aside> đź’ˇ TL;DR
You can create your own widget using the WhatsApp Widget Generator tool on Hoola’s website. This is the first step.
In there, you put your information:
And in the next step:
Hit “Generate”
Your information is saved in an HTML code, this is what we need for Shopify.
Test the link to see if it actually goes to your WhatsApp, and puts the right pre-filled message.
Hit “Copy” to copy the html code.
Open theme editor
Online store >Â Themes >Â ... > Edit code
Create a bubble.liquid snippet
Scroll in the left bar down to snippet >Â Add a new snippet.
Call it bubble(.liquid)
.
Then, paste your generated widget code in there.
Hit “Save”!
Add the functional code in theme
Scroll in the left bar to theme.liquid
Place the following 2 lines of code within the <head> section
Copy the script & stylesheet: