Forked from zakhardage/automatically apply price-based discount in Shopify
Created
April 11, 2017 14:18
-
-
Save keyurshah/a623f9a6fd1901397a190f59410cd075 to your computer and use it in GitHub Desktop.
automatically apply price-based discount in Shopify
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 cart.total_price > settings.cart-discount-threshold %}{% assign threshold = true %}{% endif %} | |
| <form action="/cart{% if threshold %}/?discount=[discountcode]{% endif %}" method="post"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment