Created
June 26, 2014 14:27
-
-
Save ccovey/a6c81a56f84393b39236 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if product.metafields.osky_love.osky_product %} | |
{% assign oskySeller = product.metafields.osky_love.osky_seller %} | |
{% assign oskyProduct = product.metafields.osky_love.osky_product %} | |
{% capture oskyUrl %}https://opensky.com/{{ oskySeller }}/product/{{ oskyProduct }} {% endcapture %} | |
<a href='{{ oskyUrl }}' class='iframe-btn widget1 osky-love-widget-btn' data-seller='{{ oskySeller }}' data-slug='{{ oskyProduct }}'> | |
Love It | |
<div class='count'></div> | |
</a> | |
<script>!function(d,s,id) {var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)) {js=d.createElement(s);js.id=id;js.src=p+'://lcl.opensky.com/dyn-js/public-love-button.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'osky-love-widget-script');</script> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment