Re: Price Change
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35586
interpreted = N
texte = Glenn,I made a db called discount.db.In there I have:Name DiscountDisco0 0Disco1 -50Disco2 -55Just like you suggested.In the Invoice.tpl page I put this:After the subtotal, to see if it worked,[showif [subtotal]>299][math][subtotal]=[subtotal]+[disco1][/math][/showif]Nothing was shown.What am I doing wrong? Any help would be great.Stephen-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]OnBehalf Of Glenn BusbinSent: Tuesday, August 01, 2000 6:39 PMTo: WebCatalog TalkSubject: Re: Price Change>Here is the scenario.>If a user's subtotal is between 299-499 I want to subtract $50 from the>price.>If a user's subtotal is over 500 I want to subtract $55 from the price.>How do I do this? I tried changing the price in the formula.db file and no>luck.>>Where do I do the math?>Create a database. Maybe like:Name DiscountDisco0 0Disco1 -50Disco2 -55Then, use [showif]'s on the Invoice or ThankYou page to determine thediscount to be given and add it to the Subtotal.How's that?Glenn-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Glenn,I made a db called discount.db.In there I have:Name DiscountDisco0 0Disco1 -50Disco2 -55Just like you suggested.In the Invoice.tpl page I put this:After the subtotal, to see if it worked,[showif [subtotal]>299][math][subtotal]=[subtotal]+[disco1][/math][/showif]Nothing was shown.What am I doing wrong? Any help would be great.Stephen-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]OnBehalf Of Glenn BusbinSent: Tuesday, August 01, 2000 6:39 PMTo: WebCatalog TalkSubject: Re: Price Change>Here is the scenario.>If a user's subtotal is between 299-499 I want to subtract $50 from the>price.>If a user's subtotal is over 500 I want to subtract $55 from the price.>How do I do this? I tried changing the price in the formula.db file and no>luck.>>Where do I do the math?>Create a database. Maybe like:Name DiscountDisco0 0Disco1 -50Disco2 -55Then, use [showif]'s on the Invoice or ThankYou page to determine thediscount to be given and add it to the Subtotal.How's that?Glenn-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Stephen Russo
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:
Re:2nd WebCatalog2 Feature Request (1996)
RE: creating writefile data from a nested search (1997)
calculate user's age (1999)
GrandTotal not right (1997)
Moving files from one server to another... (2001)
[WebDNA] plupload ? (2012)
.html processing? (1998)
webcat- multiple selection in input field (1997)
Multiple Ad databases? (1997)
Is there a way to just get to the last record in the database? (1997)
[ConvertChars] problem (1997)
Q: Japanese Kanji code support? (2000)
Tip of the day.. Sitebuilder Photo feature (2005)
expired beta (1997)
No more misunderstanding ... yay! :) (1997)
NT considerations (1997)
[WebDNA] hideif within a search (2009)
WebDNA 6 (2004)
authenticating a second user (1997)
Detecting NULL value in returned SQL (2000)