Re: Disconts
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55284
interpreted = N
texte = Thanks. I thought I had to do it that way, but wanted to double check therewas no built in function.Erol----- Original Message -----From: "Jesse Proudman"
To: "WebDNA Talk" Sent: Thursday, January 08, 2004 10:48 AMSubject: Re: Disconts>> On Jan 8, 2004, at 2:45 AM, Erol Guneri wrote:>> > Hi,> >> > Is there any way that you can discount a cart?> >> > What I am trying to do is list all the items, then have a discount line> > which is then taken away from the subtotal and grandtotal. I want it> > to> > look something like:> >> >> > Product Price> > Product1 £10> > Product2 £10> > Discount (10%) £2> > SubTotal £18> > Tax £0.30> > GrandTotal £18.30>> I've done this by hand... I'm not aware of any built in way to do it.> Basically you set your discount percentage as a math variable, and then> in a math context to generate your grand total you multiply the> subtotal by the discount percentage, add the tax and voila, your grand> total.>> Does that make sense?>> --> Jesse Williams-Proudman> Blue Box Development :: Custom Web Solutions> +1.206.778.8777 :: jesse@blueboxdev.com>> *Happy Holidays*>>> -------------------------------------------------------------> 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:
Thanks. I thought I had to do it that way, but wanted to double check therewas no built in function.Erol----- Original Message -----From: "Jesse Proudman" To: "WebDNA Talk" Sent: Thursday, January 08, 2004 10:48 AMSubject: Re: Disconts>> On Jan 8, 2004, at 2:45 AM, Erol Guneri wrote:>> > Hi,> >> > Is there any way that you can discount a cart?> >> > What I am trying to do is list all the items, then have a discount line> > which is then taken away from the subtotal and grandtotal. I want it> > to> > look something like:> >> >> > Product Price> > Product1 £10> > Product2 £10> > Discount (10%) £2> > SubTotal £18> > Tax £0.30> > GrandTotal £18.30>> I've done this by hand... I'm not aware of any built in way to do it.> Basically you set your discount percentage as a math variable, and then> in a math context to generate your grand total you multiply the> subtotal by the discount percentage, add the tax and voila, your grand> total.>> Does that make sense?>> --> Jesse Williams-Proudman> Blue Box Development :: Custom Web Solutions> +1.206.778.8777 :: jesse@blueboxdev.com>> *Happy Holidays*>>> -------------------------------------------------------------> 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/
"Erol Guneri"
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:
Re:2nd WebCatalog2 Feature Request (1996)
Re:Virtual hosting and webcatNT (1997)
WebCat2final1 crashes (1997)
Sendmail - Pick Mail Server (2004)
Email address checker (2002)
Field name-subcategory (1997)
Server crash (1997)
WebCat2: multiple currency support (1997)
validatin on NT (sorry for the dups and etc) (1998)
one item in several different categories? (2000)
webcat- multiple selection in input field (1997)
[SearchString] usage (1997)
Custom Tags or Modular Code (2001)
[group] ? (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Reversing [ipaddress] normalization (1998)
emailer (1997)
Using Plug-In while running 1.6.1 (1997)
Shopping Cart Directory (2000)
Simple counter - how? (1997)