UnitShipCost Slight Return
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47258
interpreted = N
texte = So, I got the Unit ShipCost formula to work using the equation inFormula.db; except for 1 large problem.The first item into the cart does not get any UnitShipCost assigned but, itworks just fine for subsequent items.Anyone have some isight as to why this is so whackyFormula.dbName Formulaprice [lookup db=IslandPress.db&lookInField=sku&value=[sku]&returnField=price]taxRate [lookup db=TaxRates.db&lookInField=State&value=[ShipTostate]&returnField=taxRate¬Found=0.00]shipCost [lookup db=ShipCosts.db&lookInField=ShipMethod&value=[url][shipVia][/url]&returnField=ShipCost]UnitShipCost [lookupdb=ShipCosts.db&lookInField=ShipMethod&value=[url][shipVia][/url]&returnField=UnitShipCost]ShipCosts.dbShipMethod ShipCost UnitShipCostUPS Ground 6.75 3.00UPS 2 Day Air 20.00 10.00UPS 3 Day Select 12.00 3.00International Air 25.00 10.00International Surface 15.00 15.00Alphonse MacDonaldDirector of New Media & Information TechnologyIsland Press1718 Connecticut Ave. NWWashington DC, 20009Phone: (202) 232-7933 Ext. 44Fax: (202) 232-2741amacdonald@islandpress.orghttp://www.islandpress.orgThis e-mail and any files transmitted with it are confidential andintended solely for the addressee and may not be disclosed to orused by anyone other than the addressee. If you have receivedthis e-mail in error, please advise the sender immediately anddelete the email (and all attachments) from your computer system.Thank you.******************************************************************-------------------------------------------------------------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:
So, I got the Unit ShipCost formula to work using the equation inFormula.db; except for 1 large problem.The first item into the cart does not get any UnitShipCost assigned but, itworks just fine for subsequent items.Anyone have some isight as to why this is so whackyFormula.dbName Formulaprice [lookup db=IslandPress.db&lookInField=sku&value=[sku]&returnField=price]taxRate [lookup db=TaxRates.db&lookInField=State&value=[ShipTostate]&returnField=taxRate¬Found=0.00]shipCost [lookup db=ShipCosts.db&lookInField=ShipMethod&value=[url][shipVia][/url]&returnField=ShipCost]UnitShipCost [lookupdb=ShipCosts.db&lookInField=ShipMethod&value=[url][shipVia][/url]&returnField=UnitShipCost]ShipCosts.dbShipMethod ShipCost UnitShipCostUPS Ground 6.75 3.00UPS 2 Day Air 20.00 10.00UPS 3 Day Select 12.00 3.00International Air 25.00 10.00International Surface 15.00 15.00Alphonse MacDonaldDirector of New Media & Information TechnologyIsland Press1718 Connecticut Ave. NWWashington DC, 20009Phone: (202) 232-7933 Ext. 44Fax: (202) 232-2741amacdonald@islandpress.orghttp://www.islandpress.orgThis e-mail and any files transmitted with it are confidential andintended solely for the addressee and may not be disclosed to orused by anyone other than the addressee. If you have receivedthis e-mail in error, please advise the sender immediately anddelete the email (and all attachments) from your computer system.Thank you.******************************************************************-------------------------------------------------------------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/
Alphonse MacDonald
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:
Review comparison by PC Magazine: Open for On-line Business (1997)
plugin-acgi, different results (1997)
Running 2 two WebCatalog.acgi's (1996)
Applescript error (1998)
setting taxable to true (1997)
Credit Card Number checking (1997)
File Upload (1997)
Cart questions (1997)
Database causes out of memory error (2000)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Separate SSL Server (1997)
search function (2005)
credit card (1997)
wierd [cart] action! (1997)
ThisAutoNumber (2003)
TCPconnect and send (2001)
AAgghh!! Help, please. SSL strikes again. (1997)
Date sorting (2004)
[WebDNA] server admin newbie: what does webdna need owner to be to allow writing? (2010)
Newbie trouble with [url] & [foundItems] (2000)