Re: Calculating Shipping charges for multiple items andqtys > 1

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13748
interpreted = N
texte = >We are trying to create a basket store where shipping method is >multiplied by quantity. For example UPSGROUND which is 8.95, is >multiplied by quantity. > >I tried writing the following formula in the >file formulas.db: [math][totalqty][lookup >db=ShipCosts.db&lookInField=ShipMethod&value=[shipVia]&returnField=SHIPCOST >][/math] > >Totalqty is a function where totalqty=totalqty+[quantity]. > >Can anyone tell me why this didn't work?What's the WebDNA code that creates the value [totalqty]?Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: Calculating Shipping charges for multiple items andqtys > 1 (Kenneth Grome 1997)
>We are trying to create a basket store where shipping method is >multiplied by quantity. For example UPSGROUND which is 8.95, is >multiplied by quantity. > >I tried writing the following formula in the >file formulas.db: [math][totalqty][lookup >db=ShipCosts.db&lookInField=ShipMethod&value=[shipVia]&returnField=SHIPCOST >][/math] > >Totalqty is a function where totalqty=totalqty+[quantity]. > >Can anyone tell me why this didn't work?What's the WebDNA code that creates the value [totalqty]?Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Kenneth Grome

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:

Extended [ConvertChars] (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Adding freight and percentages (2000) Random Generator (2005) Transferring textareas (1997) [SearchString] usage (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) all records returned. (1997) database size? (1997) include (1998) Mondo amounts of Mail [long] (1999) authorize.net hex coded variables (2002) ShoppingCart Woes (1998) Field lenght (1998) Where is f2? (1997) Physical Security for WebCatalog Directories (1997) Order file numbers different than the cart number. why? (2000) PCS Frames (1997) search form problem.. (1997) 2.1b2 was SLOW ... but 2.1b3 is FAST! (1997)