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:
Can't load tmpl files (1997)
QuitFeedback & DBNotOpened errors (1997)
WebCatalog for Postcards ? (1997)
Writing [raw] to a file (2000)
[interpret] inside the db field? (1997)
Database changes (1998)
WebCat for Unix?? (1997)
WCS Newbie question (1997)
Loss in form (1998)
MySQL (2003)
[WebDNA] Globals Folder Status (2018)
WebCat2: Items xx to xx shown, etc. (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Problems setting MIME Headers (1998)
Here we go again...WebDNA - SQL- Clustering (2006)
LineItem variable set (2007)
searchable list archive (1997)
Conveting Characters to Graphics (1997)
WebCatalog for Postcards ? (1997)
Weird WebCatalog problems (1998)