Cart updates throttling in case of changing the quantity #3191
Labels
1: Easy
feature request
Requests for new features. Please be as specific as possible and provide proposal API if it you can
P2: Important
Priority mark - still high ;)
QA approved after merge
Testers will add this label after positive check on merged changes
vs-hackathon
Tasks for the Hackathon
Milestone
What is the motivation for adding / enhancing this feature?
Currently (1.9.2, 1.10rc1) each keypress into
quantity
field (Microcart/Product.vue
) causes thecart/sync
action to be executedThere is something like this:
... and in the
microcart/components/Product.ts
(base component of thisProduct.vue
)This causes immediate call to
cart/sync
and after entering kind of6..1..
we've got two calls instead of one (just for 61)We need a time-based throttling or some other way to limit this behavior
The text was updated successfully, but these errors were encountered: