Zen Cart Logo
Forums / General Questions / Shopping Cart Session (Guest/Customer not logged in)

Shopping Cart Session (Guest/Customer not logged in)

Views: 930

Results 1 to 6 of 6
20 Sep 2014, 5:41 AM
#1
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Shopping Cart Session (Guest/Customer not logged in)

Hi peeps.

I've noticed that a customer with items in the cart, after a short while of inactivity, when a customer navigates to a new page they get the opps session expired page and the content of the shopping cart is lost.

What is the default time the shopping cart should stay valid for?

Is this normal behaviour or do I have a config problem somewhere?

If it is normal is there a way to maintain the cart session until the browser is closed instead/is it safe to do this?

I worry that while customers add to cart to get a total value on multiple websites to do a comparison shop that if we are the one they choose and come back the cart is lost, they would rather pay a bit extra and use one of the other sites they have open than add everything to cart again?

Many thanks in advance.

20 Sep 2014, 6:58 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Shopping Cart Session (Guest/Customer not logged in)

philip937:

Hi peeps.

I've noticed that a customer with items in the cart, after a short while of inactivity, when a customer navigates to a new page they get the opps session expired page and the content of the shopping cart is lost.

What is the default time the shopping cart should stay valid for?

Is this normal behaviour or do I have a config problem somewhere?

If it is normal is there a way to maintain the cart session until the browser is closed instead/is it safe to do this?

I worry that while customers add to cart to get a total value on multiple websites to do a comparison shop that if we are the one they choose and come back the cart is lost, they would rather pay a bit extra and use one of the other sites they have open than add everything to cart again?

Many thanks in advance.

Philip,

  1. the default time is 20 minutes of inactivity
  2. Yes this is normal behaviour
  3. try this mod "keep cart"
20 Sep 2014, 7:07 AM
#3
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Shopping Cart Session (Guest/Customer not logged in)

Thanks I'll take a look. Do you know if this modifies any core files? After a simple fix really as I have many modifications and do not want to override them.
Failing that, is it just possible to extend the session to 40 or 60 mins?

20 Sep 2014, 10:27 AM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Shopping Cart Session (Guest/Customer not logged in)

philip937:

Thanks I'll take a look. Do you know if this modifies any core files? After a simple fix really as I have many modifications and do not want to override them.
Failing that, is it just possible to extend the session to 40 or 60 mins?

I think it there were only 2 new files in the package and no overrides. There are some admin settings, which can be used for editing the time.

20 Sep 2014, 12:12 PM
#5
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Shopping Cart Session (Guest/Customer not logged in)

Thanks Design 75.

Been testing it this morning and it works a treat.

after leaving the computer idle for over 30 mins and clicking Checkout, instead of the cart emptying and getitng a whoops you session has expired it was seemless, it went straight to the login page with all cart items in tact :)

one thing I did notice is that when you are registered and logged in, when you log off the cart items are still there. I wonder if the cart should be allowed to empty at that point. Fairly mine though, i'd doubt any one would notice!

happy chappy :hug:

23 Sep 2014, 9:15 AM
#6
Join Date:
Sep 2014
Posts:
4
Plugin Contributions:
0

Re: Shopping Cart Session (Guest/Customer not logged in)

Congratulations Mr.philip. Can anybody suggest me the safe way of doing wholesale shopping in online?