Skip to content

Instantly share code, notes, and snippets.

@ECkurt
Last active May 6, 2017 01:09
Show Gist options
  • Save ECkurt/44f18e284a93bc7b5af8b0746d8e9151 to your computer and use it in GitHub Desktop.
Save ECkurt/44f18e284a93bc7b5af8b0746d8e9151 to your computer and use it in GitHub Desktop.
Free Shipping Calc
{% if cart.total_price < 5000 %}
<p>You're <span>{{ 5000 | minus: cart.total_price | money }}</span> away from receiving free shipping on your order!</p>
{% else %}
<p><b>FREE SHIPPING</b></p>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment