Re: formula???

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34772
interpreted = N
texte = I don't think anyone knows. In fact, I posted two messages to the list last week asking the same thing.The docs say that you can use the formulas database to set [price] according to different situations, but I sure can't get it to work.According to the docs: >[math][showif [username]=GRANT]0.0*[/showif][lookup >db=catalog.txt&lookInField=sku&value=[sku]&returnField=price][/math] > >This example would set the price to $0 if the user was logged in as >GRANT, otherwise the price would be unchanged.Lottsa luck in getting something like that to work, though.>I thank you in advance. > >In this page I am creating a customer has to be able to order one product >are regular price (29.95) but if they buy 2 or more then the price is >(19.95)each >How can I accomplish this?? >Any suggestions? >------------------------------------------------------------- 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: formula??? (John Peacock 2000)
  2. Re: formula??? (John Peacock 2000)
  3. Re: formula??? (Glenn Busbin 2000)
  4. Re: formula??? (John Butler 2000)
  5. Re: formula??? (John Butler 2000)
  6. Re: formula??? (Glenn Busbin 2000)
  7. Re: formula??? (WebDNA Support 2000)
  8. Re: formula??? (Glenn Busbin 2000)
  9. Re: formula??? (Arturo Vargas 2000)
  10. Re: formula??? (WebDNA Support 2000)
  11. Re: formula??? (John Butler 2000)
  12. Re: formula??? (Glenn Busbin 2000)
  13. Re: formula??? (John Peacock 2000)
  14. Re: formula??? (Glenn Busbin 2000)
  15. Re: formula??? (John Peacock 2000)
  16. formula??? (Arturo Vargas 2000)
I don't think anyone knows. In fact, I posted two messages to the list last week asking the same thing.The docs say that you can use the formulas database to set [price] according to different situations, but I sure can't get it to work.According to the docs: >[math][showif [username]=GRANT]0.0*[/showif][lookup >db=catalog.txt&lookInField=sku&value=[sku]&returnField=price][/math] > >This example would set the price to $0 if the user was logged in as >GRANT, otherwise the price would be unchanged.Lottsa luck in getting something like that to work, though.>I thank you in advance. > >In this page I am creating a customer has to be able to order one product >are regular price (29.95) but if they buy 2 or more then the price is >(19.95)each >How can I accomplish this?? >Any suggestions? >------------------------------------------------------------- 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/ Glenn Busbin

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:

WordBreak Qestion (1998) SiteGuard Admin Feature ? (1997) WebSTAR/WebCat is serving .db files! (1999) What file? (1997) GetPOPmail (2000) Can webcat 3.0/4.0 handle 1,000,000 hits a day? (2000) Automatic thumbnail images (1998) Multiple fields on 1 input (1997) Re(9): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Re:Signal Raised (1997) Sku numbers (1997) Event Calendar (2004) Email Problem (1997) [WebDNA] What does PHP(5) has, that Webdna hasn't (2009) multiple product databases (1997) Date problems-more (1997) ConvertWords (2001) upgrade problem with users.db (1998) &FieldNametype=time unnecessary? (2000) Why is [authenticate] not recognizing [username] on all site directories? (2000)