I have an input field(QTY) that when it has a value, a button becomes visible (To send this item to a cart). After sent, it resets the field(QTY). The problem is, when someone types a value, then clicks out of it, the button stays visible. Since this is happening inside a Gallery, other items that have no QTY are able to be added to the cart since the button is shown. How can I reset QTY when someone clicks off of it? (Assuming they clicked anywhere that isnt the cart button)

Report
All responses (
Answers (