I would like to know which of these practices is considered as the best. A user of my website has the possibility of emptying its shopping basket.
Should I :
- ask for confirmation with a modal ?
- let him do, but allow a rollback right after
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It only takes a minute to sign up.
Sign up to join this communityI would like to know which of these practices is considered as the best. A user of my website has the possibility of emptying its shopping basket.
Should I :
This is some sort of deleting things.
My solution for deleting things is a button with a trash icon which opens a little popover. I think this is a good solution because:
Now think about you goals against the user goals.
You can add a modal confirmation for "empty a shopping basket" thinking that your goal is to prevent users from emptying the basket, you can prevent placing the modal, which would bring the user to rethink every action if you really want to empty the cart. On the other hand it can be a way to generate friction and lead to frustration.
Initially I suggest you show a modal on mass removal product, but not for the elimination of individual products and also allow the action to reverse (as in the picture)
Also try to show the last products viewed to allow the user to find potential removed products