[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [mv] Saved Cart Question?
On Sun, Mar 25, 2001 at 12:32:24AM -0700, OTR Comm wrote:
> hello,
>
> Does anyone know how to remove an item from a cart that has been
> 'saved'? It appears that MV3.14 saves the cart in userdb.gdbm, but I do
> not know how to get directly at the cart in the database.
>
> I am trying to do this with a perl script that runs as a special
> process.
>
> The problem is this. If someone puts an item in their cart and saves the
> cart, there is a record (I believe in userdb.gdbm and maybe
> session.gdbm) of this saved cart. Then if a store owner removes one of
> the items in the saved cart from the store before the customer has had a
> chance to process the items in the saved cart, when the customer comes
> back and 'recalls' the cart, the removed item will be in it.
>
> I wnat to write a script that will go through the 'saved' carts in
> userdb.gdbm (and session.gdbm if necessary) to remove these unavailable
> items from the carts.
Is that any different from an item disappearing from the store
during a session? Do you have some sort of extra long session life
tied in with prepayments or some such?
I just tried that and the item simply disappears from the cart but
with a qty 1 and price of zero. We've got some custom cart code so
that might or might not be same for you.
Seems to me a little perl routine on the cart/checkout pages
could handle that nicely. Or is there some specific reason you need
to remove it from the gdbm file itself, whether the visitor returns
or not?
cfm
>
> Does anyone know how this can be done?
>
> Thanks,
> Murrah Boswell
>
> _______________________________________________
> Minivend-users mailing list
> Minivend-users@minivend.com
> http://www.minivend.com/mailman/listinfo/minivend-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://www.minivend.com/mailman/listinfo/minivend-users