Re: [lineitems]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36269
interpreted = N
texte = No, the real difference between the invoice page and the page after purchase is that the invoice page is within a search context on the main database. This is a hard concept to manage, but the orderfile contains a fixed number of fields, with names that you cannot change. See the purchase command in the Docs for a list of the fields. Any field in your main database which you want to display must either be stored in one of the misc. lineitem fields [textA]-[textE] or in the [Header1]-[Header40] if it is something linked to the order and not the line. Alternatively, you can do a lookup or a search while within the lineitems context and get the fields you need based on SKU.The only fields you list there which are valid within a lineitems context are: [lineIndex], [sku], [quantity], and [price].HTHJohn PeacockKalin Mintchev wrote: > > hi > > i have this problem: > > if i use this: > [lineItems] > [category] > [lineIndex] > [sku] > [artist] > [title] > [quantity] > [price] > > [/lineItems] > > in a invoice.html within [orderfile cart=[cart]] it works fine. > when i do it after the purchasing command within [orderfile orders/[cart]] > just to show what items were purchased i get only tags. > the invoice and the page that displace the content of the order are in the > same directory and the only difference between both pages is that one (the > invoice) is displaying unprocessed shoppingcart file and the other one > displays a processed order. > according to the manual both pages should work fine. > what am i doing wrong? > > thank you >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [lineitems] Loop Break ( "WebDna @ Inkblot Media" 2004)
  2. Re: [lineitems] Loop Break ( "WebDna @ Inkblot Media" 2004)
  3. [lineitems] Loop Break ( Clint Davis 2004)
  4. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  5. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  6. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  7. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (charles kline 2003)
  8. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  9. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  10. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  11. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  12. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  13. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  14. Re: Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Donovan 2003)
  15. Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (Joe R. Richardson 2003)
  16. Re: [ListFiles] Within [LineItems] (James DeCambra 2001)
  17. Re: [ListFiles] Within [LineItems] (Kenneth Grome 2001)
  18. [ListFiles] Within [LineItems] (JWD 2001)
  19. Re: [lineitems] (Kalin Mintchev 2000)
  20. Re: [lineitems] (John Peacock 2000)
  21. Re: [lineitems] (Kalin Mintchev 2000)
  22. Re: [lineitems] (John Peacock 2000)
  23. Re: [lineitems] (Arturo Vargas 2000)
  24. [lineitems] (Kalin Mintchev 2000)
  25. Re: [lineitems] (Derek C. 2000)
  26. [lineitems] (Art Vargas 2000)
  27. Re: [LINEITEMS] (John Butler 2000)
  28. Re: [LINEITEMS] (Kenneth Grome 2000)
  29. Re: [LINEITEMS] (Derek C. 2000)
  30. Re: [LINEITEMS] (Kenneth Grome 2000)
  31. [LINEITEMS] (Derek C. 2000)
  32. Re: Using [showif] within [lineitems] [code fragment] (Kenneth Grome 2000)
  33. Re: Using [showif] within [lineitems] [code fragment] (Andrew Vernon 2000)
  34. Re: Using [showif] within [lineitems] [code fragment] (Derrick Puckett 2000)
  35. Re: Using [showif] within [lineitems] [code fragment] (Derrick Puckett 2000)
  36. Re: Using [showif] within [lineitems] [code fragment] (Andrew Vernon 2000)
  37. Re: Using [showif] within [lineitems] (Glenn Busbin 2000)
  38. Re: Using [showif] within [lineitems] (Andrew Vernon 2000)
  39. Re: Using [showif] within [lineitems] (Rob Marquardt 2000)
  40. Re: Using [showif] within [lineitems] (Kenneth Grome 2000)
  41. Re: Using [showif] within [lineitems] (Glenn Busbin 2000)
  42. Using [showif] within [lineitems] (Andrew Vernon 2000)
  43. Re: [lineitems] and [writefile] (PCS Technical Support 1998)
  44. Re: [lineitems] and [writefile] (Raymond Hatch 1998)
  45. [lineitems] and [writefile] (Raymond Hatch 1998)
  46. [lineitems] ( Loop)
No, the real difference between the invoice page and the page after purchase is that the invoice page is within a search context on the main database. This is a hard concept to manage, but the orderfile contains a fixed number of fields, with names that you cannot change. See the purchase command in the Docs for a list of the fields. Any field in your main database which you want to display must either be stored in one of the misc. lineitem fields [textA]-[textE] or in the [Header1]-[Header40] if it is something linked to the order and not the line. Alternatively, you can do a lookup or a search while within the lineitems context and get the fields you need based on SKU.The only fields you list there which are valid within a lineitems context are: [lineIndex], [sku], [quantity], and [price].HTHJohn PeacockKalin Mintchev wrote: > > hi > > i have this problem: > > if i use this: > [lineitems] > [category] > [lineIndex] > [sku] > [artist] > [title] > [quantity] > [price] > > [/lineItems] > > in a invoice.html within [orderfile cart=[cart]] it works fine. > when i do it after the purchasing command within [orderfile orders/[cart]] > just to show what items were purchased i get only tags. > the invoice and the page that displace the content of the order are in the > same directory and the only difference between both pages is that one (the > invoice) is displaying unprocessed shoppingcart file and the other one > displays a processed order. > according to the manual both pages should work fine. > what am i doing wrong? > > thank you >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

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:

RE: Include (1998) FEATURE REQUEST: (was: Summarizing results. Is there ashortcut? (1999) [format] (1998) [random] only for 1-100??? (1997) Is there an alternative to emailer? (1999) [TaxableTotal] - not working with AOL and IE (1997) maximu values for sendmail! (1997) RE: [WebDNA] A new commerce system for v7+ (2011) Re1000001: Setting up shop (1997) WebCat2 beta FTP site (1997) RE: Automatic Forwarding using WebCat (1997) Mass Mail (2000) Just Testing (1997) problems with WebCat-Plugin () Web Catalog 2 demo (1997) webten vs. webstar (1998) GREP for search - not replace (2004) really wierd date stuff on NT (1997) problems with 2 tags (1997) Math (1997)