How to add Share to...
 
Notifications
Clear all

[Solved] How to add Share to whatsapp button/icon on product page ?

3 Posts
2 Users
1 Reactions
3,090 Views
jessy
(@jessy)
Eminent Member
Joined: 4 years ago
Posts: 35
Topic starter  

Hi,

is there a way to add whatsapp share button on Plak theme 2.4 ?

For now I only have Twitter, Facebook and Pinterest buttons

Thanks in advance
Jessy

Love is the flower you've got to let grow


   
Quote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 

Hi @jessy

Katrine here from Plak theme support in order to assist you with your query regarding adding Whatsapp share button next to the existing sharing buttons in the Plak theme product page.

In order to do so, I invite you to follow these steps :

 

  • From your Shopify dashboard, click Online store > Actions > Edit code
  • Open the file social-sharing.liquid
  • On the bottom of the file and just before the closing tag </ul> add the following code:
<li>
<a target="_blank" href="https://api.whatsapp.com/send?text={{ shop.url | append: share_permalink }}" class="btn btn--small btn--share" title="whatsapp">
<i class="fa fa-whatsapp" aria-hidden="true"></i>
<span class="share-title" aria-hidden="true">Whatsapp</span>
<span class="visually-hidden">Whatsapp</span>
</a>
</li>
  • Click Save
  • The final code will look like this

     

 

 

Note : This feature + sharing to Instagram will be added to the next Plak release 2.5

Let me know if you have any additional queries or questions

Kind regards,
Katrine

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
jessy reacted
ReplyQuote
jessy
(@jessy)
Eminent Member
Joined: 4 years ago
Posts: 35
Topic starter  

that worked great ! thanks a lot for your fast and accurate reply Katrine ^^

Love is the flower you've got to let grow


   
ReplyQuote
Share:

Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.

Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple