Bug 43569

Summary: products duplicated in cart
Product: Red Hat Web Site Reporter: Maraya Cornell <maraya>
Component: New StoreAssignee: Cameron Prince <cprince>
Status: CLOSED CURRENTRELEASE QA Contact: wbirkhea
Severity: medium Docs Contact:
Priority: medium    
Version: current   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-07 16:44:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Example of duplicate items in cart. none

Description Maraya Cornell 2001-06-05 16:48:49 UTC
Description of Problem:
The cart lists duplicated items.  See attached gif.

How Reproducible:
Tried it with Red Hat Linux Professional 7.1 and Red Hat Linux 7 Getting 
Started Guide, and the bug happened both times.

Steps to Reproduce:
1. Click to buy an item.
2. Continue shopping.
3. Click to buy the same item again.

Actual Results:
Two line items show for that product item.  You can keep clicking to buy 
that same item, and more line items will show up in the cart, apparently 
indefinitely.

Expected Results:
There should be only one line item for each product.  Clicking the buy 
button for the same product only brings you back to the cart page: it 
shouldn't add another line item or change the quantity of that item.  
Quantity only changes when user changes the quantity field on the cart page.  
At least, this is how the store currently works on the live site.

Additional Information:

Comment 1 Maraya Cornell 2001-06-05 16:49:24 UTC
Created attachment 20313 [details]
Example of duplicate items in cart.

Comment 2 Cameron Prince 2001-06-07 16:44:13 UTC
Set SeparateItems No, restarted and verified on webdevel/bmantest.

Fixed.

Comment 3 Maraya Cornell 2001-06-07 17:15:51 UTC
Note that clicking on an item multiple times does result in incremented value in 
the Qty field, which is not the behavior of the current store. Still, it makes 
sense this way too, so I'm closing this bug.