Re: Shipping charge question

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52058
interpreted = N
texte = Is that the actual code you are using? Is so, why are you using the [if] context if there's no comparison. For example, you're asking [if 2] rather than [if 2=2]. Regards, Tim > From: Eric > Reply-To: (WebDNA Talk) > Date: Mon, 04 Aug 2003 20:58:22 -0500 > To: (WebDNA Talk) > Subject: Shipping charge question > > Hi, > I hope someone can help me with the following: > > If the user's order contain a specific SKU number, then the shipping charge > for that entire order is zero. > > I place the following code at the invoice.inc page > > [if [lookup db=admin/products.db&lookinfield=SKU&value="N030844"]] > > [Then] > > [shippingTotal]="0" > > $[shippingTotal] > > [/Then] > > [/if] > > $[shippingTotal] > > But it did not work. What did I do wrong. It still have the shipping charge > even I order the item with SKU "N030844" > > Thanks, > > Eric > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

    
  1. Re: Shipping charge question ( Eric 2003)
  2. Re: Shipping charge question ( Donovan 2003)
  3. Re: Shipping charge question ( Donovan 2003)
  4. Re: Shipping charge question ( Donovan 2003)
  5. Re: Shipping charge question ( Eric 2003)
  6. Re: Shipping charge question ( Donovan 2003)
  7. Re: Shipping charge question ( Eric 2003)
  8. Re: Shipping charge question ( Donovan 2003)
  9. Re: Shipping charge question ( Kenneth Grome 2003)
  10. Re: Shipping charge question ( Tim Robinson 2003)
  11. Re: Shipping charge question ( "Gary Krockover" 2003)
  12. Shipping charge question ( Eric 2003)
Is that the actual code you are using? Is so, why are you using the [if] context if there's no comparison. For example, you're asking [if 2] rather than [if 2=2]. Regards, Tim > From: Eric > Reply-To: (WebDNA Talk) > Date: Mon, 04 Aug 2003 20:58:22 -0500 > To: (WebDNA Talk) > Subject: Shipping charge question > > Hi, > I hope someone can help me with the following: > > If the user's order contain a specific SKU number, then the shipping charge > for that entire order is zero. > > I place the following code at the invoice.inc page > > [if [lookup db=admin/products.db&lookinfield=SKU&value="N030844"]] > > [Then] > > [shippingTotal]="0" > > $[shippingTotal] > > [/Then] > > [/if] > > $[shippingTotal] > > But it did not work. What did I do wrong. It still have the shipping charge > even I order the item with SKU "N030844" > > Thanks, > > Eric > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Tim Robinson

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:

docs for WebCatalog2 (1997) Re:WebDNA made easier? (1998) search/showif issues (2000) Shopping carts and reloading pages (1997) New index for docs (1997) Error handling for accountNum (1997) WebCat2b12plugin - [search] is broken ... not! (1997) Can [writefile] files be served thru webcat? (2000) Migrating to NT (1997) WebDNA Developer Resource Center (2002) serial number (1998) DBServer.exe (2003) Force a search at the default.tmpl page? (1997) Date Math bug (1998) Ampersand Character (&) (1997) Post arguments problem mac? (1997) NT or Mac (1997) WC2b15 File Corruption (1997) Preventing code execution (2003) WebCatalog-NT?'s (1996)