Re: Adding a donation amount
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31179
interpreted = N
texte = Have a field in your invoice that the user can enter a value then add that value to your [GrandTotal].It does not need to be a product the billable total can be equated as:$[format .2f][math][GrandTotal]+[DonationAmount][/Math][/Format]-- Stuart TremainDigital Imaging DivisionThe Ad-Libitum Group48 Victoria StreetNorth Sydney 2060 AustraliaPhone: +612 9959 5633 Fax: +612 9929 4146email: stuartt@adlib.com.auhttp://www.adlib.com.auOn Wednesday, 21 June 1939, Tim Robinson
wrote:>Hi there,>>I'm doing an online shop for a charity. We will be selling a>bunch of products, but we also need the option of allowing>people to add a donation on top of their purchases. I've been>advised that the donation needs to be treated as a product.>That's fine. But I want the user to be able to enter the>amount, any amount from $1 to whatever! (of course, no donation>at all if they don't want to). A pop-up menu would probably>suffice (I don't want to limit anybody), but a user-entered>amount would be preferable.>>How can I achieve this? All the other prices are fixed and are>accessed from the products database. Do I leave the price>field for donation blank in this database?>>Any help me the methodology would be greatly appreciated.>>Regards,>Tim>>Tim Robinson>Art Director>imagine online>tim@imagine.au.com>http://www.imagine.au.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>>-------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
Have a field in your invoice that the user can enter a value then add that value to your [GrandTotal].It does not need to be a product the billable total can be equated as:$[format .2f][math][GrandTotal]+[DonationAmount][/Math][/Format]-- Stuart TremainDigital Imaging DivisionThe Ad-Libitum Group48 Victoria StreetNorth Sydney 2060 AustraliaPhone: +612 9959 5633 Fax: +612 9929 4146email: stuartt@adlib.com.auhttp://www.adlib.com.auOn Wednesday, 21 June 1939, Tim Robinson wrote:>Hi there,>>I'm doing an online shop for a charity. We will be selling a>bunch of products, but we also need the option of allowing>people to add a donation on top of their purchases. I've been>advised that the donation needs to be treated as a product.>That's fine. But I want the user to be able to enter the>amount, any amount from $1 to whatever! (of course, no donation>at all if they don't want to). A pop-up menu would probably>suffice (I don't want to limit anybody), but a user-entered>amount would be preferable.>>How can I achieve this? All the other prices are fixed and are>accessed from the products database. Do I leave the price>field for donation blank in this database?>>Any help me the methodology would be greatly appreciated.>>Regards,>Tim>>Tim Robinson>Art Director>imagine online>tim@imagine.au.com>http://www.imagine.au.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>>-------------------------------------------------------------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
Stuart Tremain
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] Should I be able to use [setmimeheader =?UTF-8?Q?=20name=3DContent-Type=20=3F?= (2018)
Webcat interfering with Webstar? (1998)
WebCat2b12--[searchstring] bug (1997)
How much is too much? I can never remember the answer. (2002)
Strange errors in error log (1998)
Secure server question (1997)
More than one db with the same namn (was: WC2f3) (1997)
Re:quit command on NT (1997)
shortening the cart (1998)
Sending E-mail (1997)
SQL (2003)
Anyone using Verisign's Payflow Link for payment processing? (2000)
Replace Statement (1997)
'does not contain' operator needed ... (1997)
Auto entering Friday's date in a field (2002)
SKU lookup (1997)
Share cost of training videos! (1998)
WCf2 and nested tags (1997)
Attn: Bug in GeneralStore example b15 (1997)
WebCat2 Append problem (B14Macacgi) (1997)