Re: Shipping by order total

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54464
interpreted = N
texte = Thanks folks, I guess this will be my weekend project. During halftime... Gary > From: devaulw@onebox.com > Reply-To: (WebDNA Talk) > Date: Wed, 26 Nov 2003 10:07:26 -0500 > To: (WebDNA Talk) > Subject: Re: Shipping by order total > > I use the following to determine shipping according to the subtotal formula > you've generally described: > > [math show=f]ship=[showif [subTotal]<50.01]8.00[/showif] > [showif [subTotal]>50.00][showif [subTotal]<100.01]10.00[/showif][/showif] > [showif [subTotal]>100.00][showif [subTotal]<150.01]10.00[/showif][/showif] > [showif [subTotal]>150.00][showif [subTotal]<200.01]12.00[/showif][/showif] > [showif [subTotal]>200.00][showif [subTotal]<250.01]12.00[/showif][/showif] > [showif [subTotal]>250.00][showif [subTotal]<300.01]14.00[/showif][/showif] > [showif [subTotal]>300.00][showif [subTotal]<350.01]14.00[/showif][/showif] > [showif [subTotal]>350.00][showif [subTotal]<400.01]16.00[/showif][/showif] > [showif [subTotal]>400.00][showif [subTotal]<450.01]16.00[/showif][/showif] > [showif [subTotal]>450.00][showif [subTotal]<500.01]18.00[/showif][/showif] > [showif > [subTotal]>500.00][math]8+ceil([subTotal]/100)*2[/math][/showif][/math] > > It's hardly elegant, but it works for us. This could be less cumbersome using > a case statement but was coded prior to the availability of that command. If > you find or make something that can easily be used through a database and > tailored to multiple users/stores, please let me know. > > Thanks, > Bill > > -----Original Message----- > From: Gary Chiasson > Sent: Wed, 26 Nov 2003 09:52:00 -0500 > To: (WebDNA Talk) > Subject: Shipping by order total > > Has anyone set up shipping based on the total of the order? > ie: Orders up to $20, shipping = $x.xx > Orders up to $50, shipping = $x.xx > etc. > Thanks, > Gary > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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 by order total ( Gary Chiasson 2003)
  2. Re: Shipping by order total ( Gary Chiasson 2003)
  3. Re: Shipping by order total ( Donovan Brooke 2003)
  4. Re: Shipping by order total ( devaulw@onebox.com 2003)
  5. Re: Shipping by order total ( Donovan Brooke 2003)
  6. Re: Shipping by order total ( Gary Chiasson 2003)
  7. Shipping by order total ( Gary Chiasson 2003)
Thanks folks, I guess this will be my weekend project. During halftime... Gary > From: devaulw@onebox.com > Reply-To: (WebDNA Talk) > Date: Wed, 26 Nov 2003 10:07:26 -0500 > To: (WebDNA Talk) > Subject: Re: Shipping by order total > > I use the following to determine shipping according to the subtotal formula > you've generally described: > > [math show=f]ship=[showif [subTotal]<50.01]8.00[/showif] > [showif [subTotal]>50.00][showif [subTotal]<100.01]10.00[/showif][/showif] > [showif [subTotal]>100.00][showif [subTotal]<150.01]10.00[/showif][/showif] > [showif [subTotal]>150.00][showif [subTotal]<200.01]12.00[/showif][/showif] > [showif [subTotal]>200.00][showif [subTotal]<250.01]12.00[/showif][/showif] > [showif [subTotal]>250.00][showif [subTotal]<300.01]14.00[/showif][/showif] > [showif [subTotal]>300.00][showif [subTotal]<350.01]14.00[/showif][/showif] > [showif [subTotal]>350.00][showif [subTotal]<400.01]16.00[/showif][/showif] > [showif [subTotal]>400.00][showif [subTotal]<450.01]16.00[/showif][/showif] > [showif [subTotal]>450.00][showif [subTotal]<500.01]18.00[/showif][/showif] > [showif > [subTotal]>500.00][math]8+ceil([subTotal]/100)*2[/math][/showif][/math] > > It's hardly elegant, but it works for us. This could be less cumbersome using > a case statement but was coded prior to the availability of that command. If > you find or make something that can easily be used through a database and > tailored to multiple users/stores, please let me know. > > Thanks, > Bill > > -----Original Message----- > From: Gary Chiasson > Sent: Wed, 26 Nov 2003 09:52:00 -0500 > To: (WebDNA Talk) > Subject: Shipping by order total > > Has anyone set up shipping based on the total of the order? > ie: Orders up to $20, shipping = $x.xx > Orders up to $50, shipping = $x.xx > etc. > Thanks, > Gary > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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:

quit sending me mail!!!!! (1999) emailer settings and control questions (1997) Uploading very large image files (2003) Help formatting search results w/ table (1997) Shopping carts and reloading pages (1997) founditems and setheader (2000) WebDNA CAPTCHA (2008) Email and name capture (1999) Creating main- and sub-category search (1997) NT [delete] (1998) submit order (twice) (2001) Re:Version 2.0 and 1.6 simultaneous (1997) R.I.P. Netscape (2003) Upgrading old WebCat Database Files (1997) cart ID (1998) WebMerchant/MacAuthorize (1998) Error: this shopping cart has already been submitted and (2006) WebCat2b13MacPlugin - [math][date][/math] problem (1997) [showif] and equality (1998) Help! Odd, irreproducible happenings. (1998)