Zen Cart Logo
Forums / General Questions / Viewing 'users shopping cart' within 'Who's Online'

Viewing 'users shopping cart' within 'Who's Online'

Locked

Views: 1,148

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
8 Apr 2010, 12:06 AM
#1
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Viewing 'users shopping cart' within 'Who's Online'

Just a quick question - Should I be able to see a 'users shopping cart' within my 'who's online' page? - only asking, as I've noticed a few references to this feature within a few posts.

I've never seen this on my 'who's online' page (logged in customers or visitors with 'green' carts )- so not sure if this is something that I have to turn on?

Many thanks :smile:

8 Apr 2010, 12:19 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Viewing 'users shopping cart' within 'Who's Online'

If you store your sessions in the database, then you should be able to see it ...

There are instances where it still won't work and some customization of the whos_online.php might be required ...

8 Apr 2010, 1:33 AM
#3
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Viewing 'users shopping cart' within 'Who's Online'

Hi Ajeh & thanks for your reply :smile:
I know next to nothing about 'sessions'.
According to my admin ==> configuration ==> sessions info, sessions 'directory' is /clientdata/clients/p/a/'my site' /www/cache

So - that's not going to a database, rather a directory?:huh:

There are instances where it still won't work and some customization of the whos_online.php might be required ...If it doesn't always work - what would one have to do to make it show up?

Thank you so much for your help (and I love your very cool new Easter hat:yes:)

8 Apr 2010, 1:39 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Viewing 'users shopping cart' within 'Who's Online'

peek inside your two configure.php files for where the sessions are stored ...

8 Apr 2010, 1:53 AM
#5
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Viewing 'users shopping cart' within 'Who's Online'

my includes/configure.php = define('STORE_SESSIONS', 'db');

my admin/includes/configure.php = define('STORE_SESSIONS', '');
// for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

hmmm - should they be the same?

8 Apr 2010, 1:59 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Viewing 'users shopping cart' within 'Who's Online'

You need them both to be stored to the database ...

8 Apr 2010, 2:06 AM
#7
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Viewing 'users shopping cart' within 'Who's Online'

Ok - thank you - so do you think this would this would have been a set up error from the beginning, or would there be any reason for these config file storage notations to be different?

Also, will I have to amend anything in the admin ==> configuration ==> sessions info, sessions 'directory'?

8 Apr 2010, 2:08 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Viewing 'users shopping cart' within 'Who's Online'

You are not using a sessions directory if stored in the database ...

Did you try a clean hit to your site and adding to the cart to see if you see the cart in your admin?

8 Apr 2010, 2:25 AM
#9
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Viewing 'users shopping cart' within 'Who's Online'

Ajeh, you are an angel! :clap:
It works! It works! Great feature - thank you so very very much for your valuable time & help :hug:

You have made my day

8 Apr 2010, 3:36 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Viewing 'users shopping cart' within 'Who's Online'

You are most welcome ... thanks for the update that this is working for you ... :smile: