RE: Shopping Cart Questions

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19569
interpreted = N
texte = > -----Original Message----- > From: josh [mailto:josh@pop-art.com] > Yes, all the sites are on the same computer and we want shoppers > to be able to navigate between sites with the same cart.I'm not sure if WebCat associates the product database with the shopping cart or with individual items in the cart. It seems, based on your trial that it is associated with the cart.With that in mind, you may want to put all products into a single database with an identifying field for which store they belong to. It's probably not much of a performance hit because it will occupy the same ram space with the addition of an identifying field.If the product databases have the same fields, you might be able to make the master database by making a file likemaster.db which would contain:[include avendor.db] [include bvendor.db] [include cvendor.db]and a separate master.hdr file which would contain the field names. That would make individual db maintenance more simple.I would have to test to see if [include] contexts work in .db files. I think they would.-Pat Associated Messages, from the most recent to the oldest:

    
  1. RE: Shopping Cart Questions (PCS Technical Support 1998)
  2. RE: Shopping Cart Questions (Pat McCormick 1998)
  3. RE: Shopping Cart Questions (josh 1998)
  4. Re: Shopping Cart Questions (Rob Marquardt 1998)
  5. RE: Shopping Cart Questions (Pat McCormick 1998)
> -----Original Message----- > From: josh [mailto:josh@pop-art.com] > Yes, all the sites are on the same computer and we want shoppers > to be able to navigate between sites with the same cart.I'm not sure if WebCat associates the product database with the shopping cart or with individual items in the cart. It seems, based on your trial that it is associated with the cart.With that in mind, you may want to put all products into a single database with an identifying field for which store they belong to. It's probably not much of a performance hit because it will occupy the same ram space with the addition of an identifying field.If the product databases have the same fields, you might be able to make the master database by making a file likemaster.db which would contain:[include avendor.db] [include bvendor.db] [include cvendor.db]and a separate master.hdr file which would contain the field names. That would make individual db maintenance more simple.I would have to test to see if [include] contexts work in .db files. I think they would.-Pat Pat McCormick

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

New public beta available (1997) Forumulas.db & Variables (2002) can pull down menu do a ONCHANGE= without Java script? (2000) Nested vs conditional (1997) If Empty ? (1997) vars (2000) [OT] Airport Network (2003) How to unsubscribe (me too) (2001) [writefile] (1997) New WebDNA Solutions ... (1997) Running 2 two WebCatalog.acgi's (1996) list items (1998) UPDATE PROBLEM (1997) [ModDate] & [ModTime] ? (1997) (no subject) (1997) Need help with emailer- 2 issues (1997) Pirated WebCat? NOT... (2003) WebCatalog can't find database (1997) [OT] DNS on Development Server (2004) please unsubscribe me! (2000)