Re: WebDelivery Text
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21396
interpreted = N
texte = >In the webdelivery.inc file, i'm trying to tell it to include a description>of the item the>user has purchased. Right now it just displays the SKU and when i try to>add a field>in for description, it physcally writes out [description].The reason is that you are in the context of [LineItems], which can onlydisplay information defined in the lineitems of the order file. Since[description] is not a field in the order file, it cannot be displayed assimply as that.If you're using the beta of WebMerchant 3.0, you can use WebDNA to [lookup]any info from a database you like. So I'd use something like[lookup db=../products.db&lookInField=SKU&value=[sku]&returnField=description]Older versions of WebMerchant would require that you store the descriptioninto one of the textA-E fields of the lineitems at the time you Add it tothe cart.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:
|
- Re: WebDelivery Text (PCS Technical Support 1998)
- WebDelivery Text (Pete at Work 1998)
|
>In the webdelivery.inc file, i'm trying to tell it to include a description>of the item the>user has purchased. Right now it just displays the SKU and when i try to>add a field>in for description, it physcally writes out [description].The reason is that you are in the context of
[lineitems], which can onlydisplay information defined in the lineitems of the
order file. Since[description] is not a field in the
order file, it cannot be displayed assimply as that.If you're using the beta of WebMerchant 3.0, you can use WebDNA to
[lookup]any info from a database you like. So I'd use something like[lookup db=../products.db&lookInField=SKU&value=[sku]&returnField=description]Older versions of WebMerchant would require that you store the descriptioninto one of the textA-E fields of the lineitems at the time you Add it tothe cart.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:
WC2b15 File Corruption (1997)
Firesite and [referrer] atg broke (1997)
Not really WebCat (1997)
How to Display text in empty fields (1997)
[WebDNA] Math variables (2016)
[convertchars] limits (1998)
[removelineitem] not quite working inside [formvariables] loop (2001)
Banner Ad example (Typhoon) and WebCatalog (1997)
problems with 2 tags shakur (1997)
Setting up WebCatalog with Retail Pro data (1996)
all records returned. (1997)
Separate SSL Server (1997)
Press Release hit the NewsWire!!! (1997)
Upload Plugin (1998)
Multiple security dbs (1997)
if else problem (2003)
[ShowNext] (1997)
Decrypting a user password (2000)
Generating unique SKU from [cart] (1997)
Search in 2 or more catalogs (1997)