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:

Orderfile Info is Dissappearing (1998) WebCommerce: Folder organization ? (1997) Country & Ship-to address & other fields ? (1997) Webstar 1.3.1 PPC (1997) [OT] Games (2005) using showpage and showcart commands (1996) absolute paths for databases? (1997) WebMerchant problem (1998) Help name our technology! (1997) adding up in a db (1997) How can I Add several Items into the cart at once? (1997) Date Question (2002) No Access warning when caching HTML files (1997) WebDNA HitLogger available (was Signal Raised Error) (1997) Multiple Pulldowns (1997) problems with WebCat-Plugin () Likelihood of a duplicate (Palle you around?) (2005) WebCat2_Mac RETURNs in .db (1997) PSC recommends what date format yr 2000??? (1997) webcatalog [date] bug...not (1999)