Items in Shopping cart are lost on login.
-----------------------------------------

                 Key: OFBIZ-314
                 URL: http://issues.apache.org/jira/browse/OFBIZ-314
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: ecommerce
    Affects Versions: SVN trunk
         Environment: Windows XP Pro, Postgres, JDK 1.4.2
            Reporter: Rohit Sureka


Hi,

I see a strange behaviour in the shopping cart items, the items added to a 
shopping cart prior to login are not saved or added to the cart once the 
customers logs in and if he has added items in his shopping cart previously.  
The items are also lost if the customer adds product to his cart from different 
catalog. The behaviour can be replicated as follows:

CASE 1:
1) create a user account in the ecommerce.
2) add items to shopping cart and then log off without completing the checkout.
3) again add some different items to your cart as a anonymous user and then 
login with the user ID created in step 1.

Ideally the items added in both the sessions should be now present in the 
shopping cart, but strangely only the items added in first session in step 2, 
is present in the cart. The items added in the last step, before the customer 
logs in, are lost.

I think the new items should be added to the cart and the cart should have all 
the items added by the customer in all sessions where the checkout was not 
completed and the customer had not purposefully removed the items from the 
cart. I am not sure if there is a settings problem, i have the auto-save cart 
enable in the store and i am using the latest SVN.

CASE 2:
1) In Catalog A add an item to the cart.
2) Change catalog from Catalog A to Catalog B.
3) While in catalog B, you login and want to checkout. All items previously 
added on step 1, in catalog A, are not there in the cart during checkout.

Rohit

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to