Shipcost Based on SubTotal

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20143
interpreted = N
texte = I figured it out! Finally! Now the site can go live. Phew!To base the shipcost on the subtotal so that on my invoice.tmpl page the [shipCost] would show the correct shipping amount I added this to my formulas.db and it did the trick. Thanks for the help. --MichaelName Formula shipCost [hideif [subTotal]>50.00][showif [subTotal]<50.00]5.95[/showif][/hideif] [hideif [subTotal]>75.00][showif [subTotal]<75.00]6.95[/showif][/hideif] [hideif [subTotal]>100.00][showif [subTotal]<100.00]7.95[/showif][/hideif] [hideif [subTotal]>150.00][showif [subTotal]<150.00]8.95[/showif][/hideif] [hideif [subTotal]>50000.00][showif [subTotal]<50000.00]9.95[/showif][/hideif] Associated Messages, from the most recent to the oldest:

    
  1. Shipcost Based on SubTotal (Michael Fichtenmayer 1998)
I figured it out! Finally! Now the site can go live. Phew!To base the shipcost on the subtotal so that on my invoice.tmpl page the [shipCost] would show the correct shipping amount I added this to my formulas.db and it did the trick. Thanks for the help. --MichaelName Formula shipCost [hideif [subTotal]>50.00][showif [subTotal]<50.00]5.95[/showif][/hideif] [hideif [subTotal]>75.00][showif [subTotal]<75.00]6.95[/showif][/hideif] [hideif [subTotal]>100.00][showif [subTotal]<100.00]7.95[/showif][/hideif] [hideif [subTotal]>150.00][showif [subTotal]<150.00]8.95[/showif][/hideif] [hideif [subTotal]>50000.00][showif [subTotal]<50000.00]9.95[/showif][/hideif] Michael Fichtenmayer

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:

Thanks ! (1997) This list needs a digest: rant, rave... (1997) send mail problem? (1997) OFF TOPIC: help wanted (1997) Newbie Question about seeting price to 0 (1998) WebCat2b12 CGI Mac - [shownext] problem (1997) Searching for all records (1998) Cookie problems using Mozilla and Camino browsers (2004) [cart]'s ever get recycled? (2000) email program problem (1998) [WebDNA] read database from other domain (2015) Hairy Shipping Monster (2006) Dummy Credit Card Number for debug? (1997) [shownext] and descending order (1997) Stopping bad HTML propagation ? (1997) Banner Ad example (Typhoon) and WebCatalog (1997) SiteEdit NewFile.html ? (1997) [WebDNA] [returnraw] on different platforms. (2008) creator code (1997) [WebDNA] multi [sendmail] inside [search] (2012)