OneIdentity / IdentityManager.Imx

HTML5 source code for Identity Manager web apps
Other
26 stars 107 forks source link

Adding same product twice to shopping cart #114

Closed NielsDeGroot closed 4 months ago

NielsDeGroot commented 4 months ago

Use case: User logs into web portal and adds the same product twice by mistake to the shopping cart. Product is requestable resource 'QERResource' (just normal resource not Multi-request)

Request > New Request Product: [v] Resource A [Add to cart] Product: [v] Resource A [Add to cart] -> Go to cart

Shopping cart
Product Actions Check result
Resource A Edit Not Checked [Remove from Cart]
Resource A Edit Not Checked [Remove from Cart]

User presses on [Submit]

Message: At least one product in your shopping cart cannot be requested.

Shopping cart
Product Actions Check result
Resource A Edit [Error] [Remove from Cart]
Resource A Edit [Error] [Remove from Cart]

User removes one of the same products from the cart: clicks on [Remove from cart]

Message: Remove Product From Cart Are you sure you want to remove the product from your shopping cart? [Yes]

Shopping cart
Product Actions Check result
Resource A Edit [Error] [Remove from Cart]

At this point the message: At least one product in your shopping cart cannot be requested. is still on the screen and the Submit button is still greyed out. ShoppingCart

Pressing F5 or going to the dashboard and back in the cart, login off and on again don't refresh the current status of the shopping cart.

To get rid of this you need to select the (three-dot icon) in the right corner of the Shopping cart and select 'Check shopping cart'

This is not the best user experience in my opinion Maybe it is an option to perform the 'Check shopping cart' not only on shoppingcart [submit] but also when a user removes a product [Remove from Cart]?

Regards Niels

Mathnstein commented 4 months ago

I agree - the UX could be improved here. Our UX team is currently working on the shopping cart and this will be useful feedback for them.

Mathnstein commented 4 months ago

Created an internal ticket: 446294