Modify an existing line item in an order file[setlineitem Parameters]values[/setlineitem]
|db||Product database containing the SKU, price, and other information.|
|index||Uniquely identifies which line item should be modified.|
|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)|
|password||(Optional) In order to change the price (see below) you must provide the line item change password, which can be set in the preferences.|
|price||Optional) Sometimes you may need to change the price of a product after it has already been added to the cart. Normally you use a formula to vary pricing, but since formulas only apply when a product is initially added to the cart, this alternate technique may be needed. Remember to put the line item change password (see above) into the parameters.|
|Lineitem Field||Any line item field. See order file for the list of available line item fields. Values set in the context will override values pulled from the product database.|
|Header Field||Any header field may also be modified at this time. See order file for the list of available header fields.|
DOWNLOAD WEBDNA NOW!
A list of user-submitted tips ...F.A.Q
A compilation of some user's questions...[biotype]
BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...WebDNA reference
A list of all WebDNA instructions...WebDNA Libraries
A list of available libraries for WebDNA...Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
Explicitly define a block of WebDNA code that has a separate variable space...[copyfile]
Copy a file with the content you want on your webspace...[renamefile]
Rename a file in your webspace...[xmlnodesattributes]
This context is used to iterate the attributes of a specific XML node...[convertwords]
Changes specified words in a string of text to different words...[shell]
[shell] is a way to use the command line with your webserver...