Re: Shipping by order total
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54466
interpreted = N
texte = Thanks Donovan,The cart is offline and being updated so I've a little time to play, but maycall on you for some help next week.Thanks again,Gary> From: Donovan Brooke
> Reply-To: (WebDNA Talk)> Date: Wed, 26 Nov 2003 09:23:27 -0600> To: (WebDNA Talk)> Subject: Re: Shipping by order total> > You could nest if's to do this or you could go with a database.> Switch and Array's would be dfficult I think because you are matching> exact values. In your case I'd probably do IF then..> > [if [shiptype]=1[!] or "ground" or whatever [/!]]> [then]> [!]Nest your IF/then code here to figure out price [/!]> [/then]> [else]> [if [shiptype]=2]> [then]> [!]Nest your IF/then code here to figure out price [/!]> [/then]> [else] [!] this is the last ship type so it doesn't need an exact match [/!]> [!]Nest your IF/then code here to figure out price [/!]> [/else]> [/if]> [/else]> [/if]> > Remember, the formulas.db can't have any returns...(although you can comment> out> returns..(see formulas.db in docs))> > Donovan> > > > Gary Chiasson wrote:> >> Also, I think it would need to be an array which would include (ground, 3>> day, 2 day)>> >> All based on the order subtotal.>> Thanks again,>> Gary> > -- > =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> <-Web Development (specializing in eCommerce), ->> <-Graphic Design, and Pre-Press Consultation ->> > ADDRESS:> Donovan Brooke> DBA Eucalyptus Design> N2862 Summerville Park Rd.> Lodi, WI 53555> PH:> 1.608.592.3567> 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 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:
Thanks Donovan,The cart is offline and being updated so I've a little time to play, but maycall on you for some help next week.Thanks again,Gary> From: Donovan Brooke > Reply-To: (WebDNA Talk)> Date: Wed, 26 Nov 2003 09:23:27 -0600> To: (WebDNA Talk)> Subject: Re: Shipping by order total> > You could nest if's to do this or you could go with a database.> Switch and Array's would be dfficult I think because you are matching> exact values. In your case I'd probably do IF then..> > [if [shiptype]=1[!] or "ground" or whatever [/!]]> [then]> [!]Nest your IF/then code here to figure out price [/!]> [/then]> [else]> [if [shiptype]=2]> [then]> [!]Nest your IF/then code here to figure out price [/!]> [/then]> [else] [!] this is the last ship type so it doesn't need an exact match [/!]> [!]Nest your IF/then code here to figure out price [/!]> [/else]> [/if]> [/else]> [/if]> > Remember, the formulas.db can't have any returns...(although you can comment> out> returns..(see formulas.db in docs))> > Donovan> > > > Gary Chiasson wrote:> >> Also, I think it would need to be an array which would include (ground, 3>> day, 2 day)>> >> All based on the order subtotal.>> Thanks again,>> Gary> > -- > =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> <-Web Development (specializing in eCommerce), ->> <-Graphic Design, and Pre-Press Consultation ->> > ADDRESS:> Donovan Brooke> DBA Eucalyptus Design> N2862 Summerville Park Rd.> Lodi, WI 53555> PH:> 1.608.592.3567> 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 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/
Gary Chiasson
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] Feature Request (2013)
E-Mail Preferences in Admin Folder (1997)
[OT] Linux Vs. OSX (leopard) server (2007)
Tab Charactor (1997)
Are you an WC expert? (1997)
transferring values (1998)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
[WebDNA] Major grep/convertchars linux issues when writing to db (2010)
emailer (1997)
Limitations on fields? Server is crashing (1997)
sort problems....bug or brain fart? (1997)
ADDEMDUM: Which beta for w* 4.1 and a problem w/b12 (1999)
WebCatalog 2.0 b 15 mac (1997)
[WriteFile] problems (1997)
pc (1997)
[format xs] freeze (1997)
Upgrade Price Problems (2000)
Got WebCat buyer's remorse? (1998)
Duplicate Cart ID (2001)
Sample Tearoom Search Error (1997)