[ic] Best way to save cart?

Grant emailgrant at gmail.com
Sat Jul 7 14:42:22 EDT 2007

> > >> but nothing is ever written to that shopping_cart field.  I've tried
> > >> setting up a userdb table and removing the database parameter, and
> > >> I've tried with and without the nickname and target fields, all with
> > >> no luck.  There is nothing in the error.log.  Any idea what might be
> > >> wrong?
> > >
> > >Just so we don't miss the obvious, did you export the userdb back to
> > >text file? (Assuming that you are checking the shopping_cart field in
> > >userdb.txt) ?
> >
> > Yes definitely.  I didn't change the definition of the shopping_cart
> > field in dbconf/mysql/users.mysql from the default, but in my
> > experience, it should write something and then truncate it.  There's
> > nothing in that field at all.
> The field I see the stuff saved in is userdb.carts .  The carts all
> get saved in that text field as a perl hash.  Also a warning, I am
> running 4.8.6 .

Hi Jeff,

I just experimented with a carts field in userdb with no luck.  The
field name for you is "carts" right?  What does the [userdb] tag
you're using set_cart with look like?

- Grant

More information about the interchange-users mailing list