RE: Subtotal help
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12155
interpreted = N
texte = James ->How do I control the [SubTotal] tag?!>I want to create a discount structure whereby the SubTotal would>caculate on a different field than [price] that is in my catalog.db>file!>Also I can't seem to get webcatalog to lookin the formula.db file for>prices. What gives?What do you have in your formulas.db file for [price]? Is the formulas.db file in the same folder as the template where you are adding orders to your cart?I believe [SubTotal] will always be the price times the quantity for all lineitems, but it's usually possible to do some fancy WebDNA with either your price formula or your shipping cost, or add a new line item with a negative price to the cart when they order, to create a discount based on whatever criteria you wish.In any case, if you can't get [price] to use the formula in formulas.db, send me some more details and/or a URL where I can have a look, and I'll check into it.I hope this helps,Marc EagleStarNine Technologieshttp://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- RE: Subtotal help (Marc Eagle 1997)
|
James ->How do I control the [SubTotal] tag?!>I want to create a discount structure whereby the SubTotal would>caculate on a different field than [price] that is in my catalog.db>file!>Also I can't seem to get webcatalog to lookin the formula.db file for>prices. What gives?What do you have in your
formulas.db file for [price]? Is the
formulas.db file in the same folder as the template where you are adding orders to your cart?I believe [SubTotal] will always be the price times the quantity for all lineitems, but it's usually possible to do some fancy WebDNA with either your price formula or your shipping cost, or add a new line item with a negative price to the cart when they order, to create a discount based on whatever criteria you wish.In any case, if you can't get [price] to use the formula in
formulas.db, send me some more details and/or a URL where I can have a look, and I'll check into it.I hope this helps,Marc EagleStarNine Technologieshttp://www.smithmicro.com/
Marc Eagle
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:
WebCat hosting providers? (1997)
math a various prices (1997)
Founditems context returning only 1 item (1997)
Configuring E-mail (1997)
[WebDNA] Upper ASCII and charset [OT] (2016)
MacWEEK article help needed (1996)
Running _every_ page through WebCat ? (1997)
Off-Topic: Optimal WebSTAR settings for WebDNA plugin v4.5 (2002)
PCS Frames-Default page is solution! (1997)
Enhancement Request for WebCatalog-NT (1996)
SQL speed issues (2001)
Error with [applescript] (1999)
[WebDNA] Updating a WebDNA db using AJAX? (2016)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Balancing randomness (2000)
Trouble with formula.db + more explanation (1997)
Founditems context returning only 1 item (1997)
Cookie set browser session. (1998)
The beginning (1997)
Thanks Grant (1997)