Re: It just Does't add up!!!
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15032
interpreted = N
texte = >All I want to do is:>For every 2 items only charge 1 delivery>ie: 1-2 items =$10, 2-3 items =$20, 4-5 items =$30, 6-7 items =$40My questions and suggestions:(1) Shouldn't the breaks in the above groups be 1-2, 3-4, 5-6, 7-8,9-10, etc? The way it is written above, when I order 2 items mydelivery charge could be either $10 or $20 ... :)(2) This loop tag is wrong:[loop start=1 &end=50 &advance=1]The only space allowed in this loop tag is a single space between theword loop and the word start. All the other spaces are notallowed, and they are causing the loop to fail. That tag should bewritten like this instead:[loop start=1&end=50&advance=1](3) You have blank spaces in the following math tag that don't belongthere, too. Remember, you have to make sure to use the proper syntaxwhen writing your WebDNA, and extra spaces can cause problems:[math] roundup=0 [/math]The rest of your WebDNA looks okay ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
>All I want to do is:>For every 2 items only charge 1 delivery>ie: 1-2 items =$10, 2-3 items =$20, 4-5 items =$30, 6-7 items =$40My questions and suggestions:(1) Shouldn't the breaks in the above groups be 1-2, 3-4, 5-6, 7-8,9-10, etc? The way it is written above, when I order 2 items mydelivery charge could be either $10 or $20 ... :)(2) This loop tag is wrong:[loop start=1 &end=50 &advance=1]The only space allowed in this loop tag is a single space between theword loop and the word start. All the other spaces are notallowed, and they are causing the loop to fail. That tag should bewritten like this instead:[loop start=1&end=50&advance=1](3) You have blank spaces in the following math tag that don't belongthere, too. Remember, you have to make sure to use the proper syntaxwhen writing your WebDNA, and extra spaces can cause problems:
[math] roundup=0 [/math]The rest of your WebDNA looks okay ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
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:
WebCat2 beta 11 - new prefs ... (1997)
Re1000001: Setting up shop (1997)
Adding Items to Cart (2003)
WebCat2: Items xx to xx shown, etc. (1997)
PR: WebCatalog Affiliates Program Announced -- Share the revenue for promoting WebCatalog (2000)
Apache not likeing WebDNA (2008)
[WebDNA] Setting up a new server, hierarchy question (2014)
Summing fields (1997)
[WebDNA] special chars --> WebDNA file upload (2009)
PCS Frames (1997)
Security (2000)
carriage returns in data (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
WebCatalog stalls (1998)
Searching for Nothing (1998)
WebCatalog on G3 Macs? (1997)
Extended [ConvertChars] (1997)
DB approach question (2000)
Emailer problem (1998)
[WebDNA] Problem with SendMail - seems succesfull but nothing to (2016)