Created
February 20, 2019 22:50
-
-
Save whistlerbrad/b81af06b72be89fd7a9f9eced6723106 to your computer and use it in GitHub Desktop.
Bold quantity issue
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
<script id="JsQty" type="text/template"> | |
{% raw %} | |
<div class="js-qty | |
<button {{readOnly}} type="button" class="js-qty__adjust js-qty__adjust--minus" data-id="{{id}}" data-qty="{{itemMinus}}">−</button> | |
<input {{ bold_qty_attr }} type="text" class="js-qty__num QuantityInput" value="{{itemQty}}" min="1" data-id="{{id}}" aria-label="quantity" pattern="[0-9]*" name="{{inputName}}" id="{{inputId}}" data-submit="{{submit}}"> | |
<button {{readOnly}} type="button" class="js-qty__adjust js-qty__adjust--plus" data-id="{{id}}" data-qty="{{itemAdd}}">+</button> | |
</div> | |
{% endraw %} | |
</script> | |
<script id="JsQty--cart" type="text/template"> | |
{% raw %} | |
<div class="js-qty"> | |
<button {{readOnly}} type="button" class="js-qty__adjust js-qty__adjust--minus" data-id="{{id}}" data-qty="{{itemMinus}}">−</button> | |
<input {{ bold_qty_attr }} type="text" value="{{itemQty}}" class="js-qty__num QuantityInput" min="1" data-id="{{id}}" aria-label="quantity" pattern="[0-9]*" name="updates[]" id="updates_{{id}}" data-submit="{{submit}}"> | |
<button {{readOnly}} type="button" class="js-qty__adjust js-qty__adjust--plus" data-id="{{id}}" data-qty="{{itemAdd}}">+</button> | |
</div> | |
{% endraw %} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment