This could be a store parameter.

Jacques


----- Original Message ----- 
From: "David E Jones" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, September 11, 2006 12:06 AM
Subject: Re: Login and items in Shopping cart.


> 
> My guess based on what you describe would be that the code that  
> restores the card (in ShoppingListServices.java if I remember right)  
> probably explicitly clears the cart before loading it from the auto- 
> save shopping list...
> 
> Before changing this to not clear the cart we should discuss real and  
> possible side effects. I think there was some discussion about this  
> that you should be able to find on the old lists.ofbiz.org dev  
> archives. I don't remember the reasons for doing it this way, or if  
> they were any good... It goes seem a bit funny...
> 
> -David
> 
> 
> On Sep 10, 2006, at 7:01 AM, Rohit Sureka wrote:
> 
> > Hi Chris,
> >
> > the items in the cart are saved properly, no issues about that.
> >
> > i will give you an example, to be more clear with the shopping cart  
> > behaviour that i am seeing:
> >
> > say you are a customer, you visit my site and a product to shopping  
> > cart. You proceed to create an account on the website and moves  
> > towards completing the checkout. But for whatever reason you do not  
> > place the order and leave the site. Now your session is destroyed  
> > and the cart is auto saved in the system.
> >
> > Till this point everything is OK, right.
> >
> > Now you decide to complete the purchase and revisit the website.  
> > You are browsing through some other products on the site and add  
> > them to your cart too. Once you have added products to your cart  
> > you decide to checkout. You login to your account previously  
> > created. This is where the behaviour of the cart changes. The items  
> > that you just added before logging in are lost and no longer in the  
> > cart. i think this is a serious draw back, customers would then be  
> > forced to add the products again to the cart, i am sure many  
> > customers would walk away at this.
> >
> > To provide the customers with seamless experience the products  
> > added to the cart before logging in should be present in the cart  
> > even after logging in.
> >
> > I hope i am making sense, you will find that this is how most of  
> > the ecommerce site works, you may try something similar on  
> > amazon.com and it makes sense too, you do not your customers get  
> > irritated with and think that something is probably wrong with the  
> > site.
> >
> > Rohit
> >
> > ----- Original Message ----
> > From: Chris Howe <[EMAIL PROTECTED]>
> > To: [email protected]
> > Sent: Sunday, September 10, 2006 8:04:57 AM
> > Subject: Re: Login and items in Shopping cart.
> >
> >
> > The shopping cart is auto saved for the session.  When
> > you log out, the session is destroyed.  If a customer
> > wants to save their shopping experience for another
> > time, they can add their cart to a shopping list.
> > This will be saved to the database and not to the
> > sesion, so the customer can log out, log in and reload
> > their shopping list to cart.  If you wanted to, you
> > could create a service that auto creates a shopping
> > list when the customer logs out (you'd want to call it
> > a different type then the ones currently in use) and
> > then auto check that when the customer logs in.
> > However, I don't think this is the default behavior
> > that most companies would want.
> >
> > We have a supplier that saves our carts and gives us
> > an option to finish our order when we log in, but to
> > auto reload it would be inconvenient.  Afterall, there
> > was a reason the customer logged out.
> >
> > --- rohit2006 <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> 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 behaviour can be replicated as follows:
> >>
> >> 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.
> >>
> >> Hope somebody looks into this.
> >>
> >> Rohit
> >> -- 
> >> View this message in context:
> >>
> > http://www.nabble.com/Login-and-items-in-Shopping-cart.- 
> > tf2246796.html#a6231356
> >> Sent from the OFBiz - User forum at Nabble.com.
> >>
> >>
> >

Reply via email to