[shippingtotal] in Formulas.db

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45744
interpreted = N
texte = In an attempt to offer free shipping when 2 or more products are ordered, I have this in Formulas.db:[orderfile ShoppingCarts/[GetCookie SessionID]][lineitems][math show=f]ordered=[lineindex][/math][/lineitems][/orderfile][showif [ordered]>1]0.00[/showif][showif [ordered]<2]6.50[/showif]When 1 item is added to the cart the shipping ([shippingtotal]) is correctly figured.When a second item is added the shipping does not change to 0When the third and any further items are added the shipping changes to 0. Why the lag?-Will ------------------------------------------------------------- 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:

    
  1. Re: [shippingtotal] in Formulas.db (WJ Starck 2002)
  2. Re: [shippingtotal] in Formulas.db (Donovan Brooke 2002)
  3. Re: [shippingtotal] in Formulas.db (WJ Starck 2002)
  4. Re: [shippingtotal] in Formulas.db (Donovan Brooke 2002)
  5. [shippingtotal] in Formulas.db (WJ Starck 2002)
In an attempt to offer free shipping when 2 or more products are ordered, I have this in formulas.db:[orderfile ShoppingCarts/[GetCookie SessionID]][lineitems][math show=f]ordered=[lineindex][/math][/lineitems][/orderfile][showif [ordered]>1]0.00[/showif][showif [ordered]<2]6.50[/showif]When 1 item is added to the cart the shipping ([shippingtotal]) is correctly figured.When a second item is added the shipping does not change to 0When the third and any further items are added the shipping changes to 0. Why the lag?-Will ------------------------------------------------------------- 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/ WJ Starck

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:

[format 40s]text[/format] doesn't work (1997) URL too Long? (1997) [date] for today's date, while inside old order file (1998) Multihoming and webcat (1998) Bug Report, maybe (1997) off topic - dna snipets (1997) Searching (1998) Shopping problems with 2.1b3 acgi (1997) problems with 2 tags (1997) searching a range -still don't get it (2000) Missing something simple? (1999) different show next (1997) Log-in Scheme (2003) What is this error message? (2006) Manual and Mime WebDNA 5 (2003) Email Line Breaks (2003) Very Quiet .... (2004) FEA REQ: One .hdr, multiple .db's (2003) RE: File Uploads (1998) using showpage and showcart commands (1996)