Changes header values in a shopping cart.
numero = 275[setheader cart=5678&db=catalog.txt]ShipToZip=92128&Header9=Blue[/setheader]Shopping cart file "5678" opens, and ShipToZip changes to 92128 and Header9 changes to "Blue" (as specified in the context above).Here are the parameters to the [setheader] context:
| Parameter | Description |
|---|---|
| db | Product database containing the SKU, price, and other information. |
| cart | Affected shopping cart file (from ShoppingCarts folder). |
| file | (alternative to cart) Affected shopping cart file (from any folder). Unlike cart, this file can be in any folder. Specify the file URL-relative to the template. |
| Context value | Description (these values go inside the context) |
| Header Field | Any header field. See order file for the list of available header fields. You may also set any header field at the same time you add or modify a product to the cart ([addlineitem] etc). |
[setheader cart=5678&db=catalog.txt]ShipToZip=92128&Header9=Blue[/setheader]
| Parameter | Description |
|---|---|
| db | Product database containing the SKU, price, and other information. |
| cart | Affected shopping cart file (from ShoppingCarts folder). |
| file | (alternative to cart) Affected shopping cart file (from any folder). Unlike cart, this file can be in any folder. Specify the file URL-relative to the template. |
| Context value | Description (these values go inside the context) |
| Header Field | Any header field. See order file for the list of available header fields. You may also set any header field at the same time you add or modify a product to the cart ([addlineitem] etc). |
DOWNLOAD WEBDNA NOW!
A list of the currently available modules...
F.A.QA compilation of some user's questions...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
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...
...
[sendmail]There is hardly a website that doesn't at some point need to send an email...
[hideif][HideIf Comparison]Hide This HTML[/HideIf]...
[interpret]Interprets the enclosed [xxx] values using the WebDNA interpreter...
[ipaddress]Displays the ip address of the remote computer...
[scope]Explicitly define a block of WebDNA code that has a separate variable space...