Re: Information on Vieworders.tpl

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19909
interpreted = N
texte = >Can anybody help me get a product size and color to appear on the >vieworders.tpl page. Each product in my db has a select menu coded in >for size and color. All color select menus have been named indexA >and are within a category titled Color in the db. The same goes for >the size select menu, all size select menus are named indexB and are in > >the category titled Size within the db. To show the color or size >selected by the customer, (on the shopingcart.tpl) all I have to do is >put [index A] or [indexB] within the foundItems loop. This works great >but doesn't work on the vieworders.tpl.The vieworders.tpl gets its data from the cart (or order) file, not from the database -- and there's no such field as [indexA] in that file -- so you have to use one of the 'generic' fields available in the order file. Take a look at the order file format information in the HTML docs to learn more about this ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Information on Vieworders.tpl (PCS Technical Support 1998)
  2. Re: Information on Vieworders.tpl (Kenneth Grome 1998)
  3. Information on Vieworders.tpl (Robert Ruth 1998)
  4. information on Vieworders.tpl (Robert Ruth 1998)
>Can anybody help me get a product size and color to appear on the >vieworders.tpl page. Each product in my db has a select menu coded in >for size and color. All color select menus have been named indexA >and are within a category titled Color in the db. The same goes for >the size select menu, all size select menus are named indexB and are in > >the category titled Size within the db. To show the color or size >selected by the customer, (on the shopingcart.tpl) all I have to do is >put [index A] or [indexB] within the foundItems loop. This works great >but doesn't work on the vieworders.tpl.The vieworders.tpl gets its data from the cart (or order) file, not from the database -- and there's no such field as [indexA] in that file -- so you have to use one of the 'generic' fields available in the order file. Take a look at the order file format information in the HTML docs to learn more about this ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

[WebDNA] Help with a search (2018) lookups or math? (1998) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Printing from Web pages (1998) Document Contains No Data! (1997) The Send Mail Button is the Best Troubleshooter (1998) Summary layout (1997) off topic - dna snipets (1997) lookup and two records? (1997) math on date? (1997) Decimal point in search.... (2004) ShowIf Question (1998) sendmail and attachments (2004) WebCat2 - Getting to the browser's username/password data (1997) redirect from the errorsMessages.db entry (1997) Purchased cart being overwritten - still !?? (1997) File dates in WebCatalog .tmpl/.inc (1997) WebCat2 - [format thousands] (1997) Error Lob.db records error message not name (1997) WebCatalog Mac 2.1b3 (1997)