[ic] No Saved Carts entered

TGroup interchange-users@icdevgroup.org
Sun Sep 29 22:51:01 2002


>Hi All.  A client called me this morning to complain that the IC cart I
>created for him does not save the cart after directed to do so.
>Rather than
>try to get him to explain it all to me over the phone, I went to his
>catalog, created a user account, added a couple of items to the cart, then
>clicked the "Save this Cart" button.
>
>Then I clicked on the "SERVICE" button, and the "Saved Carts / Recurring
>Orders" links.  The result:  "No Saved Carts entered. No Recurring Orders
>entered."
>
>Then I came to this forum and checked out the new site at:
>http://www.funhousetoys.com/ .  Not only does that site save my prematurely
>ended shopping cart session, it does so without my having to click on "Save
>this Cart".  In fact, there's no "Save this Cart" option there.
>
>I'm using IC 4.8 in a CPanel environment.  Any help is, as always, deeply
>appreciated, but I know that my appreciation doesn't pay your bills. :-)
>Thanks in advance.
>
>TGroup

Someone else may have a better answer for you, but I know you can set the
session ID (and thus cart info) to not expire when the browser session ends
if that's the way you want it.  The problem with that is you end up with a
lot of session data building up if you don't have the carts expire within a
reasonable amount of time.

- Grant

Thank you for the response Grant... I'm still looking for the location of
the file where the session ID can be set.

I did find this from last year's list, but it didn't work when I tried it:
==
"Actually, I have finally been able to dig into the usertag section and
discover the load_cart and delete_cart family of functions that handle these
calls.  Including the following line near the top of my basket.html did the
trick:
[if cgi retrieve_cart][load_cart nickname="[cgi retrieve_cart]"][/if]
This picks up the CGI variable load_cart which is set by the link on the
saved_carts.html page."
==
I added that link at the top of the basket.html page, and the cart was saved
as long as I kept the browser open.  Even after I logged out and returned,
the cart was there.  But when I closed the browser and returned, the saved
cart was gone.

I'll keep researching, and checking here for other responses as well.  Thank
you all.
-TGroup