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:
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:
FEA REQ: One .hdr, multiple .db's (2003)
Is there an alternative to emailer? (1999)
Re:Virtual hosting and webcatNT (1997)
This list needs a digest: rant, rave... (1997)
Pithy questions on webcommerce & siteedit (1997)
GMT question (2004)
OFF Topic - Web-Stat App (2003)
wc 2 pro users - sites, quotes wanted (1997)
View order not right (1997)
Custom WebCat Prefs ... (1997)
RE: [WebDNA] Electronic Delivery (download) (2008)
Running _every_ page through WebCat ? (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Use of Back and Reload Buttons on ShoppingCart page? (1997)
NEW INFO: I'm stuck: Can't open order file. Ignoring [OrderFile] context (2000)
greater than or equal to (1997)
Protect (1997)
[WebDNA] Apply discount using a line item (2011)
[Feature Request] or [bug?]: SiteBuilder - searchable (2005)
Force a search at the default.tmpl page? (1997)