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:

Convert characters (2002) RE: Emailer prefs in two places ... (1997) WebCatalog Technical Reference (1997) Showif, Hideif reverse logic ? (1997) I'm new be kind (1997) 2cd pair.. [math] and European Date format (2004) Make sure I understand this??? (1997) Summing fields (1997) Cookies and the EU (John, don't read this) (2001) Macauth: Dates and No Scripting... (1997) Local redirects ... (2005) WebCat2.0 [format thousands .0f] no go (1997) international time (1997) Limiting user access to .tmpl files (1997) [SHOWIF] (1997) Multi-processor Mac info ... (1997) New Command prefs ... (1997) I'm having trouble using [url][interpret][math] together in lookup (1997) [WebDNA] Store down? (2014) Separate SSL Server (1997)