Loops through all the line items in an order file.
numero = 226[orderfile [cart]][lineitems][sku], [price], [quantity][/lineitems][/orderfile]The following tags are available inside a [lineitems] context. Except for [lineindex], these are the line item fieldnames in the order file.
| Tag | Description |
|---|---|
| [lineindex] | A number from 1 to the maximum number of line items, indicating this item's index position in the list. |
| [SKU] | The SKU of this line item in the shopping cart. |
| [quantity] | Quantity of this line item the visitor wants to purchase. |
| [price] | Price of this line item. |
| [taxable] | "T" if this item is taxable, "F" if not. |
| [canemail] | "T" if this item is electronically deliverable, "F" if not. |
| [unitshipcost] | Price to ship one unit of this item. |
| [textA] | Extra text field to be used for any purpose, e.g., catalog fields such as [title] or options such as color and size. |
| [textB] ... [textZ] | Same as textA above. |
[orderfile [cart]]
[lineitems]
[sku], [price], [quantity]
[/lineitems]
[/orderfile]
| Tag | Description |
|---|---|
| [lineindex] | A number from 1 to the maximum number of line items, indicating this item's index position in the list. |
| [SKU] | The SKU of this line item in the shopping cart. |
| [quantity] | Quantity of this line item the visitor wants to purchase. |
| [price] | Price of this line item. |
| [taxable] | "T" if this item is taxable, "F" if not. |
| [canemail] | "T" if this item is electronically deliverable, "F" if not. |
| [unitshipcost] | Price to ship one unit of this item. |
| [textA] | Extra text field to be used for any purpose, e.g., catalog fields such as [title] or options such as color and size. |
| [textB] ... [textZ] | Same as textA above. |
DOWNLOAD WEBDNA NOW!
WebDNA applications...
WebDNA reference...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
WebDNA LibrariesA list of available libraries for WebDNA...
Tips and TricksA list of user-submitted tips ...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
Putting [date] in your template displays the current date as defined by the clock on your web server...
[grep]Replaces text based on a regular expression...
[replace]Replaces each found record in a database with the new field values...
[appendfile]Writes text to the end of an existing file...
[returnraw]Sends 'raw' MIME headers and data back to browser...
[JSONstore][JSONstore] stores a multidimentional JSON object into a WebDNA database...