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 Eagle StarNine Technologies http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. 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 Eagle StarNine Technologies http://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:

[WebDNA] multi [sendmail] inside [search] (2012) WebCatalog2 Feature Feedback (1996) RE: Questions To Answer (1997) RE: Formulas.db + Users.db (1997) Sorting by date (1997) using webdna to determine pixel parameters (2000) Two submit buttons ? (1997) [SHOWIF]s and empty arguments (1997) controlling user input (1998) OLD PROBLEM (1997) 2.0Beta Command Ref (can't find this instruction) (1997) WebCat2 several catalogs? (1997) Text Areas, Sendmail and returns.... (2002) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Separate SSL Server (1997) (1997) WebTen? (1997) PCS Frames (1997) Robert Minor duplicate mail (1997) Quick Question (1997)