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:
carrying values forward (1998)
Include a big block of text (1997)
Running _every_ page through WebCat ? (1997)
Associative lookup style? (1997)
Adding multiple items to Cart at one time, & append context problem (1998)
New WebMerchant/Mac beta available (1997)
Migrating to NT -Reply (1997)
[OT] Search Engine Tips (2003)
WebCat2 - Getting to the browser's username/password data (1997)
Error & Problem (1997)
WebCat not interpreting (2000)
Country & Ship-to address & other fields ? (1997)
Search in 2 or more catalogs (1997)
CGI and SSI (2002)
Date search - yes or no (1997)
[isfile] ? (1997)
Conversion Database Blues (2001)
Problems adding stuff to the shopping cart. (1997)
Determining Method (2000)
WebCatalog not running after upgrade (2000)