{% if product.available %}
{{ 'cart.label.quantity' | t }}
I am having the same issue.. Consumers cannot price my products unless i allow them to continue selling when out of stock.. this enabled the issue your having where people add more to cart than whats carried… when a product is out of stock the button is disabled but i want the quantity selector to be limited. could you possibly help me modify my code here to implement what you did ? i tried using your code but i dont think my them is supporting it exactly