Re: [shipCost] math formula?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14870
interpreted = N
texte = >What formula would be used to generate a [shipCost] of $5.00 if the >[subTotal] is under $50.00; > >and a [shipCost] of $0.00 if the [subTotal] is equal to or above $50.00?That's pretty straightforward...in fact, you can modify the example shipCost formula that is based on state, because it shows how to check the state. But in your case you would compare against the subtotal instead.[showif [subtotal]<50]5.00[/showif]0Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [shipCost] math formula? (Grant Hulbert 1997)
  2. [shipCost] math formula? (dwilfong@world-wide-art.com (David Wilfong) 1997)
>What formula would be used to generate a [shipCost] of $5.00 if the >[subTotal] is under $50.00; > >and a [shipCost] of $0.00 if the [subTotal] is equal to or above $50.00?That's pretty straightforward...in fact, you can modify the example shipCost formula that is based on state, because it shows how to check the state. But in your case you would compare against the subtotal instead.[showif [subtotal]<50]5.00[/showif]0Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Grant Hulbert

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] Ubuntu 10.4 & WebDNA 6.2 (2011) Subject: Authenticating users without dialog box (1997) New site announcement + Showing once on a founditems (1997) Avery 5160 Mailing Labels (2003) Bug or syntax error on my part? (1997) Languages (1997) RE: protect tag not working (1998) sendmail and attachments (2004) How to include weather (2000) Blocking off access (2005) 2nd WebCatalog2 Feature Request (1996) Emailer Error: 158 (2003) [WebDNA] Happy Friday (2016) Printing a final order (1997) [ot] ShowIf & HideIf Question (1998) Nesting format tags (1997) Locking up with WebCatalog... (1997) Multiple prices (1997) Append again (1999) Photo Album (2000)