Re: Information on Vieworders.tpl
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19932
interpreted = N
texte = >Can anybody help me get a product size and color to appear on the>vieworders.tpl page.In your template that lets people add something to their cart (usuallyResults.tpl, leading to ShoppingCart.tpl), you can set any of the lineitemvariables textA-E to some text of your choosing.So the link ShoppingCart.tpl?command=add&sku=[sku]&textB=[color] would pickup the sku and the color from the database, and store them in the lineitemvariables sku and textB, respectively.Later when you want to display the color, you would display [textB].You can see some documentation in the section under the Commands/Addsection, and the File Formats/Order File. The section on Add has aspecific description of using textA-E to store color and size information,down in the optional parameters section.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Can anybody help me get a product size and color to appear on the>vieworders.tpl page.In your template that lets people add something to their cart (usuallyResults.tpl, leading to ShoppingCart.tpl), you can set any of the lineitemvariables textA-E to some text of your choosing.So the link ShoppingCart.tpl?command=add&sku=[sku]&textB=[color] would pickup the sku and the color from the database, and store them in the lineitemvariables sku and textB, respectively.Later when you want to display the color, you would display [textB].You can see some documentation in the section under the Commands/Addsection, and the File Formats/
order file. The section on Add has aspecific description of using textA-E to store color and size information,down in the optional parameters section.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[applescript] (1999)
WebCat2b13 Command Reference Doc error (1997)
NetForms for mail, sorry (1998)
Error Log.db --however (1997)
[ConvertChars] problem (1997)
Re2: AAgghh!! Help, please. SSL strikes again. (1997)
setlineitem quantity to zero? (2000)
webDNA engine creating duplicate lineitems?! (2004)
Help! WebCat2 bug (1997)
Whats wrong with this code? (1998)
Secure server question (1997)
RE: OK, here goes... (1997)
plugin-acgi, different results (1997)
Logging purchases (1997)
Formating found categories (1997)
Multiple Search Fields (1998)
[referrer] tag (1997)
Updating database (1998)
autocommit problem (1998)
Same DB Same Time (2004)