Re: Another option
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63278
interpreted = N
texte = Yes the code works to a pointit gives me the correct price of each item but I need to find a way oftotalling them, if I have 4 items in the cart it shows the 4 prices as Ineed them butCannot work out the code for that, I need to add up the list of these notjust display themHelp needed!!Thankspaul----- Original Message ----- From: "Clint Davis"
To: "WebDNA Talk" Sent: Tuesday, October 25, 2005 9:19 PMSubject: Re: Another option> As long as you're inside an [orderfile] and [lineitems] loop, the math you> have below should work.>>> On 10/25/05 1:11 PM, "paul" wrote:>> > How can I just add up the contents of my shopping cart based on the> > following> >> > Each items price is calculated by[math][TextE]*[quantity]*[price][/math]> >> > I just need to add these together for each line in the cart, I can listthem> > but do not seem to be able to add them up> >> > How do I do this>>>>> -------------------------------------------------------------> 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://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Yes the code works to a pointit gives me the correct price of each item but I need to find a way oftotalling them, if I have 4 items in the cart it shows the 4 prices as Ineed them butCannot work out the code for that, I need to add up the list of these notjust display themHelp needed!!Thankspaul----- Original Message ----- From: "Clint Davis" To: "WebDNA Talk" Sent: Tuesday, October 25, 2005 9:19 PMSubject: Re: Another option> As long as you're inside an [orderfile] and [lineitems] loop, the math you> have below should work.>>> On 10/25/05 1:11 PM, "paul" wrote:>> > How can I just add up the contents of my shopping cart based on the> > following> >> > Each items price is calculated by[math][TextE]*[quantity]*[price][/math]> >> > I just need to add these together for each line in the cart, I can listthem> > but do not seem to be able to add them up> >> > How do I do this>>>>> -------------------------------------------------------------> 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://webdna.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://webdna.smithmicro.com/
"paul"
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:
multi-paragraph fields (1997)
[format] (1998)
Aaron kant add (or whatever it was) (2000)
[WebDNA] Brian Harrington (2019)
mac hack (1997)
Encyption mail was Suggestions for Topics ... (1998)
multi-paragraph fields (1997)
Fun with dates (1997)
No Line Breaks from OSX server (2002)
Help name our technology! (1997)
SiteGuard Admin Feature ? (1997)
Separate SSL Server (1997)
P.S.: WebDNA Hosting? (2003)
Time for a hard questions. (1997)
WebCat 3.04-3.07 plug-in dying on server.... (2000)
syntax question, not in online refernce (1997)
PCS Frames (1997)
WebSite and *NO* Authentication Dialog Box!!? (1998)
[WebDNA] Authenticating with Twitter OAuth API v1.1 (2013)
bug in Webcat OSX (1999)