What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Shipping charge question

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52101
interpreted = N
texte = Dear Donovan: it still defaults zero even the order did not contain sku=N030844 Thanks Eric At 08:58 AM 8/7/2003 -0500, you wrote: >Eric wrote: >[snip] >>However, it also gives me shipping=0 when the order did not contain >>SKU=N030844. > >oops, Since the setheader is being anacted all the time and it is seeing >a value of "[theShipping]" it is defaulting to 0. > >Try adding a flag and adding a showif, like below. > >[orderfile cart=[cart]] > [lineitems] > [showif [sku]="N030844"][!]Note - the quotes must exist in > product SKU [/!] > [text multi=T]action=set&theShipping=0[/text] > [/showif] > [/lineitems] >[/orderfile] > >[showif [action]=set] > [setheader > cart=[cart]&db=some.db]Password=BLAH&ShippingTotal=[theShipping][/setheader] >[/showif] > >you could also replace the text variable code with the actual setheader ( >I usually keep cart and database tools as separate modules ). > >Donovan > >-- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE > Eucalyptus Design > Developer / Consultant > <-Web Development (specializing in eCommerce), -> > <-Graphic Design, and Pre-Press Consultation -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > P.O. Box 260153 > Madison, WI 53726-0153 > > PH:> 1.608.442.5217 > email:> dbrooke@euca.us > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > >------------------------------------------------------------- >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 has been scanned for viruses and >dangerous content by the MailScanner at ow4, and is >believed to be clean. ------------------------------------------------------------- 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)
Dear Donovan: it still defaults zero even the order did not contain sku=N030844 Thanks Eric At 08:58 AM 8/7/2003 -0500, you wrote: >Eric wrote: >[snip] >>However, it also gives me shipping=0 when the order did not contain >>SKU=N030844. > >oops, Since the setheader is being anacted all the time and it is seeing >a value of "[theShipping]" it is defaulting to 0. > >Try adding a flag and adding a showif, like below. > >[orderfile cart=[cart]] > [lineitems] > [showif [sku]="N030844"][!]Note - the quotes must exist in > product SKU [/!] > [text multi=T]action=set&theShipping=0[/text] > [/showif] > [/lineitems] >[/orderfile] > >[showif [action]=set] > [setheader > cart=[cart]&db=some.db]Password=BLAH&ShippingTotal=[theShipping][/setheader] >[/showif] > >you could also replace the text variable code with the actual setheader ( >I usually keep cart and database tools as separate modules ). > >Donovan > >-- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE > Eucalyptus Design > Developer / Consultant > <-Web Development (specializing in eCommerce), -> > <-Graphic Design, and Pre-Press Consultation -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > P.O. Box 260153 > Madison, WI 53726-0153 > > PH:> 1.608.442.5217 > email:> dbrooke@euca.us > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > >------------------------------------------------------------- >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 has been scanned for viruses and >dangerous content by the MailScanner at ow4, and is >believed to be clean. ------------------------------------------------------------- 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/ Eric

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:

WebDNA quitting (2008) searching multiple databases (1997) RAM problems, [appendfile] problems (1998) What am I missing (1997) Emailer Problem (1998) [ot] ShowIf & HideIf Question (1998) Long/Lat (2002) [WebDNA] Cacheing include files (2015) sandboxes with 6.0 (2004) Math Context (1998) HomePage Caution (1997) A Suggestion? (1998) WebCat2: Items xx to xx shown, etc. (1997) Getting URL's entered manually (1997) Need correct syntax for writing to header2 (1999) No Access warning when caching HTML files (1997) Using Plug-In while running 1.6.1 (1997) OT - SMSI complaint (2001) Checkboxes (1998) OT : Java problems (2002)