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:
Searching in a range... (1998)
Associative lookup style? + bit more (1997)
DB Size - MAX (2004)
Signal Raised (1997)
Almost a there but..bye bye NetCloak (1997)
Summing fields (1997)
Advice on MacOS & TCP Connects (2000)
Nested tags count question (1997)
WebCatalog NT beta 18 now available (1997)
Nested tags count question (1997)
[WebDNA] Processor Maxing out (2010)
apparent variable variable display? (2000)
[isfile] ? (1997)
Appending Information from one db to another (1998)
Emailer setup (1997)
Web Catalog 2 demo (1997)
Multiple prices (1997)
psst (1997)
Weekly Triggers??? (2000)
Best Catalog Program (1998)