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 in Formula.db; except for 1 large problem.The first item into the cart does not get any UnitShipCost assigned but, it works just fine for subsequent items.Anyone have some isight as to why this is so whackyFormula.db Name Formula price [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 [lookup db=ShipCosts.db&lookInField=ShipMethod&value=[url][shipVia][/url] &returnField=UnitShipCost] ShipCosts.dbShipMethod ShipCost UnitShipCost UPS Ground 6.75 3.00 UPS 2 Day Air 20.00 10.00 UPS 3 Day Select 12.00 3.00 International Air 25.00 10.00 International Surface 15.00 15.00Alphonse MacDonald Director of New Media & Information Technology Island Press 1718 Connecticut Ave. NW Washington DC, 20009 Phone: (202) 232-7933 Ext. 44 Fax: (202) 232-2741 amacdonald@islandpress.org http://www.islandpress.org This e-mail and any files transmitted with it are confidential and intended solely for the addressee and may not be disclosed to or used by anyone other than the addressee. If you have received this e-mail in error, please advise the sender immediately and delete 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:

    
  1. Re: UnitShipCost Slight Return (Donovan 2003)
  2. UnitShipCost Slight Return (Alphonse MacDonald 2003)
So, I got the Unit ShipCost formula to work using the equation in Formula.db; except for 1 large problem.The first item into the cart does not get any UnitShipCost assigned but, it works just fine for subsequent items.Anyone have some isight as to why this is so whackyFormula.db Name Formula price [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 [lookup db=ShipCosts.db&lookInField=ShipMethod&value=[url][shipVia][/url] &returnField=UnitShipCost] ShipCosts.dbShipMethod ShipCost UnitShipCost UPS Ground 6.75 3.00 UPS 2 Day Air 20.00 10.00 UPS 3 Day Select 12.00 3.00 International Air 25.00 10.00 International Surface 15.00 15.00Alphonse MacDonald Director of New Media & Information Technology Island Press 1718 Connecticut Ave. NW Washington DC, 20009 Phone: (202) 232-7933 Ext. 44 Fax: (202) 232-2741 amacdonald@islandpress.org http://www.islandpress.org This e-mail and any files transmitted with it are confidential and intended solely for the addressee and may not be disclosed to or used by anyone other than the addressee. If you have received this e-mail in error, please advise the sender immediately and delete 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:

emailer settings and control questions (1997) IP address & domain name problem (2003) The word TYPE in search contexts and fields (1998) Error, 101 a DNS problem ? (1997) More on the email templates (1997) All questions are welcome on this list (1997) Re:2nd WebCatalog2 Feature Request (1996) database size? (1997) Searching/sorting dates (1997) Showif, Hideif reverse logic ? (1997) Cancel Subscription (1996) WebCat2 - storing unformatted date data? (1997) different ship dates and shopping carts -- how to? (1997) HELP WITH DATES (1997) Replacefounditems (2003) MATH PROBLEM (1997) [WebDNA] SHA1 Encryption For WebDNA 6.2 (2013) WebCat2 - [format thousands] (1997) off topic - dna snipets (1997) A sendmail warning (2005)