Displays the contents of a shopping cart.
numero = 225[orderfile [cart]]Name: [name]Address: [address1][address2][lineitems][lineindex] [quantity] [sku] [price][/lineitems]Grand Total: [grandTotal][/orderfile]
| Parameter | Description |
|---|---|
| cart | Name of the shopping cart file to use. cart=[cart] will look inside the ShoppingCarts folder (a preference value lets you set the path to the shopping carts folder) for the order file named [cart]. |
| file | (Optional) Path to the shopping cart file. This is used instead of cart when the file is in a different folder (such as the Orders folder or the Problems folder or some folder of your choosing. Shopping carts can reside anywhere, as long as you tell WebDNA where to find them.) |
[orderfile [cart]]
Name: [name]
Address: [address1]
[address2]
[lineitems]
[lineindex] [quantity] [sku] [price]
[/lineitems]
Grand Total: [grandTotal]
[/orderfile]
| Parameter | Description |
|---|---|
| cart | Name of the shopping cart file to use. cart=[cart] will look inside the ShoppingCarts folder (a preference value lets you set the path to the shopping carts folder) for the order file named [cart]. |
| file | (Optional) Path to the shopping cart file. This is used instead of cart when the file is in a different folder (such as the Orders folder or the Problems folder or some folder of your choosing. Shopping carts can reside anywhere, as long as you tell WebDNA where to find them.) |
DOWNLOAD WEBDNA NOW!
A list of the currently available modules...
Tips and TricksA list of user-submitted tips ...
Download WebDNA ApplicationsWebDNA applications...
F.A.QA compilation of some user's questions...
WebDNA LibrariesA list of available libraries for WebDNA...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
[addfields db=...
[copyfile]Copy a file with the content you want on your webspace...
[uppercase]Changes all lower case letters to upper case...
[writefile][writefile] functions allows you to perform a wide variety of tasks...
[table][table] allows you to quickly create a temporary 'in line' database that is local to the template and not part of the global database cache...
[boldwords]Highlights matching words with boldface HTML tags...