[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:

Which [index]? (1997) [WebDNA] [OT] economical reliable SSL certs? (2009) Sendmail truncation in Eudora Clients (1998) suggestions for a good text editor on windows? (2005) Login Page & [Protect] (2001) Search returns all, not 20 (1997) Windows 2.1b2 Append Bug? (1997) [OT] Double chars in form (ie 5.2 mac OSX) (2004) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [showif] based on data from [tcpconnect][tcpsend]? (2000) Search Engine questions ... (2002) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) TCP Connect (2003) Limit on nested [ShowIf]'s? (1997) Mime Headers for Mail (1998) Virtual hosting and webcatNT (1997) Cart Transfer from Un-Secure to Secure (2000) Listfiles (1998) [WebDNA] [OT] Apple iPad (2010) WCS Newbie question (1997)