Created
November 6, 2019 16:49
-
-
Save lpender/ebea441b1a2b4689f7b26ec45353a8a1 to your computer and use it in GitHub Desktop.
cart.liquid example of gift notes
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
{% comment %} | |
Optional, add a textarea for special notes | |
- Your theme settings can turn this on or off. Default is on. | |
- Make sure you have name="note" for the message to be submitted properly | |
{% endcomment %} | |
{% if settings.cart_notes_enable %} | |
<div class="grid__item large--seven-twelfths cart__note-container"> | |
<div class="cart__note"> | |
<label for="CartSpecialInstructions">{{ 'cart.general.note' | t }}</label> | |
<textarea name="note" class="input-full" id="CartSpecialInstructions">{{ cart.note }}</textarea> | |
</div> | |
</div> | |
{% endif %} | |
<div class="grid__item large--five-twelfths text-center large--text-right{% if settings.cart_notes_enable %} cart__subtotal-container{% else %} push--large--seven-twelfths{% endif %}"> | |
<div class="grid--full cart__row--table"> | |
<div class="grid__item one-half large--two-thirds large--text-center"> | |
<p class="cart__subtotal">{{ 'cart.general.subtotal' | t }}</p> | |
</div> | |
<div class="grid__item one-half large--one-third"> | |
<p class="cart__subtotal"> | |
<span class="saso-cart-original-total">{{ cart.total_price | money }}</span> | |
<span class="saso-cart-total"></span> | |
</p> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment