One chat button, three ways to reach you
Shoppers tap the round button at the bottom right and pick WhatsApp, Messenger or Instagram. It opens the app on their phone, already talking to Photobook.
Try it
Tap the round button at the bottom right of this page.
WhatsAppMessengerInstagram
On a product page, the WhatsApp message names the product they were looking at. When your store tracker is running, it also carries a short tag like [#a1b2c3d4], so the chat links back to the visit in Ah Va.
The one line to add
<script src="https://photobook-chat.jim-ng.com/chat.js" defer></script>
Putting it on the Shopify dev store
- In Shopify admin, go to Online Store, then Themes.
- On the dev theme, click the three dots, then Edit code.
- Open layout/theme.liquid and paste the line just above </body>. Save.
- Open the store. The button shows on every page.
To take it off, delete the line and save.
Optional settings (add to the same line)
| data-whatsapp | WhatsApp number, country code first. Now 60128790938, the number connected to Ah Va. |
| data-facebook | Facebook Page username for Messenger. Now photobookww. |
| data-instagram | Instagram username. Now photobookww. |
| data-channels | Which options show, in order. For example "whatsapp,instagram". |
| data-bottom | Height from the bottom of the screen, to clear a sticky cart bar. Now 20. |
| data-position | "right" or "left". |
| data-nudge | "off" hides the small "Questions?" bubble that appears after 8 seconds. |