Re: Adding insurance to an order, round 2

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50583
interpreted = N
texte = No, it's shipping insurance on the entire order, not individual items.Thus the problem...-W ----- Original Message ----- From: Tim Robinson To: WebDNA Talk Sent: Wednesday, May 21, 2003 6:38 PM Subject: Re: Adding insurance to an order, round 2 > If you're saying that insurance is available on individual items as opposed > to the whole order, it would make sense to me to add it as a lineitem. It > would take a bit of fiddling, but I think that it would be much clearer for > your customer if, after adding an item to the cart, that they see something > like: > > Item Category Qty Unit Price > ================================================ > Product A Cat Name 1 $100 $100 > - insurance for Product A $5 > Product B Cat Name 1 $100 $100 > Product C Cat Name 1 $50 $50 > - insurance for Product C $5 > Product D Cat Name 1 $60 $60 > > > Regards, > Tim > -- > Tim Robinson > IDFK Web Developments > tim@idfk.com.au > 114a/40 Yeo Street > Neutral Bay 2089 > Australia > Phone +612 9908 2134 > Fax +612 9908 4837 > > > > > From: WJ Starck > > Reply-To: (WebDNA Talk) > > Date: Wed, 21 May 2003 17:45:27 > > To: (WebDNA Talk) > > Subject: Adding insurance to an order, round 2 > > > > I have a form that has a checkbox named insurance the value of which > > is T if it's checked. This is so customers can elect to insure a > > package (or not). > > > > The checkbox is submitted to another page that has the following code: > > > > [setheader cart=[GetCookie SessionID]header40=[insurance][/setheader] > > and below that an orderfile that displays the cart info. > > > > Formulas.db has a [showif] that calculates an insurance amount if the > > checkbox has been selected like so: > > > > Shipcost [showif [header40]=T]some code to add insurance to > > shipcost[/showif] > > > > (It was suggested by Jay yesterday to use shipcost to add insurance to > > an order as a whole, not as a lineitem.) > > > > Problem is, it seems like once items are added to the cart, the > > Shipcost formula from Formulas.db has been applied and cannot be > > changed - unless I remove all the items, remember what they were, check > > to see if the insurance checkbox was checked, and then readd them, so > > that the formula will be reapplied. > > > > Is there another way to do this I'm missing? > > > > Thanks, > > > > > > -- > > > > Will Starck > > NovaDerm Skincare Science > > http://www.novaderm.com > > wjs@novaderm.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/ ------------------------------------------------------------- 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: Adding insurance to an order, round 2 (WJ Starck 2003)
  2. Re: Adding insurance to an order, round 2 (WJ Starck 2003)
  3. Re: Adding insurance to an order, round 2 (dbrooke 2003)
  4. Re: Adding insurance to an order, round 2 (Tim Robinson 2003)
  5. Re: Adding insurance to an order, round 2 (WJ Starck 2003)
  6. Re: Adding insurance to an order, round 2 (Tim Robinson 2003)
  7. Re: Adding insurance to an order, round 2 (WJ Starck 2003)
  8. Adding insurance to an order, round 2 (WJ Starck 2003)
No, it's shipping insurance on the entire order, not individual items.Thus the problem...-W ----- Original Message ----- From: Tim Robinson To: WebDNA Talk Sent: Wednesday, May 21, 2003 6:38 PM Subject: Re: Adding insurance to an order, round 2 > If you're saying that insurance is available on individual items as opposed > to the whole order, it would make sense to me to add it as a lineitem. It > would take a bit of fiddling, but I think that it would be much clearer for > your customer if, after adding an item to the cart, that they see something > like: > > Item Category Qty Unit Price > ================================================ > Product A Cat Name 1 $100 $100 > - insurance for Product A $5 > Product B Cat Name 1 $100 $100 > Product C Cat Name 1 $50 $50 > - insurance for Product C $5 > Product D Cat Name 1 $60 $60 > > > Regards, > Tim > -- > Tim Robinson > IDFK Web Developments > tim@idfk.com.au > 114a/40 Yeo Street > Neutral Bay 2089 > Australia > Phone +612 9908 2134 > Fax +612 9908 4837 > > > > > From: WJ Starck > > Reply-To: (WebDNA Talk) > > Date: Wed, 21 May 2003 17:45:27 > > To: (WebDNA Talk) > > Subject: Adding insurance to an order, round 2 > > > > I have a form that has a checkbox named insurance the value of which > > is T if it's checked. This is so customers can elect to insure a > > package (or not). > > > > The checkbox is submitted to another page that has the following code: > > > > [setheader cart=[GetCookie SessionID]header40=[insurance][/setheader] > > and below that an orderfile that displays the cart info. > > > > formulas.db has a [showif] that calculates an insurance amount if the > > checkbox has been selected like so: > > > > Shipcost [showif [header40]=T]some code to add insurance to > > shipcost[/showif] > > > > (It was suggested by Jay yesterday to use shipcost to add insurance to > > an order as a whole, not as a lineitem.) > > > > Problem is, it seems like once items are added to the cart, the > > Shipcost formula from formulas.db has been applied and cannot be > > changed - unless I remove all the items, remember what they were, check > > to see if the insurance checkbox was checked, and then readd them, so > > that the formula will be reapplied. > > > > Is there another way to do this I'm missing? > > > > Thanks, > > > > > > -- > > > > Will Starck > > NovaDerm Skincare Science > > http://www.novaderm.com > > wjs@novaderm.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/ ------------------------------------------------------------- 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/ WJ Starck

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:

Signal Raised (1997) Special characters & [sendmail] (1998) summ=T (2003) Extended [ConvertChars] (1997) WebCat virtual postcard is done! Thanks for the help! (1998) Error & Problem (1997) range vs greater than/less than (2003) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Am I going senile? (Price recalc based on quantity) (1997) Searching an Email database (1997) [carts] and databases (1997) Variables (1999) Checking two required fields (1998) sendmail and foreign charset (2002) Discount solution? (1998) WC2b15 File Corruption (1997) frames & carts (1997) no global [username] or [password] displayed ... (1997) brain teaser with an advanced search (2001) my price won't move (1997)