Forums / General Questions / Appears that there's only 1 guest cart

Appears that there's only 1 guest cart

Locked

Started by wearsheep on 1 Apr 2008, 5:45 PM · Views: 1,197

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
1 Apr 2008, 5:45 PM
#1
wearsheep avatar

wearsheep

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Appears that there's only 1 guest cart

I am finishing up customization on my first Zen-Cart and while I was testing it asked my brother to try it as well.

He said "That's funny, I have 3 <misc> in my cart". (Which is what I had in my guest cart.) He then said, "Oh, now it's fixed" and when I refreshed I now had what he'd put in his cart.

So it looks to me as if I have ONLY one guest cart. hmmm, that doesn't seem right...so any ideas on what's been screwed up?

Thank you!

1 Apr 2008, 6:24 PM
#2
wearsheep avatar

wearsheep

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Re: Appears that there's only 1 guest cart

so I've come to the conclusion that I've managed to delete the cart session id (even a cart saved with a user id is affected by changes to a guest cart).

I'd be grateful to anyone who can share tips on re-establishing it.

1 Apr 2008, 6:31 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Appears that there's only 1 guest cart

You would have to be getting pretty deep into the inner workings of ZC to have affected cart sessions... unless perhaps you have changed something in admin > Configuration > Sessions.

1 Apr 2008, 6:57 PM
#4
wearsheep avatar

wearsheep

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Re: Appears that there's only 1 guest cart

I don't think so...I think I just deleted it from the top of the shopping cart page so that it's not being generated any longer. Almost all of the changes have been purely aesthetic (except for breaking the cart) - I think).

I think I just need to comb through the original files to see where I went wrong...

1 Apr 2008, 7:18 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Appears that there's only 1 guest cart

Any files you would be touching for template development would not affect the session management. You can't just "delete it from the top of the shopping cart page".

1 Apr 2008, 9:41 PM
#6
wearsheep avatar

wearsheep

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Re: Appears that there's only 1 guest cart

Just to give some context: The purpose of the site is to sell 8 items (tickets, etc) for a benefit and this isnt' really what Zen Cart (as far as I can tell, anyway) is designed to do.

To that end I've stripped most of the navigation because I really only want to display one page - the category page that includes the 8 items. I think while doing that I inadvertently deleted the include that creates the session id (perhaps init_sessions.php) and that's the boat in which I sit.

So I'm debating whether it would be faster to replace all the files and reconfigure or if it could possibly be more efficient to wade through the changes I've made and hopefully discover the flaw.

Or...someone will know EXACTLY which line of code I need to RE-include and that'll be that.

if only...

2 Apr 2008, 2:50 AM
#7
wearsheep avatar

wearsheep

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Re: Appears that there's only 1 guest cart

duh! I was arriving at the cart via a link that included the session id number.

That WAS easy.

Thanks for your input gjh42!