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:
[WebDNA] Ping....testing....1..2..3.. (2009)
products db philosophy (2001)
Re:2nd WebCatalog2 Feature Request (1996)
What changes does $purchase make? (1998)
Fun with Dates - revisited (1997)
Date comparison has serious bug ... (1998)
international time (1997)
Fwd: 502 Bad Gateway (1998)
Interfacing WebMerchant to www.fedex.com (1997)
Now you see it now you donīt (1997)
The List is Changing (1997)
upload pictures any solution (1999)
Server slowing down. (1997)
tcp connect includes (1999)
[carts] and databases (1997)
[unitshipcost] values do NOT write to orderfile (1998)
docs for WebCatalog2 (1997)
[WebDNA] Convert Math Date in Excel (2010)
Not really WebCat (1997)
searchable list archive (1997)