Re: and more [shipcost]....

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39000
interpreted = N
texte = The New include file:[showif [shipvia]=UPSGround] [showif [subTotal]<10.01]4.95[/showif] [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif] [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif] [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif] [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif] [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif] [/showif] [showif [category]=gift certificates] shipCost 0 [/showif] [showif [category]=photos] shipCost 1.95 [/showif]Will this work for you, this may need modification to fit your needs...HTHAnup Setty ----- Original Message ----- From: Arturo Vargas To: WebCatalog Talk Sent: Tuesday, October 02, 2001 2:58 PM Subject: and more [shipcost].... > I went searching at the archive and I found this really good reply by John > Jakovich back in 1999 > > ----------------------------------- > shipCost [Include file=shipcost_formula.inc] > > Here's the code I used in my include file: > > [showif [shipvia]=UPSGround] > [showif [subTotal]<10.01]4.95[/showif] > [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif] > [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif] > [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif] > [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif] > [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif] > [/showif] > -------------------------------- > > This works great; however, I NOT only need to generate different prices > based on the subtotal. there are two categories in the store: gift > certificates and photos that don't follow the formula above. > > Gift Certificates need to be free shipping > and Photos only $1.95 > > any help would be greatly appreciated. > > Please........... > > Art > > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: and more [shipcost].... (Arturo Vargas 2001)
  2. Re: and more [shipcost].... (Glenn Busbin 2001)
  3. Re: and more [shipcost].... (Arturo Vargas 2001)
  4. Re: and more [shipcost].... (Anup Setty 2001)
  5. Re: and more [shipcost].... (Arturo Vargas 2001)
  6. Re: and more [shipcost].... (Anup Setty 2001)
  7. and more [shipcost].... (Arturo Vargas 2001)
The New include file:[showif [shipvia]=UPSGround] [showif [subTotal]<10.01]4.95[/showif] [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif] [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif] [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif] [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif] [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif] [/showif] [showif [category]=gift certificates] shipCost 0 [/showif] [showif [category]=photos] shipCost 1.95 [/showif]Will this work for you, this may need modification to fit your needs...HTHAnup Setty ----- Original Message ----- From: Arturo Vargas To: WebCatalog Talk Sent: Tuesday, October 02, 2001 2:58 PM Subject: and more [shipcost].... > I went searching at the archive and I found this really good reply by John > Jakovich back in 1999 > > ----------------------------------- > shipCost [Include file=shipcost_formula.inc] > > Here's the code I used in my include file: > > [showif [shipvia]=UPSGround] > [showif [subTotal]<10.01]4.95[/showif] > [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif] > [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif] > [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif] > [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif] > [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif] > [/showif] > -------------------------------- > > This works great; however, I NOT only need to generate different prices > based on the subtotal. there are two categories in the store: gift > certificates and photos that don't follow the formula above. > > Gift Certificates need to be free shipping > and Photos only $1.95 > > any help would be greatly appreciated. > > Please........... > > Art > > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Anup Setty

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:

quotes and truncating? (1997) writefile - continued (1997) Clean Code: Rules for inserting keyboard returns? (1997) Bulk Email >>>>Any ideas? (2001) Trouble with carts (2000) $flushcache causes crash (2000) Cart Number sequence (1997) [WebDNA] WebDNA on a cPanel server? Maybe not ... (2019) bye bye tax rate (1998) WebCat for Unix?? (1997) Adding extra coding on the fly? (2005) Set Cookie for Multiple Domain Extensions (2005) Sorting by date (1997) WebCatalog can't find database (1997) WebCat2 beta 11 - new prefs ... (1997) PCS Frames (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Configuring E-mail (1997) [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (2012) Signal Raised (1997)