Re: Discounts

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46460
interpreted = N
texte = Donovan,I should have specified that these are per-item sale prices calculated as a percentage of the original price. It sounds like the formulas.db route is in my best interest, true? On 12/20/02 10:51 AM, Donovan wrote:> Depends on what type of discounts. > > You can do grand total discounts pretty easily by adding a grand total > product > to the database with a price of 0. Then you can setlineitem the price > after going through your grand total code. > > You can do tabled discounts (discounts specified in the products.db) per > product within the formulas.db pretty nicely. > > probably between those two methods this will cover most of your discount > needs. > > There will be some catches you will notice... These will be things like > removing > the discounts from the lineitems when going back to shop and reassessing the > tabled discounts everytime the lineitems are edited. (added to, updated and/or > deleted). > > cheers, > Donovan > > Clint Davis wrote: > >> Is the preferred method for applying discounts to use the formulas.db to >> calculate a new price or to override the price in the [AddLineItem] context? --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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: Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= ( Clint Davis 2004)
  2. Re: Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= ( Donovan Brooke 2004)
  3. Re: Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= ( Clint Davis 2004)
  4. Re: Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= ( Donovan Brooke 2004)
  5. Re: Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= ( Clint Davis 2004)
  6. Re: Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= ( Donovan Brooke 2004)
  7. Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= ( Clint Davis 2004)
  8. Re: Discounts ( John Peacock 2004)
  9. Re: Discounts (Donovan 2002)
  10. Re: Discounts (Clint Davis 2002)
  11. Re: Discounts (Donovan 2002)
  12. Re: Discounts (Jay Van Vark 2002)
  13. Discounts (Clint Davis 2002)
  14. Re: Discounts (John Peacock 2001)
  15. Re: Discounts (Rob Marquardt 2001)
  16. Re: Need help with Shipping/Price discounts (PCS Technical Support 1998)
  17. Need help with Shipping/Price discounts (bradeisenberg@iname.com 1998)
  18. Re: Discounts (PCS Technical Support 1998)
  19. Discounts (greg 1998)
  20. Re: Secure Server not remembering discounts (Grant Hulbert 1998)
  21. Secure Server not remembering discounts (Christine Crane 1998)
  22. Re: Tracking inbound links for discounts (Olin 1997)
  23. Tracking inbound links for discounts (Gil Poulsen 1997)
  24. Re: .. more on sliding discounts... (Jeremy Pocock 1997)
  25. Re: .. more on sliding discounts... (Grant Hulbert 1997)
  26. .. more on sliding discounts... (Jeremy Pocock 1997)
  27. Applying discounts as more items are added... (Jeremy Pocock 1997)
Donovan,I should have specified that these are per-item sale prices calculated as a percentage of the original price. It sounds like the formulas.db route is in my best interest, true? On 12/20/02 10:51 AM, Donovan wrote:> Depends on what type of discounts. > > You can do grand total discounts pretty easily by adding a grand total > product > to the database with a price of 0. Then you can setlineitem the price > after going through your grand total code. > > You can do tabled discounts (discounts specified in the products.db) per > product within the formulas.db pretty nicely. > > probably between those two methods this will cover most of your discount > needs. > > There will be some catches you will notice... These will be things like > removing > the discounts from the lineitems when going back to shop and reassessing the > tabled discounts everytime the lineitems are edited. (added to, updated and/or > deleted). > > cheers, > Donovan > > Clint Davis wrote: > >> Is the preferred method for applying discounts to use the formulas.db to >> calculate a new price or to override the price in the [addlineitem] context? --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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/ Clint Davis

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:

Weird Code (2003) [WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2013) [sendmail] bug? (2000) Putting a page between checkout and invoice (1999) [WebDNA] Amazon EC2 and WebDNA (2017) Webcatalog quitting (1997) Error Log.db --however (1997) WebCat2b13MacPlugIn - [include] (1997) hmmm (2006) RequiredFields template (1997) Webmerchant confirmation hooks? (1997) do you have a webcatalog tool you want to sell? (1999) form data submission gets truncated (1997) displaying New products (using [date]) (1997) PCS search results page (1998) Happy Halloween - Check out the pumpkin (2002) File Uploads... (1997) Today's silly question is... (2007) f2 download problems (1997) [WebDNA] Error 500 with SUMM=T (2017)