Skip to content

Instantly share code, notes, and snippets.

@seedcms
Created August 21, 2017 07:47
Show Gist options
  • Save seedcms/310409065c8f341bf2c99a41d0ce55ed to your computer and use it in GitHub Desktop.
Save seedcms/310409065c8f341bf2c99a41d0ce55ed to your computer and use it in GitHub Desktop.
product-swatches.liquid
<div class="product-swatches product-swatches-{{product.id}}" data-id="{{product.id}}" data-tag="{{product.metafields.swatch.tag}}"></div>
<div style="clear:both;"></div>
<script src="{{ 'product-swatches.js' | asset_url }}" defer></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment