multiple price line in formula.db

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56316
interpreted = N
texte = Having problems with getting one price for retail and one price for wholesale customers. I have two different price fields and the following in the formula.db for the price line. [if cust=wholesale [then][lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=wprice] [/then] [else] [lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=rprice] [/else] [/if] Should I be using the [showif] instead? sc ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
Having problems with getting one price for retail and one price for wholesale customers. I have two different price fields and the following in the formula.db for the price line. [if cust=wholesale [then][lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=wprice] [/then] [else] [lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=rprice] [/else] [/if] Should I be using the [showif] instead? sc ------------------------------------------------------------- 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://webdna.smithmicro.com/ Steve Chun

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:

WebCatalog can't find database (1997) [CART] inside a [LOOP] (1997) Email (2000) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) 2nd WebCatalog2 Feature Request (1996) Secure server question (1997) oops private message leaked into talk list (1997) read and write you own cookies with webcat (1997) Thanks ! (1997) Netscape 3.01 can't see db in form (was problems problemsproblems) (1997) [WebDNA] eCommerce System Release (2018) Running 2 two WebCatalog.acgi's (1996) WebCatalog & Mac OS X (client) vs. Redhat Linux (2001) Re:trouble (1997) [WebDNA] agree? --> also broken when we compare against something with a "!" in it. (2009) Squares instead of spaces (2001) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) More on the email templates (1997) Emailer Set Up (1997) emailer w/F2 (1997)