Share us on Instagram to unlock 10% off your next order
How to install on your store
1Back up your theme (Online Store > Themes > Actions > Duplicate) before changing any code.
2Open Online Store > Themes > Edit code and create a new file under Snippets named social-unlock.liquid.
3Paste the complete file - markup, styles and JavaScript are already inside the single file, nothing else to install.
4Call the snippet from the template or section where it should appear using the render tag shown in the Usage tab.
5Preview the product, collection or cart page and test on mobile before publishing.
6Honour-based: they share, you reveal the code. Some share honestly, some don't - still converts.
social-unlock.liquid
1<gpl-unlockclass="gpl-unlock">2<pclass="gpl-unlock__text">Share us on Instagram to unlock <b>{{offer| default: 'a discount'}}</b></p>3<aclass="gpl-unlock__share"href="https://instagram.com"target="_blank"rel="noopener">Share on Instagram</a>4<divclass="gpl-unlock__code" hidden data-code>5<p>Your code:</p>6<code>{{code| default: 'CODE'}}</code>7</div>8</gpl-unlock>