Re: UPS Shipping
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25673
interpreted = N
texte = I have downloaded this form but it does not seem to include InternationalShipping and does not give a choice of Residential or Commercial orGround and Air I also need to have the weight totalled from my db andcan't find a place to input the results.Tennis>Actually, there's a ups.tpl on the web catalog ftp site. free of charge>*smile* And I've>gotten it to work on my site, so I can help you if you need.>>>>>>
UPS Quick Cost Calculator>>>VLINK=#990000>>[showif [action]=cost] [!]Contact UPS and get their response[/!]>[text]response=[middle>startafter=UPSOnLine&endbefore=][tcpconnect>host=www.ups.com&port=80][tcpsend]GET>/using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes&10_action=3&>14_origCountry=US&15_origPostal=62704&22_destCountry=US&19_destPostal=[shiptozip>]&49_residential=YES&47_rate_chart=Customer+Counter&48_container=00&13_product=G>NDCOM&23_weight=[shiptoweight]&weight_std=lbs.>>HTTP/1.0>[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect][/middle][/text] [!]Get>the response code from the result[/!] [text]response_code=[getchars>start=1&end=1][response][/getchars][/text]>[showif [response_code]=3] [!]If the package was priced, parse the results for>cost[/!] [!]UPS returns a percent delimited string where the 10th item in the>list is the total cost[/!] [!]We put the index of each percent in a text>var named>1,2,3...[/!] [math show=f]count=0[/math] [loop>start=1&end=[countchars][response][/countchars]]>[showif [getchars start=[index]&end=[index]][response][/getchars]=%][math>show=f]count=[count]+1[/math][text][count]=[index][/text][/showif]>[/loop] [!]Get the charged based on the character starting after the 10th>% and>ending before the 11th percent[/!] [text]total_charge=[getchars>start=[math][10]+1[/math]&end=[math][11]-1[/math]][response][/getchars][/text]>[!]display the results or use it in a formula etc.[/!]>
>[/showif]>>[showif [response_code]!3]>[!]Do something here is there was a problem[/!]>Unable to price package.>[/showif]>[/showif]>>
>Please enter a destination zip code and weight to price a package going>via UPS Ground.>
>
>total charge = $[total_charge]
>>>>>>Tennis de Jong wrote:>>> I am in the final stages of setting up an online store. The last step is to>> setup UPS shipping charges based on Zip code and country. I have downloaded>> the information from the UPS site but have no idea how to integrate it into>> WebCatalog.>>>> Is there anyone that would like to share thier .db and .tpl that is already>> setup? I would be willing to purchase a complete setup solution.>>>> Tennis>>>> Visual Marketing Sources>> http://www.visualmarketing.net>>>>>>>------------------------------------------------------------->Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.>To end your Mail problems go to
.>>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>Visual Marketing Sourceshttp://www.visualmarketing.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Associated Messages, from the most recent to the oldest:
I have downloaded this form but it does not seem to include InternationalShipping and does not give a choice of Residential or Commercial orGround and Air I also need to have the weight totalled from my db andcan't find a place to input the results.Tennis>Actually, there's a ups.tpl on the web catalog ftp site. free of charge>*smile* And I've>gotten it to work on my site, so I can help you if you need.>>>>>>UPS Quick Cost Calculator>>>VLINK=#990000>>[showif [action]=cost] [!]Contact UPS and get their response[/!]>[text]response=[middle>startafter=UPSOnLine&endbefore=][tcpconnect>host=www.ups.com&port=80][tcpsend]GET>/using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes&10_action=3&>14_origCountry=US&15_origPostal=62704&22_destCountry=US&19_destPostal=[shiptozip>]&49_residential=YES&47_rate_chart=Customer+Counter&48_container=00&13_product=G>NDCOM&23_weight=[shiptoweight]&weight_std=lbs.>>HTTP/1.0>[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect][/middle][/text] [!]Get>the response code from the result[/!] [text]response_code=[getchars>start=1&end=1][response][/getchars][/text]>[showif [response_code]=3] [!]If the package was priced, parse the results for>cost[/!] [!]UPS returns a percent delimited string where the 10th item in the>list is the total cost[/!] [!]We put the index of each percent in a text>var named>1,2,3...[/!] [math show=f]count=0[/math] [loop>start=1&end=[countchars][response][/countchars]]>[showif [getchars start=[index]&end=[index]][response][/getchars]=%][math>show=f]count=[count]+1[/math][text][count]=[index][/text][/showif]>[/loop] [!]Get the charged based on the character starting after the 10th>% and>ending before the 11th percent[/!] [text]total_charge=[getchars>start=[math][10]+1[/math]&end=[math][11]-1[/math]][response][/getchars][/text]>[!]display the results or use it in a formula etc.[/!]>
>[/showif]>>[showif [response_code]!3]>[!]Do something here is there was a problem[/!]>Unable to price package.>[/showif]>[/showif]>>
>Please enter a destination zip code and weight to price a package going>via UPS Ground.>>
>total charge = $[total_charge]
>>>>>>Tennis de Jong wrote:>>> I am in the final stages of setting up an online store. The last step is to>> setup UPS shipping charges based on Zip code and country. I have downloaded>> the information from the UPS site but have no idea how to integrate it into>> WebCatalog.>>>> Is there anyone that would like to share thier .db and .tpl that is already>> setup? I would be willing to purchase a complete setup solution.>>>> Tennis>>>> Visual Marketing Sources>> http://www.visualmarketing.net>>>>>>>------------------------------------------------------------->Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.>To end your Mail problems go to .>>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>Visual Marketing Sourceshttp://www.visualmarketing.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Tennis de Jong
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:
Mail Integration (1999)
Emailer (1997)
Duplicate Cart Problem in Netscape (2000)
Secured Order Forms (1998)
PCS Emailer's role ? (1997)
Help formatting search results w/ table (1997)
sort problems....bug or brain fart? (1997)
Need some extra eyes (2003)
Search/sort in URL Was: GuestBook example (1997)
OSX Applescripts -- Anyone? please? (2004)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
List Name Change (2002)
TeaRoom (1997)
Searching a database... (2003)
Web Site Hosting (2000)
How do I get Google to crawl a WebCat site? (2003)
New public beta available (1997)
Web Catalog 2 demo (1997)
carriage returns in data (1997)
$Replace with [founditems] (1997)