Last active
July 11, 2018 12:38
-
-
Save radjivF/9795c242a17fbe7827b2712c87228987 to your computer and use it in GitHub Desktop.
hide quantity if collection.title something
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 %} | |
replace ligne 265 to 270 | |
and 'something' by the name of the collection | |
{% endcomment %} | |
{% if section.settings.show_quantity_selector and collection.title != 'something'%} | |
<div class="product-form__item product-form__item--quantity"> | |
<label for="Quantity">{{ 'products.product.quantity' | t }}</label> | |
<input type="number" id="Quantity" name="quantity" value="1" min="1" class="product-form__input" pattern="[0-9]*"> | |
</div> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment