shipping calcs

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17698
interpreted = N
texte = Hi.I've got a shopping cart system in which everything is working fine, except we can't figure out how to insert a customized shipping cost formula.Here's what we'd do if this was Perl: if($subTotal < 50){ $shipping = 5; } else if($subTotal < 100){ $shipping = 10; } else{ $shipping=0; }How can we do this in web DNA ?Mark Mesenko -Webmaster- Internet Connect Services 2700 Radio Way Missoula, Montana 59802 406-541-4952 webmaster@montana.com http://www.montana.com/ics http://www.montana.com/showcase Associated Messages, from the most recent to the oldest:

    
  1. Re: shipping calcs (PCS Technical Support 1998)
  2. shipping calcs (Mark Mesenko 1998)
Hi.I've got a shopping cart system in which everything is working fine, except we can't figure out how to insert a customized shipping cost formula.Here's what we'd do if this was Perl: if($subTotal < 50){ $shipping = 5; } else if($subTotal < 100){ $shipping = 10; } else{ $shipping=0; }How can we do this in web DNA ?Mark Mesenko -Webmaster- Internet Connect Services 2700 Radio Way Missoula, Montana 59802 406-541-4952 webmaster@montana.com http://www.montana.com/ics http://www.montana.com/showcase Mark Mesenko

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:

Error Lob.db records error message not name (1997) taxRate is fine but taxTotal isn't (1997) Re[2]: Enhancement Request for WebCatalog-NT (1996) Emailer Set Up (1997) & not allowed in db by definition? (1999) Credit Card Number checking (1997) Separate SSL Server (1997) Separate SSL Server (1997) Blank orders after update to 5.1 (2003) no template caching (1997) multi-table date sort problem thingy (2002) [SearchString] problem with [search] context (1997) Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) [Announce] Newest Commerce Site based on WebCatalog (1997) PhotoMill -> PhotoMaster (1997) More on the email templates (1997) [SearchString] problem with [search] context (1997) Search results templates (1996) Practice runs ? (1997) Document Contains no data, or showcart error. (1997)