Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Last active July 29, 2019 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shopifypartners/b4982746051ff4f2dad6d330b27f759d to your computer and use it in GitHub Desktop.
Save shopifypartners/b4982746051ff4f2dad6d330b27f759d to your computer and use it in GitHub Desktop.
<span class="price-item price-item--regular" data-regular-price>
{% if available %}
{% if compare_at_price > price %}
{{ compare_at_price | money }}
{% else %}
{{ money_price }}
{% endif %}
{% else %}
{{ 'products.product.sold_out' | t }}
{% endif %}
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment