| ASP ShipCalc Documentation |
| Sample Usage |
| Sample Script Descriptions: |
|
| Include Requirements: |
|
In order to have access to the various functions and
variables in ASP ShipCalc you must include the main ship calctools with
the following line at the top of your page (and outside of the <% %>
asp script tags: <!--#include file="shipcalctools.asp"--> This file also requires that countrymap.asp be in the same directory with shipcalctools.asp. This file maps standard country codes which ASP ShipCalc accepts to the specific country names / codes which the individual shipping companies require. To access the countrylist function you must include: <!--#include file="countrycombo.asp"--> Since this function is typically used on its own in an input form it is in a separate file. |
| Returning results in a combobox (after a shipcalc): |
| displayrates "combo","Shipping" |
| Returning results in list (after a shipcalc): |
|
for ship = 1 to ratecount Response.write(rates(ship).Item("Shipper"))&"<BR>" Response.write(rates(ship).Item("Service"))&"<BR>" Response.write(rates(ship).Item("Postage"))&"<BR>" Response.write(rates(ship).Item("Time"))&"<BR><BR>" next |
| Returning results with radio buttons (after a shipcalc): |
| displayrates "radio","Shipping" |
| Component Generated Country list with value set to valid country code: |
| countrylist "destcountry","US" |
| © Corporate Web Solutions 2000,2001. |