Re: Product Value Changes

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27228
interpreted = N
texte = > I was using > showif's and changing the price like that but that did not work.Where? On the template or in formulas.db?The proper place is in formulas.db. You could set a header or cookie depending on the options they choose, and then use this in your showif/hideif in formulas.dbHere's an example from one of my formula.dbs that changes price based on an inputted user code:Name Formula price [math][showif [inputcode]=swr25][lookup db=catalog.txt&value=[sku]&lookinfield=sku&returnfield=price]*.75[/showif][h ideif [inputcode]=swr25][lookup db=catalog.txt&value=[sku]&lookinfield=sku&returnfield=price]*.80[/hideif][/ math]-- Will Starck Product and Technical Support NovaDerm.com http://www.novaderm.com techs@novaderm.com Toll free support line: 800-378-1740------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Product Value Changes (Will Starck 2000)
  2. Product Value Changes (Stephen Russo 2000)
> I was using > showif's and changing the price like that but that did not work.Where? On the template or in formulas.db?The proper place is in formulas.db. You could set a header or cookie depending on the options they choose, and then use this in your showif/hideif in formulas.dbHere's an example from one of my formula.dbs that changes price based on an inputted user code:Name Formula price [math][showif [inputcode]=swr25][lookup db=catalog.txt&value=[sku]&lookinfield=sku&returnfield=price]*.75[/showif][h ideif [inputcode]=swr25][lookup db=catalog.txt&value=[sku]&lookinfield=sku&returnfield=price]*.80[/hideif][/ math]-- Will Starck Product and Technical Support NovaDerm.com http://www.novaderm.com techs@novaderm.com Toll free support line: 800-378-1740------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Will Starck

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:

What am I missing (1997) A little syntax help (1997) WebCat & cookies (1998) MacFinder -- a new WebDNA web site (1998) Bug with periods in [math] variable names (2001) 5.0 Preview Promotion Extension (2003) FORMS: Returning a specific page (1997) Forcing a NEWCART (1997) [SearchString] (1998) date math [2.x] (1999) [lowercase] context? (1999) [WriteFile] problems (1997) Meet your competition (2000) Code intermittently reverts to previous state (2000) WebCat2b15MacPlugin - showing [math] (1997) [TaxableTotal] - not working with AOL and IE (1997) Re2: frames & carts (1997) NT vs Mac (1997) [WebDNA] PCI fubar (2012) [OT] Good javascript book? (2002)