Re: Adding up weights
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17229
interpreted = N
texte = UPS offers them free from their website -- you just have to do the leg workto get the right ones -- basically where are you shipping from and whatthat lookup means...>I am told by a friend of mine that for Microsoft Commerce solutions there>exist companies that (among other things) sell electronic shipment tables>(with current pricing) for most of the major carriers, broken down by weight>and zone (one presumes they have zip code to zone lookup tables too). I am>attempting to find out who does this, and if they offer them in tab>deliminated formats.>>So, how about that built in UnitShipWeight ?>> Brian B. Burton> BOFH>---------------------------------------------------------------> MMT Solutions - Specializing in Online Shopping Solutions> 973-808-8644 http://www.safecommerce.com>>>---------->>From: PCS Technical Support
>>To: WebDNA-Talk@smithmicro.com>>Subject: Re: Adding up weights>>Date: Thu, Apr 23, 1998, 1:39 PM>>>>>>Each of my products has a fixed weight but the shipping cost is based on>>>total order weight, I want to add the weights (multiplied by the quantity)>>>together on my invoice page so that I have a total weight to work out the>>>shipping cost>>>>The simplest approach is to set the unitShipCost field in your product>>database to be whatever the dollar cost is to ship that item. You would>>pre-calculate the cost to ship 1 item based on its weight, and put that>>cost into the database. Once you do that, there are no special formulas>>needed, because WebCatalog automatically does the quantity and total>>calculations.>>>>Or, if you really want a formula, the following should work:>>>>[math][lineitems][quantity]*[weight]+[/lineitems]0[/math]>>>>This generates a math equation like 1*2.5 + 3*1.1 + 15*2.2 + 0, if you have>>quantities 1,3,15 and weights 2.5, 1.1, 2.2>>>>Technical Support | ==== eCommerce and Beyond ====>>Pacific Coast Software | WebCatalog, WebMerchant,>>11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,>>San Diego, CA 92128 | Typhoon>>619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>>>>>>Jay Van Vark *******************************Pacific Coast Software | eCommerce (WebCatalog)11770 Bernardo Plaza Court | Site Hosting & DevelopmentSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 *******************************619.675.1106** PGP key available upon request. **
Associated Messages, from the most recent to the oldest:
UPS offers them free from their website -- you just have to do the leg workto get the right ones -- basically where are you shipping from and whatthat lookup means...>I am told by a friend of mine that for Microsoft Commerce solutions there>exist companies that (among other things) sell electronic shipment tables>(with current pricing) for most of the major carriers, broken down by weight>and zone (one presumes they have zip code to zone lookup tables too). I am>attempting to find out who does this, and if they offer them in tab>deliminated formats.>>So, how about that built in UnitShipWeight ?>> Brian B. Burton> BOFH>---------------------------------------------------------------> MMT Solutions - Specializing in Online Shopping Solutions> 973-808-8644 http://www.safecommerce.com>>>---------->>From: PCS Technical Support >>To: WebDNA-Talk@smithmicro.com>>Subject: Re: Adding up weights>>Date: Thu, Apr 23, 1998, 1:39 PM>>>>>>Each of my products has a fixed weight but the shipping cost is based on>>>total order weight, I want to add the weights (multiplied by the quantity)>>>together on my invoice page so that I have a total weight to work out the>>>shipping cost>>>>The simplest approach is to set the unitShipCost field in your product>>database to be whatever the dollar cost is to ship that item. You would>>pre-calculate the cost to ship 1 item based on its weight, and put that>>cost into the database. Once you do that, there are no special formulas>>needed, because WebCatalog automatically does the quantity and total>>calculations.>>>>Or, if you really want a formula, the following should work:>>>>[math][lineitems][quantity]*[weight]+[/lineitems]0[/math]>>>>This generates a math equation like 1*2.5 + 3*1.1 + 15*2.2 + 0, if you have>>quantities 1,3,15 and weights 2.5, 1.1, 2.2>>>>Technical Support | ==== eCommerce and Beyond ====>>Pacific Coast Software | WebCatalog, WebMerchant,>>11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,>>San Diego, CA 92128 | Typhoon>>619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>>>>>>Jay Van Vark *******************************Pacific Coast Software | eCommerce (WebCatalog)11770 Bernardo Plaza Court | Site Hosting & DevelopmentSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 *******************************619.675.1106** PGP key available upon request. **
Jay Van Vark
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] Retrieving a PDF from an email (2008)
OT-JS why it does not run on Mac (2001)
Newbie Question about seeting price to 0 (1998)
Creating a back button (1999)
$Append for Users outside the ADMIN group (1997)
RE: [WebDNA] What does PHP(5) has, that Webdna hasn't (2009)
Mozilla/4. and Browser Info.txt (1997)
[WebDNA] Cheers (2008)
form data submission gets truncated (1997)
Reserved Words (2003)
Instructions for Digest (1997)
Purchase Plugin Missing (1996)
6.0 upgrade issue? (2005)
[Announce] Newest Commerce Site based on WebCatalog (1997)
WC1.6 to WC2 date formatting -FIXED! (1997)
WC2b12: Yes, Formulas.db is for real (1997)
WebCat2 - [format thousands] (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
[WebDNA] Retrieving a PDF from an email (2008)
[WebDNA] StandardConversions.db (2016)