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:

[WebDNA] Shared POP download (2010) Credit card types (1997) Re:2nd WebCatalog2 Feature Request (1996) greater than or equal to (1997) webcat and webkitty votes needed (1997) Word wrapping (1997) Ignoring [OrderFile] context (2005) Webcat & SIMS (1998) BannerAds example (1998) Running _every_ page through WebCat ? (1997) For those of you not on the WebCatalog Beta... (1997) RE: redirect with more than 256 characters (1999) Redirect (2003) RE: Error: template (1997) PIXO Support (1997) process SSI (1998) syntax question, not in online refernce (1997) Sendmail truncation in Eudora Clients (1998) Strange Crash (1998) [WebDNA] grep again (2010)