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:

[WebDNA] Two different mail servers? (2011) E-Commerce site for Canadian and US customers (1998) Re1000001: Setting up shop (1997) [WebDNA] Ubuntu 11.10 (2012) Thanks Grant (1997) [protect admin] (1997) Searchable WebCat (etc.) Docs ? (1997) Any way to index the contents of a PDF file with WebCatalog? (2000) Progress !! WAS: Trouble with formula.db (1997) Pithy questions on webcommerce & siteedit (1997) redirect with frames (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) [WebDNA] v7 problem? (2012) cookies and [returnraw] (1997) Duplicate Cart ID (2001) WCS Newbie question (1997) HomePage Caution (1997) PCS Emailer's role ? (1997) form data submission get (1997) carriage returns in data (1997)