Re: [shippingtotal] still...
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45758
interpreted = N
texte = John Peacock wrote:>> Use a [lineitems] loop and [setlineitem] (with a password) to alter the> individual lines. Use a [setheader] to alter the header ShipCost field itself.I think you mean shippingTotal ;-)>> Since you have such a simple shipping scheme, I would just use the header and> set all of the line items unitshipcost to 0. Just have a loop at the top of the> cart page which loops through the line items and updates theshippingTotal> header> field accordingly.>> HTH>> JohnJohn, I have you to thank for overcoming most of my formulas.db woe's over theyears.However, I'm not sure that the Formulas.db's [shipcost] field is only enactedwhen an addlineitem is made. I think this because I have a fairly simple tabledShipCostcalculation that is based off of of subtotal. And I can remove items etc and it isalways calculated correctly.Based off of this theory I would think that ShipCost in the formulas.db *could* beused.If it is Will's unitshipcost per items that are getting in the way then he couldsimply useyour suggestion and loop through the lineitems at the top of a page (if thelineitems aregreater than 1) to setlineitem unitshipcost to 0 for all items.P.S. someday, we hope to make the formulas.db non-magical. ;-)Donovan>>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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:
John Peacock wrote:>> Use a [lineitems] loop and [setlineitem] (with a password) to alter the> individual lines. Use a [setheader] to alter the header ShipCost field itself.I think you mean shippingTotal ;-)>> Since you have such a simple shipping scheme, I would just use the header and> set all of the line items unitshipcost to 0. Just have a loop at the top of the> cart page which loops through the line items and updates theshippingTotal> header> field accordingly.>> HTH>> JohnJohn, I have you to thank for overcoming most of my formulas.db woe's over theyears.However, I'm not sure that the formulas.db's [shipcost] field is only enactedwhen an addlineitem is made. I think this because I have a fairly simple tabledShipCostcalculation that is based off of of subtotal. And I can remove items etc and it isalways calculated correctly.Based off of this theory I would think that ShipCost in the formulas.db *could* beused.If it is Will's unitshipcost per items that are getting in the way then he couldsimply useyour suggestion and loop through the lineitems at the top of a page (if thelineitems aregreater than 1) to setlineitem unitshipcost to 0 for all items.P.S. someday, we hope to make the formulas.db non-magical. ;-)Donovan>>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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/
Donovan
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:
RE: [BULK] [WebDNA] Can WebDNA corrupt a db? (2012)
Feedback on new features (2000)
Question about links (1999)
Re:no template caching (1997)
Slightly OT: [sendmail] help (2003)
Re:WebCatalog/WebMerchant III (1998)
Processing all html files through WebCat or Typhoon (1998)
Help formatting search results w/ table (1997)
Multiple security dbs (1997)
Whats wrong with this code? (1998)
Re:Signal Raised (1997)
spawn (1998)
Running on Empty (1999)
FREE Web Server Monitor FREE (1997)
problems with 2 tags shakur (1997)
Is [thisurl] http or https? (1998)
WebCat2 - [format thousands] (1997)
using showpage and showcart commands (1996)
SSL and Webcat (2000)
Progress !! WAS: Trouble with formula.db (1997)