Liquid, JavaScript, themes, sales channels
Hello,
I want to add a whatsapp icon with a link associated to it to redirect to whatsapp .
I'm having some trouble adding it on the publisher theme
Can someone explain how to do it ?
Hello, I was also wondering the same thing, and with a little trial and error, plus some help from a previous post, I worked out how to do it for the ‘Spotlight’ theme. Maybe the same method will work on another Shopify 2.0 theme.
aria-hidden="false" focusable="true" class="icon icon-whatsapp"
<li class="list-social__item">
<a href="INSERT YOUR WHATSAPP LINK HERE" class="link list-social__link">
{%- render 'icon-whatsapp' -%}
</a>
</li>
Finally, click save and preview to see whether it worked! I hope it does - fingers crossed. 😊
Here's how mine looked.
User | RANK |
---|---|
38 | |
28 | |
13 | |
13 | |
10 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023