Whatsapp is a very important application where we can chat, call or share our images videos or important links so in this tutorial we are going to learn how to add a code that enables visitors to share Shopify products on Whatsapp.
Add this code in product.liquid file where you want to add share button
<a href="target="_blank" href="https://wa.me/?text==Hey Checkout this {{ product.title | escape }} {{ product.url | escape }}&media={{ share_image | img_url: '1024x1024' }}&description={{ share_title | url_param_escape }}" class="wshare"> Share
on Whatsapp </a>
You can change the highlighted text according to you
Try Shopify for free, and explore all the tools and services you need to start, run, and grow your business.
[Updated] Share shopify product on whatsapp
Reviewed by Navjeet Singh
on
June 03, 2021
Rating:
No comments: