Skip to content

Instantly share code, notes, and snippets.

@boldsupport
Last active October 11, 2017 15:21
Show Gist options
  • Save boldsupport/5c0504ddc9eb0b471e0125ded3af13bf to your computer and use it in GitHub Desktop.
Save boldsupport/5c0504ddc9eb0b471e0125ded3af13bf to your computer and use it in GitHub Desktop.
{% assign bold_metafield = bold_product.metafields.bold_spec %}
{% assign bold_meta_size = bold_metafield | size %}
{% if bold_meta_size > 0 %}
<div class="bold_compare_{{ display }}" data-id="{{bold_product.id}}" data-handle="{{bold_product.handle}}"></div>
{%endif%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment