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 apercentage of the original price. It sounds like the formulas.db route is inmy 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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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:
Donovan,I should have specified that these are per-item sale prices calculated as apercentage of the original price. It sounds like the formulas.db route is inmy 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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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)