Re: attachment
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32847
interpreted = N
texte = Start from the inside out. Just have [quantity]*[#pieces] on a page andmake sure it is returning what you think. I also think the fieldname [#piece] should be changed to not include a octothorp. Then, add eachlayer one at a time (i.e. wrap in a [math] context next).HTHJohn PeacockTony Frenzel wrote:> > Question for you. I'm trying to multiply on the checkout.tpl page two> fields and display the result in a table. I'm trying to multiply the> quantity that someone enters for a product with a field (number) we call> Pieces that resides in the products.db. I can't seem to get it. Can you> look at my code and tell me where I'm going wrong? I'm not trying to> calculate price... just basically a whole number.> > Here's what I have:> > [lookup> db=admin/prefs.db&lookinfield=pref&value=CURRENCY&returnfield=value][format> .[lookup> db=admin/products.db&lookinfield=sku&value=[url][sku][/url]&returnfield=value]f][math][quantity]*[#pieces][/math][/format]> > Can you help me?> > - Tony Frenzel> IDK> ICQ#: 6696344> __________________________________> iCONiKlaSTique Design KliniK, LLC> A Creative Solutions Company> 1932 S. Halsted - Chicago, IL - 60608> Phone:(312)492-7980 Fax: (312)492-7982> www.IDK-A-OK.com> e-mail@IDK-A-OK.com> > -------------------------------------------------------------> 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/-------------------------------------------------------------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:
Start from the inside out. Just have [quantity]*[#pieces] on a page andmake sure it is returning what you think. I also think the fieldname [#piece] should be changed to not include a octothorp. Then, add eachlayer one at a time (i.e. wrap in a [math] context next).HTHJohn PeacockTony Frenzel wrote:> > Question for you. I'm trying to multiply on the checkout.tpl page two> fields and display the result in a table. I'm trying to multiply the> quantity that someone enters for a product with a field (number) we call> Pieces that resides in the products.db. I can't seem to get it. Can you> look at my code and tell me where I'm going wrong? I'm not trying to> calculate price... just basically a whole number.> > Here's what I have:> > [lookup> db=admin/prefs.db&lookinfield=pref&value=CURRENCY&returnfield=value][format> .[lookup> db=admin/products.db&lookinfield=sku&value=[url][sku][/url]&returnfield=value]f][math][quantity]*[#pieces][/math][/format]> > Can you help me?> > - Tony Frenzel> IDK> ICQ#: 6696344> __________________________________> iCONiKlaSTique Design KliniK, LLC> A Creative Solutions Company> 1932 S. Halsted - Chicago, IL - 60608> Phone:(312)492-7980 Fax: (312)492-7982> www.IDK-A-OK.com> e-mail@IDK-A-OK.com> > -------------------------------------------------------------> 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/-------------------------------------------------------------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/
John Peacock
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:
[WebDNA] Encode cookies ONLY via "method=Base64" (2008)
[OT] Mozilla | Was: R.I.P. Netscape (2003)
Configuring E-mail (1997)
Searching & Hyphens (2002)
WebCat2b12plugin - [search] is broken ... not! (1997)
First n words (2000)
Fishing: anyone on this group willing to do support? (1998)
taxTotal, grandTotal (1997)
ReturnRaw (1999)
Searchable list archive (1997)
PIXO support (1997)
math on date? (1997)
Linux vs Jaguar (OSX) (2002)
WCS Newbie question (1997)
Search inside Include (1998)
SQL speed issues (2001)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
[Q] Novice's question (1997)
Thanks and Big News!!! (1997)
WC Bulletin Board Issue (2003)