Re: and more [shipcost]....

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39005
interpreted = N
texte = I did exactly that and they do work for gift certificates. I am trying to figure out a way to do something similar for the photosthe code I used: [math][subtotal]-[math][lineitems][showif [category]=gift certificates][math][quantity]*[price][/math][/showif]+[/lineitems]0[/math][/ math]Art ----- Original Message ----- From: Anup Setty To: WebCatalog Talk Sent: Tuesday, October 02, 2001 12:28 PM Subject: Re: and more [shipcost].... How is the shipping charged for Photos? $ 1.95/Photo ?for gift certificates, you can probably subtract the amount from subtotal, call it subtotalX> [showif [subTotalX]<10.01]4.95[/showif]If this works for the gift certificates then we have to figure out a way to do the photos.Anup Setty ----- Original Message ----- From: Arturo Vargas To: WebCatalog Talk Sent: Tuesday, October 02, 2001 3:22 PM Subject: Re: and more [shipcost].... > that is the first thin I tried, but I still need to charge shipping for > people that are buying photos and other products > > Art > ----- Original Message ----- > From: Anup Setty > To: WebCatalog Talk > Sent: Tuesday, October 02, 2001 12:00 PM > Subject: Re: and more [shipcost].... > > > 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... > > HTH > > Anup 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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)
I did exactly that and they do work for gift certificates. I am trying to figure out a way to do something similar for the photosthe code I used: [math][subtotal]-[math][lineitems][showif [category]=gift certificates][math][quantity]*[price][/math][/showif]+[/lineitems]0[/math][/ math]Art ----- Original Message ----- From: Anup Setty To: WebCatalog Talk Sent: Tuesday, October 02, 2001 12:28 PM Subject: Re: and more [shipcost].... How is the shipping charged for Photos? $ 1.95/Photo ?for gift certificates, you can probably subtract the amount from subtotal, call it subtotalX> [showif [subTotalX]<10.01]4.95[/showif]If this works for the gift certificates then we have to figure out a way to do the photos.Anup Setty ----- Original Message ----- From: Arturo Vargas To: WebCatalog Talk Sent: Tuesday, October 02, 2001 3:22 PM Subject: Re: and more [shipcost].... > that is the first thin I tried, but I still need to charge shipping for > people that are buying photos and other products > > Art > ----- Original Message ----- > From: Anup Setty > To: WebCatalog Talk > Sent: Tuesday, October 02, 2001 12:00 PM > Subject: Re: and more [shipcost].... > > > 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... > > HTH > > Anup 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Arturo Vargas

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:

setting taxable to true (1997) test (2003) Payments -> Bank Accounts (2005) searchable list archive (1997) Count Characters (2005) Mac Lockup Problems (1998) Webcatalog error, Plug-in for Webstar (1996) New commands in Final candidate (1997) Standardize Address :: USPS (2005) NT - Thanks and Taxes (1997) Re:PCS Customer submissions ? (1997) Need relative path explanation (1997) The Guru Speaks-very long reply (1998) re: keep W* in front applescript? (try Cron) (1998) SiteEdit NewFile.html ? (1997) ExclusiveLock (2000) Upgrading old WebCat Database Files (1997) Help with sorting search results sorting (1998) PIXO with cometsite ... and/or other plugins (1998) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)