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:

Slow wiht MAC OS and Webstar IV (2002) formvariables question (2000) HideIf ip= OR ip (1998) WebCat2b12 - New features for 1.6 users ... (1997) hmmm (2006) Date format problems (1997) [SMSI] WebDNA is too good to go away! (2006) [WebDNA] Admin Login Required to Serve any TPL Page (2009) Re:Hideif / Showif (1998) Am I going senile? (Price recalc based on quantity) (1997) TCP Connect/send and CGI (2003) Tax Collection for Different Items (2003) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) SERIAL NUMBER BEING LOST AGAIN!!! (1999) MySQL Wildcard Trouble (2006) Opinion: [input] should be called [output] ... (1997) TRAINING videos - Prove IT. (1998) Special delete ... (1997) test (2002) Merging databases (1997)