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:
A little syntax help (1997)
Practice runs ? (1997)
WebStar Secure on other machine (1997)
[WriteFile] problems (1997)
WebCatalog f2 Installation (1997)
checksum for Discover credit cards (1999)
Looking up two prices in database? (1997)
So many lookers, hey smith micro (2003)
Displaying text and populating form fields (2005)
question: webmerchant connection (1997)
[searchString] (1997)
Re(2):Foreign Chars ( éàöäand so on) (1998)
[WebDNA] Is a '.webdna' suffix better? (2008)
Using EIMS instead of Emailer (1998)
PIXO Support (1997)
Anyone running WebMerchant 4.0? (2000)
Bug or syntax error on my part? (1997)
Sort Order on a page search (1997)
Announce: Bug fix talk list (1999)
WebCatalog 2.0.1 NT beta 1 released (1997)