Skip to content
Discussion options

You must be logged in to vote

One solution would be to disable the -/+ 1 item while the cart is updating. But it doesnt feels as fast, is really useless for the majority of our clients and is bad for our clients with a slow network.

yep, that's the easy way out, but UX is meh.

We also thought that we could somehow buffer the mutation if someone is spamclicking the button so that when the user stops clicking, only one mutation will be sent with the number of desired products (it can't go further than the number of available products since a first verification is done client side with the last number of available products).

this is something I have done in a playground once (v2, very old, sorry), have a look here: h…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@skasyn
Comment options

@NWylynko
Comment options

Answer selected by skasyn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants