ShipCost Problems

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19745
interpreted = N
texte = I'm still having problems getting my shipping costs to calculate properly. I have abandoned my attempt at trying to calculate shipping cost based on a range of the order subtotal and am trying a simplier method - base cost plus a percentage of order subtotal. Still can't get this working:1. I select my shipping method:Shipping Method: 2. In my purchase template:[shipVia] Shipping & Handling $[shipCost]3. In my formula database:shipCost [showif [shipVia]=UPS Ground][format.2f][math][subtotal]*.05+4.95[/math][/format][/showif][showif [shipVia]=UPS Two-Day][format.2f][math][subtotal]*.05+9.95[/math][/format][/showif][showif [shipVia]=Pickup]0.00[/showif]This doesn't work and always returns 0.00 as my shipCost.I am not using unitShipCost in my product data base. Do I need to add unitShipCost 0.00 in my formula database? Actually I tried this and it didn't make any difference.HELP!!! This is getting frustrating. God only knows how I'm going to do something that is actually complicated! Associated Messages, from the most recent to the oldest:

    
  1. shipCost problems (Nitai @ Eyework 2000)
  2. Re: ShipCost Problems (PCS Technical Support 1998)
  3. ShipCost Problems (Richard Kirsner 1998)
I'm still having problems getting my shipping costs to calculate properly. I have abandoned my attempt at trying to calculate shipping cost based on a range of the order subtotal and am trying a simplier method - base cost plus a percentage of order subtotal. Still can't get this working:1. I select my shipping method:Shipping Method: 2. In my purchase template:[shipVia] Shipping & Handling $[shipCost]3. In my formula database:shipCost [showif [shipVia]=UPS Ground][format.2f][math][subtotal]*.05+4.95[/math][/format][/showif][showif [shipVia]=UPS Two-Day][format.2f][math][subtotal]*.05+9.95[/math][/format][/showif][showif [shipVia]=Pickup]0.00[/showif]This doesn't work and always returns 0.00 as my shipCost.I am not using unitShipCost in my product data base. Do I need to add unitShipCost 0.00 in my formula database? Actually I tried this and it didn't make any difference.HELP!!! This is getting frustrating. God only knows how I'm going to do something that is actually complicated! 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:

[taxRate] [TaxTotal] ? (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) MacFinder -- a new WebDNA web site (1998) WebCat2: Items xx to xx shown, etc. (1997) Virtual hosting and webcatNT (1997) DNS Lookup (2000) Error Lob.db records error message not name (1997) Forbidden CGI Error (1997) [WebDNA] Yosemite (2014) WCS Newbie question (1997) db security on NT (1997) Proper file locations (1997) Talk List Suggestions (1997) Not really WebCat (1997) [format] problems (2000) RE: Can't get appendfile to work (1997) [/application] error? (1997) Major problem (1999) Design Help Needed (1998) case sensitivity in lookups (1997)