Re: Newbie problem blah blah blah

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14924
interpreted = N
texte = >pricing etc it does not return the correct title. Therefore it is not >accessing the correct database or I wouldn't be getting the error. Where >does it get information on what database to use?Gotcha. You must set the database with db=xx.db when you view the order file, or else it cannot figure out where to look it up. You'll notice that when you do $Add or $ShowCart, you send it the db for exactly this reason.WebCatalog does some fancy trickery to simplify your WebDNA inside [LineItems]. If it finds a [xxx] variable it doesn't recognize as one of the predefined textA-E kinds of things, it does a [Lookup] based on the [Sku] of that lineitem and if it finds valid information it will display it.If it turns out there's a bug in WebCatalog that causes this trickery to stop working for some reason, then you can work around it by putting [Lookup] inside your lineitems loop yourself.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Newbie problem blah blah blah (Kenneth Grome 1997)
  2. Re: Newbie problem blah blah blah (Grant Hulbert 1997)
  3. Re: Newbie problem blah blah blah (Grant Hulbert 1997)
  4. Re: Newbie problem blah blah blah (Kenneth Grome 1997)
  5. Re: Newbie problem blah blah blah (Bob Minor 1997)
  6. Re: Newbie problem blah blah blah (Bob Minor 1997)
  7. Re: Newbie problem blah blah blah (Bob Minor 1997)
  8. Re: Newbie problem blah blah blah (Kenneth Grome 1997)
  9. Re: Newbie problem blah blah blah (Marty Schmid 1997)
  10. Re: Newbie problem blah blah blah (Bob Minor 1997)
  11. Re: Newbie problem blah blah blah (Bob Minor 1997)
>pricing etc it does not return the correct title. Therefore it is not >accessing the correct database or I wouldn't be getting the error. Where >does it get information on what database to use?Gotcha. You must set the database with db=xx.db when you view the order file, or else it cannot figure out where to look it up. You'll notice that when you do $Add or $ShowCart, you send it the db for exactly this reason.WebCatalog does some fancy trickery to simplify your WebDNA inside [lineitems]. If it finds a [xxx] variable it doesn't recognize as one of the predefined textA-E kinds of things, it does a [lookup] based on the [Sku] of that lineitem and if it finds valid information it will display it.If it turns out there's a bug in WebCatalog that causes this trickery to stop working for some reason, then you can work around it by putting [lookup] inside your lineitems loop yourself.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Grant Hulbert

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:

Need relative path explanation (1997) Shopping Cart Problem (1998) quantity minimum problem (1997) Trigger Output (2003) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) Using Plug-In while running 1.6.1 (1997) Somewhat OT: IE issues (2002) [UPPERCASE] (1997) External DBs for webcat on maco os (2001) New servers and new inline cache (1997) RE: Error reading data -1 (1997) empty shopping cart message (1997) WebCat2 Append problem (B14Macacgi) (1997) Re:listfiles-looking for slick solution (1997) cart info (1998) WebCat2 - Getting to the browser's username/password data (1997) bug in [SendMail] (1997) WebCat2 - Getting to the browser's username/password data (1997) searchable list archive (1997) Re:Gil's in the lead (1999)