Re: formula???
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34790
interpreted = N
texte = >are you using an add command or an [addlineitem] context?Add command.
Add to your Shopping Cart>Add a [writefile] to your formula to write out the value of>[quantity] to make sure it's what you think it is.Good suggestion. My formula is:Name Formulaprice [math][showif [quantity]>0]0.9*[/showif][lookupdb=mydatabase.db&lookInField=sku&value=[sku]&returnField=price][/math][writefile file=test&secure=F][quantity][/writefile][quantity] ISN'T what it should be. It's always 1, no matter what it is onthe Invoice.tpl or ShoppingCart.tpl pages.So it looks like I need to....what? Put the [quantity] info into a headerand use that in the formula?Thanks,Glenn-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>are you using an add command or an [addlineitem] context?Add command.[cart]&db=mydatabase.db&sku=[url][sku][/url]>Add to your Shopping Cart>Add a [writefile] to your formula to write out the value of>[quantity] to make sure it's what you think it is.Good suggestion. My formula is:Name Formulaprice [math][showif [quantity]>0]0.9*[/showif][lookupdb=mydatabase.db&lookInField=sku&value=[sku]&returnField=price][/math][writefile file=test&secure=F][quantity][/writefile][quantity] ISN'T what it should be. It's always 1, no matter what it is onthe Invoice.tpl or ShoppingCart.tpl pages.So it looks like I need to....what? Put the [quantity] info into a headerand use that in the formula?Thanks,Glenn-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Glenn Busbin
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:
Tags not being Interpreted-Resending (1999)
A little help on e-mail (HELP!!! :-) ) (1998)
Fwd: Problems with Webcatalog Plug-in (1997)
Search Engine bots (2002)
Dumb Question about Docs (1997)
Card clearance, problems - solutions? (1997)
ShowNext (1997)
many-to-one problem (1998)
2.0Beta Command Ref (can't find this instruction) (1997)
international time (1997)
WebCatalog.acgi quitting with error Type 2 (1998)
Am I going senile? (Price recalc based on quantity) (1997)
displaying New products (using [date]) (1997)
RE: New WebCatalog Version !!! (1997)
Searching Relational Databases (2004)
Where has WebDNA shown up in your life? (2003)
[WebDNA] Solaris version? (2008)
[OT] Browser's search via javascript? (2003)
Superfilous Characters (1998)
can WC render sites out? (1997)