I am designing a screen where the user can add products to a list. Now if a user decides that the quantity of an item on the list needs to be changed, or an item needs to be removed, what would be the best way to achieve this functionality? One way I thought of was to display a context menu on item long click. This menu will display options to delete or edit an item. But I'm also thinking if a better way is to have a text field appear directly on top of the item quantity, allowing users to change the quantity (or delete the item if the quantity is set to zero).

  • Web? Application? App? All three? – DarrylGodden Jul 4 at 10:05
  • I am developing for a payment device that runs on Android (Lollipop,API 22). A user can scan product barcodes, and the scanned products appear on a list – akubi Jul 4 at 23:18

Consider using a number input element with -/+ symbols and an additional option to remove the items.

It is a very common behaviour, particularly in e-commerce checkout sections.

Some (real & conceptual) examples:

enter image description here

enter image description here

enter image description here

  • 1
    Thank you for showing examples – akubi Jul 4 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.