[ic] Re: How to store, load and/or delete the cart into/from another DB (not userdb)?

Joachim Leidinger interchange-users@icdevgroup.org
Wed Aug 28 18:40:01 2002


racke@linuxia.de wrote:
> Joachim Leidinger writes:
> 
>> Hi List,
>> I've no luck with the mail archives. How can I store, load, and delete 
>> a cart from another db (for example carts.gdbm). Per default, the 
>> foundation store uses userdb.gdbm. But I want to use another DB file 
>> for the carts.
> 
> 
> What about:
> $Tag->userdb({function => 'set_cart', database => 'carts', nickname => 
> $nn});


Hmmm....I need more detail informations. Did I create the database 
"carts" with which format before? If a lot of users use the same 
nickname, what happens? Is the same nickname still different by teh 
fields 'code' and 'password' in the database 'carts' like the database 
'userdb'?

How can I get the basket, which is stored in the database 'carts' or 
what should I change which codes of the demo shop 'foundation' to 
display the stored carts or stored recurring carts from the table 'carts'?

I'm in a muddle!

Sorry!

Thank a lot for your time.

Joachim


-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de