Re: Price + Texte

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23777
interpreted = N
texte = [AddLineItem cart=[cart]&sku=[sku]&db=catalog.db]&quantity=[quantity]&textA=[title]&texte =[giftpr]&giftpr=[giftpr][/AddLineItem]With a formula.db of price [math][price]+[giftpr][/math]same old price[AddLineItem cart=[cart]&sku=[sku]&db=catalog.db]password=doit&quantity=[quantity]&textA= [title]&texte=[texte]&price=[math][lookup db=catalog.db&lookinfield=sku&value=[sku]&returnfield=price]+[giftpr][/math] [/AddLineItem][AddLineItem cart=[cart]&sku=[sku]&db=catalog.db &password=doit]quantity=[quantity]&textA=[title]&texte=[texte]&price=[math][ lookup db=catalog.db&lookinfield=sku&value=[sku]&returnfield=price]+[giftpr][/math] [/AddLineItem]error: your not allowed to change price.Anybody out there really doing this (changing price in midstream)? ---------- >From: Kenneth Grome >To: WebDNA-Talk@smithmicro.com >Subject: Re: Price + Texte >Date: Sat, Feb 13, 1999, 2:16 PM >> If you put the formula inside a showcart or setlineitems context it would > probably work, because then the [texte] reference would actually mean > something to webcat. But unless [texte] appears in the proper webcat > eCommerce context, it doesn't even get interpreted ... :) Associated Messages, from the most recent to the oldest:

    
[AddLineItem cart=[cart]&sku=[sku]&db=catalog.db]&quantity=[quantity]&textA=[title]&texte =[giftpr]&giftpr=[giftpr][/AddLineItem]With a formula.db of price [math][price]+[giftpr][/math]same old price[AddLineItem cart=[cart]&sku=[sku]&db=catalog.db]password=doit&quantity=[quantity]&textA= [title]&texte=[texte]&price=[math][lookup db=catalog.db&lookinfield=sku&value=[sku]&returnfield=price]+[giftpr][/math] [/AddLineItem][AddLineItem cart=[cart]&sku=[sku]&db=catalog.db &password=doit]quantity=[quantity]&textA=[title]&texte=[texte]&price=[math][ lookup db=catalog.db&lookinfield=sku&value=[sku]&returnfield=price]+[giftpr][/math] [/AddLineItem]error: your not allowed to change price.Anybody out there really doing this (changing price in midstream)? ---------- >From: Kenneth Grome >To: WebDNA-Talk@smithmicro.com >Subject: Re: Price + Texte >Date: Sat, Feb 13, 1999, 2:16 PM >> If you put the formula inside a showcart or setlineitems context it would > probably work, because then the [texte] reference would actually mean > something to webcat. But unless [texte] appears in the proper webcat > eCommerce context, it doesn't even get interpreted ... :) Bob Minor

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:

Limiting user access to .tmpl files (1997) Searching in a range... (1998) Protecting webdelivery (1997) Error Log.db --however (1997) WebCatalog/Mac 2.1b2 New Features (1997) carriage returns in data (1997) [WebDNA] lighttpd problem with returnraw http header (2018) OT: 128 bit Encryption (2003) Sendmail (1997) WebDNA 6.0 backwards compatible? (2004) Snake Bites (1997) WebCat editing, SiteGuard & SiteEdit (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Preventing code execution (2003) Anyone using WebCat UNIX on a busy server yet? (1999) Webmerchant quitting (1998) emailer stuck (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) upgrading (1997) Error Lob.db records error message not name (1997)