setitems, one more thing

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12414
interpreted = N
texte = Grant, Thanks for the explanation on setitems. It worked fine up to one point. The calculations of the [subtotal] still gave me the quantity of the lower than minimum value entered by the user. The [setlineitem] command makes the quantity and price format right for each indivual lineitem, but when calculating the subtotal of ALL lineitems, the lower than minimumquantity arises again. For instance in a minimum setting of 10 and the customer enters 1 for a product that costs 10$. The [setlineitems] command would do something like the following: -------------------------order product price qty amount1 A 10$ 10 $100 subtotal: $10 Is there one more setlineitem commmand I need to do for the [subtotal]? Thanks. Kev Associated Messages, from the most recent to the oldest:

    
  1. Re: setitems, one more thing (Grant Hulbert 1997)
  2. setitems, one more thing (Kevin Furuta 1997)
Grant, Thanks for the explanation on setitems. It worked fine up to one point. The calculations of the [subtotal] still gave me the quantity of the lower than minimum value entered by the user. The [setlineitem] command makes the quantity and price format right for each indivual lineitem, but when calculating the subtotal of ALL lineitems, the lower than minimumquantity arises again. For instance in a minimum setting of 10 and the customer enters 1 for a product that costs 10$. The [setlineitems] command would do something like the following: -------------------------order product price qty amount1 A 10$ 10 $100 subtotal: $10 Is there one more setlineitem commmand I need to do for the [subtotal]? Thanks. Kev 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:

Possible Bug in 2.0b15.acgi (1997) about this server and links to who (1997) Image Upload and Auto Resize? (2003) sorting... (2003) $Quit, $CloseDatabase corrections (1997) Multiple SSL Keys (1998) WebCatalog Upgrade Pricing? (1997) Press Release hit the NewsWire!!! (1997) Can you do this??? and other stuff (1997) Quit revisited (1997) OFF-TOPIC: For Gary Krockover ... (2003) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) WC2b12: Yes, Formulas.db is for real (1997) ShowNext for method=POST (1997) [SearchString] problem with [search] context (1997) OT: CSS expert needed for a newbie question (2002) minimalist shopping cart. (1997) OT: CC Processors question (2002) Plugin or CGI or both (1997) Newbie needs advice to learn to use WebDNA (2003)