ShipCost Data Base

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19619
interpreted = N
texte = I am trying to get calculate our shipping cost for UPS Ground to vary based on a range of the total purchase price. I am using the following in my shipCosts.db:ShipMethod ShipCost UPS Ground [showif [subtotal]<10.01]4.95[/showif][showif [subtotal]>10.00][showif [subtotal]<25.01]5.95[/showif][/showif][showif [subtotal]>25.00][showif [subtotal]<50.01]7.50[/showif][/showif][showif [subtotal]>50.00][showif [subtotal]<75.01]8.95[/showif][/showif][showif [subtotal]>75.00][showif [subtotal]<150.01]9.95[/showif][/showif][showif [subtotal]>150.00][format.2f][math][subtotal]*.1[/math][/format][/showif] UPS Two-Day 10.00 Pick Up 0.00 (There is a space between UPS and Ground and tab before the formula)The formula recognized the UPS Ground and returns it into my invoice properly, but the formula doesn't work. Any suggestions as to what I'm doing wrong?Richard Kirsner Competitive Edge, Inc. Associated Messages, from the most recent to the oldest:

    
  1. Re: ShipCost Data Base (Kenneth Grome 1998)
  2. Re: ShipCost Data Base (Richard Kirsner 1998)
  3. Re: ShipCost Data Base (Kenneth Grome 1998)
  4. Re: ShipCost Data Base (bob 1998)
  5. ShipCost Data Base (Richard Kirsner 1998)
I am trying to get calculate our shipping cost for UPS Ground to vary based on a range of the total purchase price. I am using the following in my shipCosts.db:ShipMethod ShipCost UPS Ground [showif [subtotal]<10.01]4.95[/showif][showif [subtotal]>10.00][showif [subtotal]<25.01]5.95[/showif][/showif][showif [subtotal]>25.00][showif [subtotal]<50.01]7.50[/showif][/showif][showif [subtotal]>50.00][showif [subtotal]<75.01]8.95[/showif][/showif][showif [subtotal]>75.00][showif [subtotal]<150.01]9.95[/showif][/showif][showif [subtotal]>150.00][format.2f][math][subtotal]*.1[/math][/format][/showif] UPS Two-Day 10.00 Pick Up 0.00 (There is a space between UPS and Ground and tab before the formula)The formula recognized the UPS Ground and returns it into my invoice properly, but the formula doesn't work. Any suggestions as to what I'm doing wrong?Richard Kirsner Competitive Edge, Inc. Richard Kirsner

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:

Conditional searching & displaying (1997) form data submission gets truncated (1997) Nested vs conditional (1997) triggers (2003) Multiple prices (1997) Email Format (1998) Restart of DBserver (1997) textarea inputs and returns (1999) WebCommerce: Folder organization ? (1997) Redirect (2003) [WebDNA] XML parsing issue with cdata (2012) no [search] with NT (1997) WebCat2 - many [carts] on one template page? (1997) Re:no [search] with NT (1997) grep question - removing spaces (2005) OH MY GOD! (1998) Major Security Hole IIS NT (1998) protect tag not working (1998) [WebDNA] WebDNA code not interpreting ... (2013) WebCat2b13MacPlugIn - more [date] problems (1997)