1.1.2.11 (checked in on 2008/01/17 at 15:16:40 by sime)
Functions to communicate with shipping module api functions
Provides integration with Australia Posts Online Postage calculator. Requires the ecommerce suite of modules and shpping.module installed.
this works with drupal 4.7
NOTES;
Upload australiapost.inc file into your modules/ecommerce/shipping/apis folder.
Adjust countries and shipping charges per zone at admin -> store -> settings -> shipping -> international
Make this shipping method available to products by configuring at admin -> settings -> content types
Once enabled for content types (products) a new form will appear when editing products that allows you to include this shipping method.
@todo ensure that the weight is in kilograms @todo ensure that the lenghts is in centimeters
| Name | Description |
|---|---|
| AUSTRALIAPOST_MAX_CMS | |
| AUSTRALIAPOST_MAX_KGS | |
| AUSTRALIAPOST_MIN_GIRTH_CMS | |
| AUSTRALIAPOST_URL |
| Name | Description |
|---|---|
| australiapost_get_rates | shipping_api _get_rates_form hook. |
| australiapost_product_attributes | shipping_api _product_attributes hook. |
| australiapost_settings_form | Shipping _settings_form hook. |
| australiapost_settings_form_submit | shipping_api _settings_form_submit hook. |
| australiapost_shipping_methods | _shipping_methods hook. |
| _australiapost_close_box | Helper function for australiapost_get_rates() |