Re: Command=Showcart?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30342
interpreted = N
texte = >Sorry - This does work but I need the fields [header1] and [header2] to be >available on every page and interpreted that the set header wasn't' working. >Set header is working but I need [header1] and [header2] to be available on >every page and I don't really feel like coding all my page with: > >&command=showcart&db=fakedb.txt > >Any ideas?If I understand correctly, you just want the values of [header1] and [header2] on every page, right? Use [ORDERFILE] to get the information from the cart. Save on disk hits by passing header 1 and header 2 into text variables (so you only have to open the cart file once per page):[ORDERFILE file=pathtofile] [TEXT]var1=[HEADER1][/TEXT] [TEXT]var2=[HEADER2][/TEXT] [/ORDERFILE]Michael------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Command=Showcart? (WebDNA Support 2000)
  2. Re: Command=Showcart? (Michael Winston 2000)
  3. Re: Command=Showcart? (Jesse Proudman 2000)
  4. Re: Command=Showcart? (Kenneth Grome 2000)
  5. Re: Command=Showcart? (Jesse Proudman 2000)
  6. Re: Command=Showcart? (Bob Minor 2000)
  7. Command=Showcart? (Jesse Proudman 2000)
>Sorry - This does work but I need the fields [header1] and [header2] to be >available on every page and interpreted that the set header wasn't' working. >Set header is working but I need [header1] and [header2] to be available on >every page and I don't really feel like coding all my page with: > >&command=showcart&db=fakedb.txt > >Any ideas?If I understand correctly, you just want the values of [header1] and [header2] on every page, right? Use [orderfile] to get the information from the cart. Save on disk hits by passing header 1 and header 2 into text variables (so you only have to open the cart file once per page):[ORDERFILE file=pathtofile] [text]var1=[HEADER1][/TEXT] [text]var2=[HEADER2][/TEXT] [/ORDERFILE]Michael------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Michael Winston

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:

Using Japanesse text with webcat. (1998) Adding non-SKUs to cart (1998) Where is eudora plugin? (1998) Hiding Brands (2004) ErrorMessages.db suggestion (1997) [WriteFile] problems (1997) writing db to disk (1997) E-mailer error codes (1997) New WebCatalog Version !!! (1997) WebCat 5 Intranet Question (2003) version 2 for NT (1997) WebDNA permissions? (2002) shownext (1997) A Global Variable (1997) [UPPERCASE] (1997) [trim]?! (2004) How is it done? (1998) Call For Entry: Third Annual Business on The Internet (BOTI)Awards (1999) WebCat using all my CPU on OS X Server (2001) Mac Vs WindowsNT (1997)