Created
November 17, 2017 20:31
-
-
Save ashukasma/ce07723747cd7e647da9adf9352ddca7 to your computer and use it in GitHub Desktop.
Shopify hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if product.compare_at_price_max > product.price %}You save {{ product.compare_at_price_max | minus: product.price | times: 100.0 | divided_by: product.compare_at_price_max | money_without_currency | times: 100 | remove: '.0'}}%{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment