PrestaShop / hummingbird

77 stars 73 forks source link

Product page : can't change the quantity via input, the quantity 1 is always displayed #642

Closed boherm closed 3 weeks ago

boherm commented 3 weeks ago
Questions Answers
Description? The way of listening quantity input in product page is a problem.
In fact, we need to check quantity min not when we are typing but only on change. If we do this check on keyup or keydown, we can't type a backspace to empty the input before typing our new value, and also, if the min quantity of the product is set at 5, if we want to type 10 after a backspace, we force to 5 when the 1 key is typed and before the 0 of 10.
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Fixes #36456
Sponsor company PrestaShop SA
How to test? See #36456