- 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
City","UT","84115"
- 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
country.
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.
displayrates "combo","Shipping"
- 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.
CleanUpRates
|