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:

text size limitation (1997) setting taxable to true (1997) WebCatalog 4.0.1 has been released! (2000) PIXO support (1997) Need relative path explanation (1997) Database changes (1998) Re:WebCatalog vidoes (was: Prices Dropped) (1998) Price (2000) Possible Bug in 2.0b15.acgi (1997) Error 11 (1996) Entering the Serial Number (2003) Latest beta slow on [order] and [purchase] (1997) weird happenings (1997) Associative lookup style? + bit more (1997) flushdatabases (2000) SQL Changes in 3.0.7? (2000) PCS Frames (1997) Sum of Quantities (1997) referrer usage (1997) [WebDNA] divisible by 1 (2011)