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 PMSubject: Re: Adding insurance to an order, round 2> If you're saying that insurance is available on individual items asopposed> 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 clearerfor> your customer if, after adding an item to the cart, that they seesomething> 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:
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 PMSubject: Re: Adding insurance to an order, round 2> If you're saying that insurance is available on individual items asopposed> 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 clearerfor> your customer if, after adding an item to the cart, that they seesomething> 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:
[WebDNA] Two different mail servers? (2011)
Million product store (2003)
WC2b15 File Corruption (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
WebCatalog for guestbook ? (1997)
AOL and referrers on target=_blank (2000)
Fedex integration (2004)
WebCat editing, SiteGuard & SiteEdit (1997)
Integration with SQL (1997)
[WebDNA] i wish we could require one *amongst of a collection* of search comparisons/params (2011)
RE: Force a number with JavaScript (1998)
Waitfor file (2000)
Help! WebCat2 bug (1997)
[WebDNA] Apache configuration fail when... (2013)
[Sum] function? (1997)
[replace] has protection feature like [delete]? (2000)
price search (1998)
More help for discount pricing (1998)
Using [Include] Context (1999)
[browsername] not working? (1997)