Created
January 29, 2018 22:35
-
-
Save puzzfuzz/44e74ed441043225482ad84fda4a0380 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
<!-- snippets/_data-cart.liquid --> | |
<script type="text/javascript"> | |
window.shopifyData = window.shopifyData || {}; | |
window.shopifyData.cart = {{ cart | json }}; | |
</script> | |
<!-- snippets/_data-product.liquid --> | |
<script type="text/javascript"> | |
window.shopifyData = window.shopifyData || {}; | |
window.shopifyData.currentProduct = {{ product | json }}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment