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:

WebMerchant Mac 3.0 beta available (1998) displaying New products (Yikes! it's Fixed!) (1997) Projects & Contractors (1997) [WebDNA] Build Name for 6.1 (2008) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Problems adding stuff to the shopping cart. (1997) http://www.smithmicro.com/WebDNAReference/ current? (2000) Electronic Delivery (1997) shipcost (1997) Re:listfiles-looking for slick solution (1997) WebCat2: multiple currency support (1997) Date Calulation (1997) Sort Order on a page search (1997) WebCatalog for guestbook ? (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) WCS Newbie question (1997) Cookies and webcat (1997) verify online (1997) Tiny Store (1998) How to include weather (2000)