math a various prices

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12363
interpreted = N
texte = Hi,I am looking at the manual about [math] and was wondering if there was a way to configure the total cost using variables for bulk discounts.For instance:Product A costs 100.00 for one item.Product A costs 50.00 for purchases of 5-10 itemsProduct A costs 40.00 for purchases of 10+ itemsProduct B costs 100.00 for one item.Product B costs 50.00 for purchases of 5-10 itemsProduct b costs 40.00 for purchases of 10+ items-- I purchase 2 items of A and 5 of B which comes to:200.00 (for A) + 250.00 (for B) = 550.00How would I configure this in the end using the [math] and variable tags?Thanks, Kevin Associated Messages, from the most recent to the oldest:

    
  1. Re: math a various prices (Grant Hulbert 1997)
  2. math a various prices (Kevin Furuta 1997)
Hi,I am looking at the manual about [math] and was wondering if there was a way to configure the total cost using variables for bulk discounts.For instance:Product A costs 100.00 for one item.Product A costs 50.00 for purchases of 5-10 itemsProduct A costs 40.00 for purchases of 10+ itemsProduct B costs 100.00 for one item.Product B costs 50.00 for purchases of 5-10 itemsProduct b costs 40.00 for purchases of 10+ items-- I purchase 2 items of A and 5 of B which comes to:200.00 (for A) + 250.00 (for B) = 550.00How would I configure this in the end using the [math] and variable tags?Thanks, Kevin Kevin Furuta

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] duplicate cookies being stored in browser (2010) NT 2.1b10 (1998) URL problem (2007) MacOSX/Apache? (1999) How did *you* learn Web Catalog? (2000) What's up with digger? (2004) WC Database Format (1997) [WebDNA] [OT] Need to add second SSL host - what are my options? (2010) web merchant (2000) Need help with emailer- 2 issues (1997) Smart caching problems with 2.1b3? (1997) A Couple Photos from the SmithMicro Booth at MacWorld (2000) [WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2013) Protect (1997) FW: WebDNA-Talk searchable? (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) Help Encrypt/Decrypt eMail (2003) For those of you not on the WebCatalog Beta... (1997) Silly Question (1997) beta 2 plugin (2000)