Re: Wierd thing in ViewOrder.tpl

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22788
interpreted = N
texte = >>When the shopping cart process is complete everything seems fine, >>including the confirmation email. However, when looking at the vieworder >>file, all the information comes up in the template except the title of >>the item. The price comes up fine but where I have Title [Title] comes up >>instead of the actual item title. It apppears OK every where else >>throughout the process. > > You need to set the db=whatever.db so WebCatalog knows where to look up > things like title. Title is not stored in the order file, so it needs to > do a lookup based on SKU. >Another way to do this is to pass [title] through with a textA hidden field, eg.,and then replace [title] with [textA] in your ViewOrder template...-will Associated Messages, from the most recent to the oldest:

    
  1. Re: Wierd thing in ViewOrder.tpl (Will Starck 1999)
  2. Re: Wierd thing in ViewOrder.tpl (Richard Wylie 1999)
  3. Re: Wierd thing in ViewOrder.tpl (PCS Technical Support 1999)
  4. Re: Wierd thing in ViewOrder.tpl (Mícheál O Sé 1999)
  5. Wierd thing in ViewOrder.tpl (Richard Wylie 1999)
>>When the shopping cart process is complete everything seems fine, >>including the confirmation email. However, when looking at the vieworder >>file, all the information comes up in the template except the title of >>the item. The price comes up fine but where I have Title [Title] comes up >>instead of the actual item title. It apppears OK every where else >>throughout the process. > > You need to set the db=whatever.db so WebCatalog knows where to look up > things like title. Title is not stored in the order file, so it needs to > do a lookup based on SKU. >Another way to do this is to pass [title] through with a textA hidden field, eg.,and then replace [title] with [textA] in your ViewOrder template...-will Will Starck

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:

Force leading zeros (1998) Large sites (2003) Almost a there but..bye bye NetCloak (1997) RE: [WebDNA] Fails to recognize comma-separated db (2010) [WebDNA] TLS 1.2 and [tcpconnect] (2018) Bad File: DeleteCommand.html (1998) Permissions with 3.06 Linux (2000) Help!!!! (1997) OT OSX Login Problem (2006) Applescript, WebDNA, and PDF (1997) too many nested ... problem (1997) Variable prices and Formulas.db (1997) Configuring E-mail (1997) Code database (1998) method of payment (1997) Counting records (2000) Bug in 4.5 - Needs to be fixed ASAP. (2002) Goofy Date Sorting (1998) Alternating colors (1997) Catalogs and W* (1996)