- ShipCalc - Performs the real-time calculation and
returns a collection of valid shipping types from any combination of
selected processors. This function takes 6 parameters including
shipping companies, weight, destcountry, destcity, deststate/prov, and
destzip/postal. The shipping companies can be set UPS or USPS.
shipcalc "UPS,USPS","10","US","Salt Lake
- CountryList - This function returns a combo box of countries with
values set to their valid country code. The first parameter
controls the name of the generated combobox, the second parameter
takes a two digit country code which determines the default selected
CountryList "DestCountry", "US"
- DisplayRates - In addition to manually accessing
the rates using the rates collection, ASP ShipCalc provides the
displayrates function. This automatically generates a combobox
or radio button display of the rates information. The first
parameter takes the display type (combo or radio) and the second
parameter sets the name of the generated form field.
- CleanUpRates - This function clears any objects
used in the rates collection and takes no parameters. It should
be called on the same page that ShipCalc is called after you are done
with the rates collection.