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!
WebDNA applications...
Tips and TricksA list of user-submitted tips ...
WebDNA LibrariesA list of available libraries for WebDNA...
F.A.QA compilation of some user's questions...
WebDNA ModulesA list of the currently available modules...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
[COMMITDATABASE db=name...
[replace]Replaces each found record in a database with the new field values...
[cart]Putting [cart] in your template automatically creates a unique shopping cart...
[SQLexecute]Executes and persits the results of an SQL statement...
[convertwords]Changes specified words in a string of text to different words...
[time]Putting [time] in your template displays the current time set on your web server's clock...