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:

[WriteFile] problems (1997) Web Developer Product Awards (1997) [WebDNA] Feature Request (2013) Questions To Answer (1997) WebCatalog2 Feature Feedback (1996) WebDNA Solutions ... (1997) multiple search commands (1997) exclamation mark... (1999) Maybe minor bug report (1997) Interfacing WebMerchant to www.fedex.com (1997) Separate SSL Server (1997) Can I invoke an ssi plugin from within a webcat page (1997) SKU lookup (1997) [include ...] behavior (1997) More ways to search the docs (1998) Sorting by date (1997) HELP! Search finding too much! (1998) Loop context to replace items (1998) Hairy Shipping Monster (2006) WebCat2 - storing unformatted date data? (1997)