Skip to content

Instantly share code, notes, and snippets.

@boldsupport
Last active October 11, 2017 15:23
Show Gist options
  • Save boldsupport/8812efc98b52f295ae2ccd347c152689 to your computer and use it in GitHub Desktop.
Save boldsupport/8812efc98b52f295ae2ccd347c152689 to your computer and use it in GitHub Desktop.
{{ 'bold-compare.css' | asset_url | stylesheet_tag }}
<script>
var BOLD = BOLD || {};
BOLD.Compare = BOLD.Compare || {
specs_size: {{bold-compare-init.metafields.bold_spec | size}},
language: {{shop.metafields.bold_compare.language | json}},
display: {{shop.metafields.bold_compare.display | json}},
default_product_image: "{{ 'no-image.gif' | img_url: 'thumb' }}"
};
</script>
{{ 'bold-compare.js' | asset_url | script_tag }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment