Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if section.settings.show_quantity_selector %}
- <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 %}
- <div class="product-form__item product-form__item--submit{% if section.settings.enable_payment_button %} product-form__item--payment-button{% endif %}{% if product.has_only_default_variant %} product-form__item--no-variants{% endif %}">
- <button type="submit" name="add" id="AddToCart-{{ section.id }}" {% unless current_variant.available %}disabled="disabled"{% endunless %} class="btn product-form__cart-submit{% if section.settings.enable_payment_button %} btn--secondary-accent{% endif %}">
- <span id="AddToCartText-{{ section.id }}">
- {% unless current_variant.available %}
- {{ 'products.product.sold_out' | t }}
- {% else %}
- {{ 'products.product.add_to_cart' | t }}
- {% endunless %}
- </span>
- </button>
- {% if section.settings.enable_payment_button %}
- {{ form | payment_button }}
- {% endif %}
- </div>
- {% endform %}
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement