Articles on: Online Store

Remove social media sharing on product

In this article:

Introduction
Remove social media sharing on product
Add Whatsapp for social media sharing

1. Introduction



Sharing buttons help you to increase your audience by engaging with people who are not on your site, as well as distribute content across multiple social networks and platforms helping to drive traffic to your site.

Social sharing is the ability for your content, offers and posts to reach a wider audience.


2. Remove social media sharing on product





But, if your store(products) have no necessary to add-on sharing button (Facebook, Twitter, Pinterest, Google), extra buttons display on-page will shift the focus point. If you wished to remove the social media icon on the product page, it would require to edit it in HTML coding. 

Step 1 : From EasyStore Admin > Click Channels > Online Store > Edit Source 

Step 2 : Snippets> product-card.liquid > Search for {% include 'social-sharing' %} > delete the entire row 



Step 3 : Save

Result:






3. Add Whatsapp for social media sharing



Step 1 : From EasyStore Admin > Click Channels > Online Store > Edit Source 

Step 2 : Look for social-sharing.liquid under snippets and search for <a target="_blank" href="//www.facebook.com/sharer.php?u={{ permalinkURL }}" class="share-icon-button">



Step 3 : Paste the following code below it

<a target="_blank" href="whatsapp://send?text={{permalinkURL}}"class="share-whatsapp"> <img src="https://cdn.store-assets.com/s/736000/i/31870468.png" width="25px"> </a>


Notes : You can change the size of the icon by changing the number in the code "width= "25px" >"



Step 4 : Save

Result:



Updated on: 30/10/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!