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...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA LibrariesA list of available libraries for WebDNA...
F.A.QA compilation of some user's questions...
Tips and TricksA list of user-submitted tips ...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
will display a random number...
[spawn]Creates a new thread to execute WebDNA simultaneously with the current template...
[function]This context enables the WebDNA programmer to call a previously defined block of WebDNA code...
[convertwords]Changes specified words in a string of text to different words...
[if]This context displays HTML or executes WebDNA conditionally only if the expression is true...
[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...