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 Discount Disco0 0 Disco1 -50 Disco2 -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]On Behalf Of Glenn Busbin Sent: Tuesday, August 01, 2000 6:39 PM To: WebCatalog Talk Subject: 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 Discount Disco0 0 Disco1 -50 Disco2 -55Then, use [showif]'s on the Invoice or ThankYou page to determine the discount 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 to Web 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:

    
  1. Re: [WebDNA] [SETLINEITEM] Price Change Not Working (Lawrence 2010)
  2. [WebDNA] [SETLINEITEM] Price Change Not Working ("Ki Song - Knifecenter.com" 2010)
  3. Re: Price Change Password ( Stuart Tremain 2003)
  4. Re: Price Change Password ( Stuart Tremain 2003)
  5. Price Change Password ( Brian Wachter 2003)
  6. Re: Price Change (John Butler 2000)
  7. Re: Price Change (Stephen Russo 2000)
  8. Re: Price Change (Stephen Russo 2000)
  9. Re: Price Change (Glenn Busbin 2000)
  10. Re: Price Change (John Jakovich 2000)
  11. Re: Price Change (Stephen Russo 2000)
  12. Re: Price Change (Glenn Busbin 2000)
  13. Re: Price Change (Glenn Busbin 2000)
  14. Re: Price Change (Stephen Russo 2000)
  15. Re: Price Change (Glenn Busbin 2000)
  16. Re: Price Change (dale 2000)
  17. Re: Price Change (John Butler 2000)
  18. Price Change (Stephen Russo 2000)
  19. Re: Price Change (Glenn Busbin 2000)
  20. Re: Price Change (PCS Technical Support 1999)
  21. Price Change (Bob Minor 1999)
  22. Re: price change help (PCS Technical Support 1998)
  23. price change help (Scott Szretter 1998)
Glenn, I made a db called discount.db. In there I have: Name Discount Disco0 0 Disco1 -50 Disco2 -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]On Behalf Of Glenn Busbin Sent: Tuesday, August 01, 2000 6:39 PM To: WebCatalog Talk Subject: 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 Discount Disco0 0 Disco1 -50 Disco2 -55Then, use [showif]'s on the Invoice or ThankYou page to determine the discount 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 to Web 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:

[tcp connect] (1998) I'm new be kind (1997) ListVariables Problem (2003) Bug Report, maybe (1997) setitems, one more thing (1997) Problem with updating 2.1b7 -> 2.1.1 (1998) date (1999) emailer w/F2 (1997) IBM DB2 (2000) carriage returns in data (1997) New Command prefs ... (1997) Re:no [search] with NT (1997) [WebDNA] Using WebDNA with MAMP (2010) [WebDNA] Require no empty field (2010) Share Bulletin Board? (1998) Nested vs conditional (1997) WebCatalog vs. Cold Fusion (1998) Anyone using WebCat UNIX on a busy server yet? (1999) WebCat2b15MacPlugin - showing [math] (1997) Running _every_ page through WebCat ? (1997)