Created
February 5, 2018 18:27
-
-
Save essmahr/95a6f534ec7c82a4a65fd82b4f03cedb to your computer and use it in GitHub Desktop.
This file contains 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
<!-- Add to cart.liquid --> | |
{% if customer %} | |
{% else %} | |
<div style="text-align: center;"> | |
<b><a href="/account/login">Sign in</a></b> or | |
<b><a href="/account/register">Create a free Account</a></b> | |
to use your Membership benefits. | |
</div> | |
{% endif %} | |
== | |
<!-- after <form> tag --> | |
<input type="hidden" name="discount" id="discount" value="" /> | |
== | |
replace | |
{{ cart.total_price | money }} | |
with | |
<span class="sam-cart-original-total">{{ cart.total_price | money }}</span><br> | |
<span class="total sam-cart-total"></span> | |
<div class="sam-discount-info"></div> | |
{% include 'sam_cart_discount' %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment