kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

Non-intuitive behavior when changing quantity in the cart #197

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add an item to your cart
2. go to manage cart screen
3. place cursor in the quantity field, change it, and hit "enter" on your
keyboard

What is the expected output? What do you see instead?

I would expect this to update the quantity for that field. What happens
instead is that it actually sends/receives a request (you can see your
browser doing something). When it finishes...nothing changed. ie it didn't
update the price or total. AND if the user browses away/continues shopping,
there change isn't saved!

Alternative solutions could include: 

- using the return, while on cart review/manage screen and cursor in
quantity field, to update the quantity and price (ie what the "update"
button does). This would be ideal.

- Something else that makes this interface more intuitive??

Original issue reported on code.google.com by cjj.ifpe...@gmail.com on 25 Apr 2008 at 2:45

GoogleCodeExporter commented 8 years ago

Original comment by cjj.ifpe...@gmail.com on 12 Sep 2008 at 8:51

GoogleCodeExporter commented 8 years ago
I believe this is because pressing return executes the first form button on the 
page
(in this case, Delete). Using Firebug, if I switch the positions of the Update 
and
Delete buttons such that Update is first, pressing return works as expected.

I recommend either swapping the button positions in the template...I grep'd the 
code,
but couldn't find the relevant file(s) to change...

Original comment by mcgruff....@gmail.com on 11 Oct 2008 at 6:57